[Solved]: WiFi keeps dropping out

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
hesham

[Solved]: WiFi keeps dropping out

Post by hesham »

Hello everybody,
i am running Linux Mint 17.3 KDE 64-bit and i am having the most annoying trouble with WiFi connection.
My WiFi keeps dropping out although it still connected, but stops sending and receiving data. The only thing i could do is to disconnect from the WiFi and reconnect again, but it happens again. Does anyone understand the problem and how to fix it?

inxi -Fxz

Code: Select all

System:    Host: hesham-Lenovo-G50-80 Kernel: 3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2)
           Desktop: KDE Plasma 4.14.2 (Qt 4.8.6) Distro: Linux Mint 17.3 Rosa
Machine:   System: LENOVO product: 80E5 v: Lenovo G50-80
           Mobo: LENOVO model: Lenovo G50-80 v: NO DPK Bios: LENOVO v: B0CN95WW date: 08/03/2015
CPU:       Dual core Intel Core i5-5200U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 8778
           clock speeds: max: 2700 MHz 1: 2465 MHz 2: 2204 MHz 3: 2200 MHz 4: 2200 MHz
Graphics:  Card-1: Intel Broadwell-U Integrated Graphics bus-ID: 00:02.0
           Card-2: Advanced Micro Devices [AMD/ATI] Sun LE [Radeon HD 8550M / R5 M230] bus-ID: 04:00.0
           Display Server: X.Org 1.17.1 drivers: fglrx (unloaded: intel) Resolution: 1366x768@60.0hz
           GLX Renderer: AMD Radeon HD 8500M GLX Version: 4.5.13399 - CPC 15.201.1151 Direct Rendering: Yes
Audio:     Card-1 Intel Wildcat Point-LP High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Broadwell-U Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k3.19.0-32-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 4000 bus-ID: 02:00.0
           IF: eth0 state: down mac: <filter>
           Card-2: Intel Wireless 3160 driver: iwlwifi v: in-tree: bus-ID: 03:00.0
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 1000.2GB (85.5% used) ID-1: /dev/sda model: WDC_WD10JPCX size: 1000.2GB
Partition: ID-1: / size: 27G used: 6.7G (27%) fs: ext4 dev: /dev/sda7
           ID-2: /home size: 94G used: 1.7G (2%) fs: ext4 dev: /dev/sda5
           ID-3: swap-1 size: 9.21GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 45.0C mobo: N/A gpu: 38.00C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 239 Uptime: 17 min Memory: 2332.7/5887.9MB Init: Upstart runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.111) inxi: 2.2.28 
Last edited by hesham on Thu Mar 17, 2016 4:11 pm, edited 1 time in total.
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi keeps dropping out

Post by JeremyB »

It might be power management related, post

Code: Select all

iwconfig
hesham

Re: WiFi keeps dropping out

Post by hesham »

JeremyB wrote:It might be power management related, post

Code: Select all

iwconfig
Hello JeremyB, thanks for replying.

[UPDATE]

iwconfig

Code: Select all

eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"SaWaF"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: E8:CC:18:49:BA:9F   
          Bit Rate=13 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=32/70  Signal level=-78 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:3  Invalid misc:235   Missed beacon:0

lo        no wireless extensions.

JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi keeps dropping out

Post by JeremyB »

Code: Select all

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info
Paste the contents of the wireless-info.txt file
hesham

Re: WiFi keeps dropping out

Post by hesham »

JeremyB wrote:

Code: Select all

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info
Paste the contents of the wireless-info.txt file

Code: Select all

########## wireless info START ##########

Report from: 16 Mar 2016 15:01 EET +0200

Booted last: 16 Mar 2016 14:11 EET +0200

Script from: 27 Sep 2015 00:34 UTC +0000

##### release ###########################

Distributor ID:	LinuxMint
Description:	Linux Mint 17.3 Rosa
Release:	17.3
Codename:	rosa

##### kernel ############################

Linux 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

KDE Plasma Workspace

##### lspci #############################

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
	Subsystem: Lenovo Device [17aa:3821]
	Kernel driver in use: r8169

03:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b4] (rev 93)
	Subsystem: Intel Corporation Dual Band Wireless AC 3160 [8086:8270]
	Kernel driver in use: iwlwifi

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:07dc Intel Corp. 
Bus 001 Device 003: ID 5986:055d Acer, Inc 
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

##### lsmod #############################

iwlmvm                278528  0 
mac80211              708608  1 iwlmvm
ideapad_laptop         20480  0 
sparse_keymap          16384  1 ideapad_laptop
iwlwifi               188416  1 iwlmvm
cfg80211              524288  3 iwlwifi,mac80211,iwlmvm

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

