You are not logged in.
Pages: 1
Hi all. I know there have been about a thousand threads asking for help with wifi disconnects, as I feel like I've read them all. I'm at my wit's end here, and about to just chalk this up to a terrible router at my place of work, but I figured I'd at least ask before giving up.
Basic issue: My wifi randomly disconnects every 2-5 minutes (sometimes 5-10) giving the following message in journalctl. (I am using NetworkManager)
Mar 14 10:41:02 asimov wpa_supplicant[318]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=84:c9:b2:4b:fd:53 reason=4 locally_generated=1
Mar 14 10:41:02 asimov NetworkManager[11613]: <warn> Connection disconnected (reason -4)
Mar 14 10:41:02 asimov NetworkManager[11613]: <info> (wlp3s0): supplicant interface state: completed -> disconnected
Mar 14 10:41:02 asimov NetworkManager[11613]: <info> (wlp3s0): supplicant interface state: disconnected -> scanningI also sometimes get this one:
Mar 14 10:43:19 asimov kernel: iwlwifi 0000:03:00.0: No association and the time event is over already...
Mar 14 10:43:19 asimov kernel: wlp3s0: Connection to AP 84:c9:b2:4b:fd:53 lost
Mar 14 10:43:20 asimov kernel: wlp3s0: authentication with 84:c9:b2:4b:fd:53 timed outlspci:
lspci | grep net
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (3) I218-LM (rev 03)systemctl enabled unit files
systemctl list-unit-files | grep enabled
autovt@.service enabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
getty@.service enabled
iptables.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager.service enabled
systemd-timesyncd.service enabled
remote-fs.target enabled
fstrim.timer enabled I've verified the firmware is loaded (it failed on some but loaded a valid firmware file).
dmesg | grep firmware
[ 1.170326] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-19.ucode failed with error -2
[ 1.170338] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-18.ucode failed with error -2
[ 1.170348] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-17.ucode failed with error -2
[ 1.174191] iwlwifi 0000:03:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm
[ 2.354369] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[ 2.571918] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
[ 6.272532] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3And verified that it's loaded:
lsmod | grep iwlwifi
iwlwifi 163840 1 iwlmvm
cfg80211 483328 3 iwlwifi,mac80211,iwlmvmI've also disabled 11n (with both a 1 and an 8 in the flag) and software crypto:
cat /etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=1
options iwlwifi swcrypto=1I've tried manually connecting (per the wiki) using wpa_supplicant and I get the following error:
wpa_supplicant -D nl80211,wext -i wlp3s0 -c wpa_supplicant.conf
Successfully initialized wpa_supplicant
Could not read interface p2p-dev-wlp3s0 flags: No such deviceFinally, if it helps, here's a dump of my running services
systemctl | grep running
init.scope loaded active running System and Service Manager
session-c1.scope loaded active running Session c1 of user josh
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
NetworkManager-dispatcher.service loaded active running Network Manager Script Dispatcher Service
NetworkManager.service loaded active running Network Manager
polkit.service loaded active running Authorization Manager
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-udevd.service loaded active running udev Kernel Device Manager
user@1000.service loaded active running User Manager for UID 1000
wpa_supplicant.service loaded active running WPA supplicant
dbus.socket loaded active running D-Bus System Message Bus Socket
systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/log)
systemd-journald.socket loaded active running Journal Socket
systemd-udevd-control.socket loaded active running udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel SocketAt one point I even got rid of networkmanager and tried wicd but it didn't help.
Is this just an issue with my local router? Am I missing something obvious? Please let me know if you need more information, I'm somewhat new but I want to learn if there's something I can do before I just give up.
Thanks!
Edit: I also sometimes receive this error:
Mar 14 11:23:15 asimov NetworkManager[11613]: <warn> Failed to GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected: disconnect.Last edited by MagneticRooster (2016-03-14 18:24:56)
Offline
Hi MagneticRooster,
could you please post the output of
lspci -klike it is mentioned on the corresponding wiki page.
Offline
Hi MagneticRooster,
could you please post the output of
lspci -klike it is mentioned on the corresponding wiki page.
Here you go:
lspci -k
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
Subsystem: Lenovo Device 5034
Kernel driver in use: bdw_uncore
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Subsystem: Lenovo Device 5036
Kernel driver in use: i915
Kernel modules: i915
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
Subsystem: Lenovo Device 5034
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
Subsystem: Lenovo Device 5034
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
Subsystem: Lenovo Device 5034
Kernel driver in use: mei_me
Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (3) I218-LM (rev 03)
Subsystem: Lenovo Device 2226
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
Subsystem: Lenovo Device 5036
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
Subsystem: Lenovo Device 5034
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
Subsystem: Lenovo Device 5034
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
Subsystem: Lenovo Device 5034
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
Subsystem: Lenovo Device 5034
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
Subsystem: Lenovo Device 5034
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
Subsystem: Lenovo Device 5034
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
Subsystem: Intel Corporation Dual Band Wireless-AC 7265
Kernel driver in use: iwlwifi
Kernel modules: iwlwifiThanks for taking a look.
Offline
Ok, the last part is crucial information here.
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
Subsystem: Intel Corporation Dual Band Wireless-AC 7265
Kernel driver in use: iwlwifi
Kernel modules: iwlwifiBecause it tells us which wifi chip your machine is using.
According to the wiki page again (and my own troublesome experience with iwlwifi), you can give the following a try:
/etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=8This is exactly the line, that helped me get a stable wifi connection with my notebook.
Offline
Ok, the last part is crucial information here.
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59) Subsystem: Intel Corporation Dual Band Wireless-AC 7265 Kernel driver in use: iwlwifi Kernel modules: iwlwifiBecause it tells us which wifi chip your machine is using.
According to the wiki page again (and my own troublesome experience with iwlwifi), you can give the following a try:
/etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=8This is exactly the line, that helped me get a stable wifi connection with my notebook.
Unfortunately, I've tried that, both with an 8 flag and a 1 flag (I saw them both in different posts) with no change. I have the issues in a room with many competing routers so I think that might be the major unavoidable issue.
Offline
Could not read interface p2p-dev-wlp3s0 flags: No such device
Same error message as this thread:
https://bbs.archlinux.org/viewtopic.php?id=210134
Please post the output of:
iwconfig wlp3s0Jin, Jîyan, Azadî
Offline
MagneticRooster wrote:Could not read interface p2p-dev-wlp3s0 flags: No such deviceSame error message as this thread:
https://bbs.archlinux.org/viewtopic.php?id=210134Please post the output of:
iwconfig wlp3s0
I apologize about the late reply, I wanted to go back to the location where my issues occur to give you the best info I can. Here is the output you requested:
$ iwconfig wlp3s0
wlp3s0 IEEE 802.11abgn ESSID:"betcheverry"
Mode:Managed Frequency:2.437 GHz Access Point: 84:C9:B2:4B:FD:53
Bit Rate=130 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=56/70 Signal level=-54 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:7 Missed beacon:0There are four available routers in this room, all of which I have issues with. Is it possible that the sheer number of wifi signals is causing the issues? If so, is there anything I can do router-wise to fix it? I can only change the properties (or at least ask to change) of one of them (betcheverry).
Offline
Could not read interface p2p-dev-wlp3s0 flags: No such device
Totally oversaw that, sorry. With wpa_supplicant 2.5 came some changes regarding the handling of p2p interfaces. You can find some discussions on the net about that, even on the Arch Forums. I couldn't solve that issue on another laptop, but downgrading wpa_supplicant to version 2.3 gave me at least a working machine. You can get the package from the official Arch Linux Archive -> wpa_supplicant.
There are four available routers in this room, all of which I have issues with. Is it possible that the sheer number of wifi signals is causing the issues? If so, is there anything I can do router-wise to fix it? I can only change the properties (or at least ask to change) of one of them (betcheverry).
I wouldn't bet on that... YET. Try downgrading wpa_supplicant first.
Offline
MagneticRooster wrote:Could not read interface p2p-dev-wlp3s0 flags: No such deviceTotally oversaw that, sorry. With wpa_supplicant 2.5 came some changes regarding the handling of p2p interfaces. You can find some discussions on the net about that, even on the Arch Forums. I couldn't solve that issue on another laptop, but downgrading wpa_supplicant to version 2.3 gave me at least a working machine. You can get the package from the official Arch Linux Archive -> wpa_supplicant.
There are four available routers in this room, all of which I have issues with. Is it possible that the sheer number of wifi signals is causing the issues? If so, is there anything I can do router-wise to fix it? I can only change the properties (or at least ask to change) of one of them (betcheverry).
I wouldn't bet on that... YET. Try downgrading wpa_supplicant first.
Downgraded to 2.3. I couldn't connect to one wifi:
Mar 15 09:04:46 asimov NetworkManager[11613]: <info> (wlp3s0): device state change: deactivating -> disconnected (reason 'new-activation') [110 30 60]
Mar 15 09:04:46 asimov kernel: iwlwifi 0000:03:00.0: No association and the time event is over already...
Mar 15 09:04:46 asimov kernel: wlp3s0: Connection to AP 00:23:69:d9:75:0a lost
Mar 15 09:04:46 asimov NetworkManager[11613]: <info> (wlp3s0): canceled DHCP transaction, DHCP client pid 11186
Mar 15 09:04:46 asimov NetworkManager[11613]: <info> (wlp3s0): DHCPv4 state changed bound -> done
Mar 15 09:04:46 asimov wpa_supplicant[318]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:23:69:d9:75:0a reason=3 locally_generated=1
Mar 15 09:04:46 asimov NetworkManager[11613]: <info> Removing DNS information from /usr/bin/resolvconf
Mar 15 09:04:46 asimov NetworkManager[11613]: <info> NetworkManager state is now DISCONNECTEDI've been spammed with that "No association and the time event is over already..." message before, and I haven't been able to find any info about what it means.
The one I was having issues with appears to have connected, for now. It tried to connect for a few iterations, giving me:
Mar 15 09:06:15 asimov NetworkManager[11613]: <info> (wlp3s0): Activation: starting connection 'betcheverry' (999c2c19-561b-4136-9c82-0135b1dd0164)
Mar 15 09:06:15 asimov dbus[299]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Mar 15 09:06:15 asimov systemd[1]: Starting Network Manager Script Dispatcher Service...
Mar 15 09:06:15 asimov NetworkManager[11613]: <warn> Connection disconnected (reason -3)
Mar 15 09:06:15 asimov NetworkManager[11613]: <info> (wlp3s0): supplicant interface state: completed -> disconnected
Mar 15 09:06:15 asimov NetworkManager[11613]: <info> (wlp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]As I was typing that it hasn't dropped me, it dropped again. I've tried to include as much info as possible here:
Mar 15 09:09:22 asimov wpa_supplicant[318]: wlp3s0: WPA: Group rekeying completed with 84:c9:b2:4b:fd:53 [GTK=CCMP]
Mar 15 09:12:48 asimov wpa_supplicant[318]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=84:c9:b2:4b:fd:53 reason=4 locally_generated=1
Mar 15 09:12:48 asimov NetworkManager[11613]: <warn> Connection disconnected (reason -4)
Mar 15 09:12:48 asimov NetworkManager[11613]: <info> (wlp3s0): supplicant interface state: completed -> disconnected
Mar 15 09:12:49 asimov NetworkManager[11613]: <info> (wlp3s0): supplicant interface state: disconnected -> scanning
Mar 15 09:13:04 asimov NetworkManager[11613]: <warn> (wlp3s0): link timed out.
Mar 15 09:13:04 asimov NetworkManager[11613]: <info> (wlp3s0): device state change: activated -> failed (reason 'ssid-not-found') [100 120 53]
Mar 15 09:13:04 asimov NetworkManager[11613]: <info> NetworkManager state is now CONNECTED_LOCAL
Mar 15 09:13:04 asimov NetworkManager[11613]: <info> NetworkManager state is now DISCONNECTED
Mar 15 09:13:04 asimov NetworkManager[11613]: <warn> (wlp3s0): Activation: failed for connection 'betcheverry'
Mar 15 09:13:04 asimov dbus[299]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Mar 15 09:13:04 asimov NetworkManager[11613]: <info> (wlp3s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Mar 15 09:13:04 asimov kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Mar 15 09:13:04 asimov systemd[1]: Starting Network Manager Script Dispatcher Service...
Mar 15 09:13:04 asimov dbus[299]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Mar 15 09:13:04 asimov systemd[1]: Started Network Manager Script Dispatcher Service.
Mar 15 09:13:04 asimov NetworkManager[11613]: <info> (wlp3s0): canceled DHCP transaction, DHCP client pid 11919
Mar 15 09:13:04 asimov NetworkManager[11613]: <info> (wlp3s0): DHCPv4 state changed bound -> done
Mar 15 09:13:04 asimov NetworkManager[11613]: <info> Removing DNS information from /usr/bin/resolvconf
Mar 15 09:13:04 asimov NetworkManager[11613]: <warn> Failed to GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected: disconnect.
Mar 15 09:13:04 asimov NetworkManager[11613]: <info> (wlp3s0): supplicant interface state: scanning -> inactive
Mar 15 09:13:06 asimov wpa_supplicant[318]: wlp3s0: Failed to initiate sched scan
Mar 15 09:13:07 asimov wpa_supplicant[318]: wlp3s0: Failed to initiate sched scan
Mar 15 09:13:30 asimov wpa_supplicant[318]: wlp3s0: Failed to initiate sched scanAs you can see, I had 3 blissful minutes of stable wifi connection. Any other ideas? ![]()
Offline
Please stop the NetworkManager and run the following command as root:
wpa_supplicant -i wlp3s0 -d -f wpa_log.txtPost the output of wpa_log.txt.
Offline
Please stop the NetworkManager and run the following command as root:
wpa_supplicant -i wlp3s0 -d -f wpa_log.txtPost the output of wpa_log.txt.
$ cat wpa_log.txt
wpa_supplicant v2.3
Successfully initialized wpa_supplicantThanks again for your continued help.
Offline
Sry, my fault. I needed my own notebook back for testing, before I could give you the correct line. Again run as root:
wpa_supplicant -i wlp3s0 -d -c /etc/wpa_supplicant.conf -f wpa_log.txtThe command should run in foreground, but the output is redirected to the file. It would be helpful to let wpa_supplicant do it's work for about ten minutes to check, if there are connection losses.
And no need to thank me. I don't know, if I will have been of any help at the end.
Offline
Sry, my fault. I needed my own notebook back for testing, before I could give you the correct line. Again run as root:
wpa_supplicant -i wlp3s0 -d -c /etc/wpa_supplicant.conf -f wpa_log.txtThe command should run in foreground, but the output is redirected to the file. It would be helpful to let wpa_supplicant do it's work for about ten minutes to check, if there are connection losses.
And no need to thank me. I don't know, if I will have been of any help at the end.
Ok, it didn't actually run for any amount of time, but it did create this output (as a note I directed it to /etc/wpa_supplicant/wpa_supplicant.conf, because that's where that file was; if that was wrong and I should have one in my /etc/ directory, please let me know!)
$ sudo wpa_supplicant -i wlp3s0 -d -c /etc/wpa_supplicant/wpa_supplicant.conf -f wpa_log.txt$ cat wpa_log.txt
wpa_supplicant v2.3
Successfully initialized wpa_supplicant
Initializing interface 'wlp3s0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=1
fast_reauth=1
Line 1182: unknown EAP method 'SIM'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 1182: failed to parse eap 'SIM'.
Line 1185: failed to parse network block.
Line 1192: unknown EAP method 'PSK'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 1192: failed to parse eap 'PSK'.
Line 1196: failed to parse network block.
Line 1228: unknown EAP method 'IKEV2'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 1228: failed to parse eap 'IKEV2'.
Line 1231: failed to parse network block.
Priority group 20
id=25 ssid='example'
Priority group 10
id=5 ssid='example'
Priority group 5
id=0 ssid='simple'
id=19 ssid='static-wep-test'
id=20 ssid='static-wep-test2'
Priority group 2
id=1 ssid='second ssid'
id=2 ssid='example'
id=6 ssid='example'
id=8 ssid='example'
Priority group 1
id=4 ssid='example'
Priority group 0
id=3 ssid='example'
id=7 ssid='example'
id=9 ssid='example'
id=10 ssid='\x00\x01\x02\x03'
id=13 ssid='1x-test'
id=14 ssid='leap-example'
id=16 ssid='eap-fast-test'
id=17 ssid='eap-fast-test'
id=18 ssid='plaintext-test'
id=21 ssid='ibss-rsn'
id=22 ssid='test adhoc'
id=23 ssid='example'
id=24 ssid='example'
id=26 ssid=''
id=27 ssid=''
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
Failed to add interface wlp3s0
: Cancelling scan request
: Cancelling authentication timeoutLooking at this it occurs to me that I have never edited my wpa_supplicant.conf, just assuming (possibly incorrectly) that it would work out of the box. Do I need to browse the wiki for what this file is supposed to contain?
Offline
Ok, it didn't actually run for any amount of time, but it did create this output (as a note I directed it to /etc/wpa_supplicant/wpa_supplicant.conf, because that's where that file was; if that was wrong and I should have one in my /etc/ directory, please let me know!)
That was perfectly thought and acted! It doesn't really matter where the config file is located as long as the correct path is entered.
Looking at this it occurs to me that I have never edited my wpa_supplicant.conf, just assuming (possibly incorrectly) that it would work out of the box. Do I need to browse the wiki for what this file is supposed to contain?
Yes, it would be very helpful to set up a wpa_supplicant config file manually. Especially for troubleshooting purposes like this one.
Offline
Pages: 1