eth0      Link encap:Ethernet  HWaddr <MAC 'eth0' [IF]>  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr <MAC 'wlan0' [IF]>  
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::<IP6 'wlan0' [IF]>/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20250 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20884 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:13272962 (13.2 MB)  TX bytes:4045679 (4.0 MB)

##### iwconfig ##########################

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"SaWaF"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: <MAC 'SaWaF' [AN1]>   
          Bit Rate=13 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=29/70  Signal level=-81 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:30   Missed beacon:0

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0

##### resolv.conf #######################

nameserver 127.0.1.1
search domain.name

##### network managers ##################

Installed:

	NetworkManager

Running:

root       832     1  0 14:11 ?        00:00:00 NetworkManager

##### NetworkManager info ###############

NetworkManager Tool

State: connected (global)

- Device: wlan0  [SaWaF] -------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            iwlwifi
  State:             connected
  Default:           yes
  HW Address:        <MAC 'wlan0' [IF]>

  Capabilities:
    Speed:           12 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    *SaWaF:          Infra, <MAC 'SaWaF' [AN1]>, Freq 2442 MHz, Rate 54 Mb/s, Strength 40 WPA2

  IPv4 Settings:
    Address:         192.168.1.5
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.1

    DNS:             163.121.128.134
    DNS:             163.121.128.135

- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        <MAC 'eth0' [IF]>

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=false
WimaxEnabled=true
WiMAXEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/New 802-11-wireless connection-e45d2db7-39d3-41f2-9e77-fc0acba136ac]] (600 root)
[connection] id=#CSED19 | type=802-11-wireless | permissions=user:hesham:;
[802-11-wireless] ssid=#CSED19 | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/default]] (600 root)
[connection] id=default | type=802-11-wireless | permissions=user:hesham:;
[802-11-wireless] ssid=default | bssid=<MAC address> | mac-address=<MAC 'wlan0' [IF]>
[ipv6] method=auto
[ipv4] method=auto

[[/etc/NetworkManager/system-connections/New 802-11-wireless connection]] (600 root)
[connection] id=CSED19# | type=802-11-wireless | permissions=user:hesham:;
[802-11-wireless] ssid=CSED19#
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/TP-LINK]] (600 root)
[connection] id=TP-LINK | type=802-11-wireless | permissions=user:hesham:;
[802-11-wireless] ssid=TP-LINK | mac-address=<MAC 'wlan0' [IF]>
[ipv6] method=auto
[ipv4] method=auto

[[/etc/NetworkManager/system-connections/SaWaF]] (600 root)
[connection] id=SaWaF | type=802-11-wireless | permissions=user:hesham:;
[802-11-wireless] ssid=SaWaF | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto

##### iw reg get ########################

Region: Africa/Cairo (based on set time zone)

country 00:
	(2402 - 2472 @ 40), (3, 20)
	(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
	(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
	(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
	(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

##### iwlist channels ###################

eth0      no frequency information.

lo        no frequency information.

wlan0     32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Current Frequency:2.442 GHz (Channel 7)

##### iwlist scan #######################

eth0      Interface doesn't support scanning.

wlan0     Interface doesn't support scanning : Device or resource busy

lo        Interface doesn't support scanning.

##### module infos ######################

[iwlmvm]
filename:       /lib/modules/3.19.0-32-generic/kernel/drivers/net/wireless/iwlwifi/mvm/iwlmvm.ko
license:        GPL
author:         Copyright(c) 2003- 2014 Intel Corporation <ilw@linux.intel.com>
version:        in-tree:
description:    The new Intel(R) wireless AGN driver for Linux
srcversion:     107FF3619C29D6912CFC75C
depends:        iwlwifi,mac80211,cfg80211
intree:         Y
vermagic:       3.19.0-32-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        0C:8B:EF:E0:C1:E2:89:E4:D8:99:09:26:11:7A:DA:3B:DF:EB:41:9C
sig_hashalgo:   sha512
parm:           init_dbg:set to true to debug an ASSERT in INIT fw (default: false (bool)
parm:           power_scheme:power management scheme: 1-active, 2-balanced, 3-low power, default: 2 (int)

[mac80211]
filename:       /lib/modules/3.19.0-32-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:     6AE775D26377F997426A49D
depends:        cfg80211
intree:         Y
vermagic:       3.19.0-32-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        0C:8B:EF:E0:C1:E2:89:E4:D8:99:09:26:11:7A:DA:3B:DF:EB:41:9C
sig_hashalgo:   sha512
parm:           minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[iwlwifi]
filename:       /lib/modules/3.19.0-32-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
license:        GPL
author:         Copyright(c) 2003- 2014 Intel Corporation <ilw@linux.intel.com>
version:        in-tree:
description:    Intel(R) Wireless WiFi driver for Linux
firmware:       iwlwifi-100-5.ucode
firmware:       iwlwifi-1000-5.ucode
firmware:       iwlwifi-135-6.ucode
firmware:       iwlwifi-105-6.ucode
firmware:       iwlwifi-2030-6.ucode
firmware:       iwlwifi-2000-6.ucode
firmware:       iwlwifi-5150-2.ucode
firmware:       iwlwifi-5000-5.ucode
firmware:       iwlwifi-6000g2b-6.ucode
firmware:       iwlwifi-6000g2a-5.ucode
firmware:       iwlwifi-6050-5.ucode
firmware:       iwlwifi-6000-4.ucode
firmware:       iwlwifi-7265D-10.ucode
firmware:       iwlwifi-7265-10.ucode
firmware:       iwlwifi-3165-10.ucode
firmware:       iwlwifi-3160-10.ucode
firmware:       iwlwifi-7260-10.ucode
firmware:       iwlwifi-8000-10.ucode
srcversion:     19A5C735A79087003D53D6A
depends:        cfg80211
intree:         Y
vermagic:       3.19.0-32-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        0C:8B:EF:E0:C1:E2:89:E4:D8:99:09:26:11:7A:DA:3B:DF:EB:41:9C
sig_hashalgo:   sha512
parm:           swcrypto:using crypto in software (default 0 [hardware]) (int)
parm:           11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm:           amsdu_size_8K:enable 8K amsdu size (default 0) (int)
parm:           fw_restart:restart firmware in case of error (default true) (bool)
parm:           antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int)
parm:           wd_disable:Disable stuck queue watchdog timer 0=system default, 1=disable (default: 1) (int)
parm:           nvm_file:NVM file name (charp)
parm:           uapsd_disable:disable U-APSD functionality (default: Y) (bool)
parm:           bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm:           led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm:           power_save:enable WiFi power management (default: disable) (bool)
parm:           power_level:default power save level (range from 1 - 5, default: 1) (int)
parm:           fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool)

[cfg80211]
filename:       /lib/modules/3.19.0-32-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     F28307769349A31F4B24FC2
depends:        
intree:         Y
vermagic:       3.19.0-32-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        0C:8B:EF:E0:C1:E2:89:E4:D8:99:09:26:11:7A:DA:3B:DF:EB:41:9C
sig_hashalgo:   sha512
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[iwlmvm]
init_dbg: N
power_scheme: 2

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500

[iwlwifi]
11n_disable: 0
amsdu_size_8K: 0
antenna_coupling: 0
bt_coex_active: Y
fw_monitor: N
fw_restart: Y
led_mode: 0
nvm_file: (null)
power_level: 0
power_save: N
swcrypto: 0
uapsd_disable: Y
wd_disable: 1

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

lp
rtc

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x08b4 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

##### dmesg #############################

[   15.268350] r8169 0000:02:00.0 eth0: link down
[   15.268387] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.270635] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled (repeated 2 times)
[   15.289008] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   51.137985] wlan0: authenticate with <MAC 'SaWaF' [AN1]>
[   51.145340] wlan0: send auth to <MAC 'SaWaF' [AN1]> (try 1/3)
[   51.147186] wlan0: authenticated
[   51.150318] wlan0: associate with <MAC 'SaWaF' [AN1]> (try 1/3)
[   51.154312] wlan0: RX AssocResp from <MAC 'SaWaF' [AN1]> (capab=0x411 status=0 aid=2)
[   51.155686] wlan0: associated
[   51.155727] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2629.985187] wlan0: deauthenticating from <MAC 'SaWaF' [AN1]> by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2633.899532] wlan0: authenticate with <MAC 'SaWaF' [AN1]>
[ 2633.906522] wlan0: send auth to <MAC 'SaWaF' [AN1]> (try 1/3)
[ 2633.910521] wlan0: authenticated
[ 2633.912245] wlan0: associate with <MAC 'SaWaF' [AN1]> (try 1/3)
[ 2633.916224] wlan0: RX AssocResp from <MAC 'SaWaF' [AN1]> (capab=0x411 status=0 aid=2)
[ 2633.917297] wlan0: associated
[ 2855.809395] wlan0: deauthenticating from <MAC 'SaWaF' [AN1]> by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2861.781476] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled (repeated 2 times)
[ 2861.803818] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2868.795197] wlan0: authenticate with <MAC 'SaWaF' [AN1]>
[ 2868.803205] wlan0: send auth to <MAC 'SaWaF' [AN1]> (try 1/3)
[ 2868.805064] wlan0: authenticated
[ 2868.807013] wlan0: associate with <MAC 'SaWaF' [AN1]> (try 1/3)
[ 2868.810973] wlan0: RX AssocResp from <MAC 'SaWaF' [AN1]> (capab=0x411 status=0 aid=2)
[ 2868.812445] wlan0: associated
[ 2868.812472] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2868.877397] wlan0: deauthenticating from <MAC 'SaWaF' [AN1]> by local choice (Reason: 2=PREV_AUTH_NOT_VALID)
[ 2868.883143] wlan0: authenticate with <MAC 'SaWaF' [AN1]>
[ 2868.888983] wlan0: send auth to <MAC 'SaWaF' [AN1]> (try 1/3)
[ 2868.890854] wlan0: authenticated
[ 2868.891061] wlan0: associate with <MAC 'SaWaF' [AN1]> (try 1/3)
[ 2868.895188] wlan0: RX AssocResp from <MAC 'SaWaF' [AN1]> (capab=0x411 status=0 aid=2)
[ 2868.896298] wlan0: associated

########## wireless info END ############

JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi keeps dropping out

Post by JeremyB »

We can try a newer version of the wireless modules using backports and get newer firmware from intel

Code: Select all

sudo apt-get install linux-headers-generic build-essential
wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz
tar -zxvf backports-4.4.2-1.tar.gz
cd backports-4.4.2-1
make defconfig-wifi
make
sudo make install
wget https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-3160-ucode-16.242414.0.tgz
tar -zxvf iwlwifi-3160-ucode-16.242414.0.tgz
cd iwlwifi-3160-ucode-16.242414.0
sudo cp iwlwifi-3160-16.ucode /lib/firmware/
Reboot

Had to edit a typo
hesham

Re: WiFi keeps dropping out

Post by hesham »

JeremyB wrote:We can try a newer version of the wireless modules using backports and get newer firmware from intel

Code: Select all

sudo apt-get install linux-headers-generic build-essential
wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz
tar -zxvf backports-4.4.2-1.tar.gz
cd backports-4.4.2-1
make defconfig-wifi
make
sudo make install
wget https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-3160-ucode-16.242414.0.tgz
tar -zxvf iwlwifi-3160-ucode-16.242414.0.tgz
cd iwlwifi-3160-ucode-16.242414.0
sudo cp iwlwifi-3160-16.ucode /lib/firmware/
Reboot

Had to edit a typo
Thanks JeremyB. Everything is perfect now.
mckeznak

Re: [Solved]: WiFi keeps dropping out

Post by mckeznak »

I'm having the exact same issue, wifi stops forwarding traffic but maintains connection and association with AP. I tried your steps above however the issue persists.

I think your original thought of power management may be an issue as I've only ever had it happen on battery power and almost immediately after I plug the external power source in, traffic flows again.
mckeznak

Re: [Solved]: WiFi keeps dropping out

Post by mckeznak »

sudo iwconfig wlan0 power off

Seems to have cleared it all up
User avatar
Pjotr
Level 24
Level 24
Posts: 20140
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [Solved]: WiFi keeps dropping out

Post by Pjotr »

mckeznak wrote:sudo iwconfig wlan0 power off

Seems to have cleared it all up
That's not a permanent solution.... Like this it's permanent:
https://easylinuxtipsproject.blogspot.c ... html#ID2.1
(item 2.1)

Edit: fixed the link.
Last edited by Pjotr on Tue Mar 16, 2021 5:22 am, edited 2 times in total.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
mckeznak

Re: [Solved]: WiFi keeps dropping out

Post by mckeznak »

Pjotr wrote: That's not a permanent solution.... Like this it's permanent:
https://sites.google.com/site/easylinux ... eless-card
(item 2.1, right column)
Worked like a charm thanks a million!
User avatar
rcentros
Level 3
Level 3
Posts: 106
Joined: Sun Jan 23, 2011 6:55 pm

Re: [Solved]: WiFi keeps dropping out

Post by rcentros »

mckeznak wrote: Mon Apr 04, 2016 8:36 pm
Pjotr wrote: That's not a permanent solution.... Like this it's permanent:
https://sites.google.com/site/easylinux ... eless-card
(item 2.1, right column)
Worked like a charm thanks a million!
I just bought a "new" Dell Latitude D430 for next to nothing, installed Linux Mint 19.3 and it worked great (even with 2 GBs of RAM) EXCEPT WiFi would fall out after a while (like the others, it stayed connected but no Internet). I guessed it might have had something to do with power settings. (I've never had problems like this with Intel WiFi cards before so very happy to find this fix.) Thanks Pjotr!
User avatar
Pjotr
Level 24
Level 24
Posts: 20140
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [Solved]: WiFi keeps dropping out

Post by Pjotr »

rcentros wrote: Fri Jan 24, 2020 1:11 am
mckeznak wrote: Mon Apr 04, 2016 8:36 pm
Pjotr wrote: That's not a permanent solution.... Like this it's permanent:
https://sites.google.com/site/easylinux ... eless-card
(item 2.1, right column)
Worked like a charm thanks a million!
I just bought a "new" Dell Latitude D430 for next to nothing, installed Linux Mint 19.3 and it worked great (even with 2 GBs of RAM) EXCEPT WiFi would fall out after a while (like the others, it stayed connected but no Internet). I guessed it might have had something to do with power settings. (I've never had problems like this with Intel WiFi cards before so very happy to find this fix.) Thanks Pjotr!
Good to hear that it's working now. :)
Here's the new link for the fix (the old link has been discontinued):
https://easylinuxtipsproject.blogspot.c ... html#ID2.1
(item 2.1)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
alza68
Level 1
Level 1
Posts: 29
Joined: Wed Aug 21, 2019 6:26 am

Re: [Solved]: WiFi keeps dropping out

Post by alza68 »

Pjotr wrote: Thu Mar 31, 2016 4:54 am
mckeznak wrote:sudo iwconfig wlan0 power off

Seems to have cleared it all up
That's not a permanent solution.... Like this it's permanent:
https://sites.google.com/site/easylinux ... eless-card
(item 2.1, right column)
This link and the link provided by appears to be obsolete could you paste the solution it would be of great help if this can be done. I am having the same issue as well.
User avatar
Pjotr
Level 24
Level 24
Posts: 20140
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [Solved]: WiFi keeps dropping out

Post by Pjotr »

alza68 wrote: Tue Mar 16, 2021 3:54 am This link and the link provided by appears to be obsolete could you paste the solution it would be of great help if this can be done. I am having the same issue as well.
Here you are: :)
https://easylinuxtipsproject.blogspot.c ... html#ID2.1
(item 2.1)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Eurybates
Level 1
Level 1
Posts: 8
Joined: Tue Mar 30, 2021 4:37 am

Re: [Solved]: WiFi keeps dropping out

Post by Eurybates »

Hi All. This was a huge problem for me, so I wanted to share my solution. Firstly, about one month ago My wifi just decided to drop out every 5 minutes or so. Very bad for both business and personal (ie netflix/youtube) reasons. I tried EVERYTHING including the power saving issues, driver updates, wifi settings etc etc. Finally after I had issues with bluetooth hanging the system I decided to disable bluetooth. YES ... finally I have stable wifi. I was very close to going back to windows. I hope this helps somebody else out there, as this was a nightmare for me. Good luck :o)
User avatar
Pjotr
Level 24
Level 24
Posts: 20140
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [Solved]: WiFi keeps dropping out

Post by Pjotr »

Eurybates wrote: Tue Mar 30, 2021 4:50 am I decided to disable bluetooth. YES ... finally I have stable wifi.
Nice! Note that if you never use Bluetooth anyway, you can disable Bluetooth even more thoroughly by blacklisting its driver. That has the advantage of power reduction, which means: longer battery life.

This is how:
https://easylinuxtipsproject.blogspot.c ... .html#ID15
(item 15)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
alza68
Level 1
Level 1
Posts: 29
Joined: Wed Aug 21, 2019 6:26 am

Re: [Solved]: WiFi keeps dropping out

Post by alza68 »

Pjotr wrote: Tue Mar 16, 2021 5:24 am
alza68 wrote: Tue Mar 16, 2021 3:54 am This link and the link provided by appears to be obsolete could you paste the solution it would be of great help if this can be done. I am having the same issue as well.
Here you are: :)
https://easylinuxtipsproject.blogspot.c ... html#ID2.1
(item 2.1)
Thank you Pjotr for the link, Fortunately, There was a duly and pertinent description in Ubuntu forum, concerning this issue, ensuing those instructions had resolved my problem on WiFi dropping out. :) Thanks again... :D
User avatar
karlchen
Level 23
Level 23
Posts: 18238
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: [Solved]: WiFi keeps dropping out

Post by karlchen »

<mod> cosmo5kramer's post can be found in this separate thread: viewtopic.php?p=2093379#p2093379 </mod>
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
Locked

Return to “Networking”