FS#51294 - [netctl] netctl-auto drops connection

Attached to Project: Arch Linux
Opened by Maximilian Kaul (maximiliankaul) - Sunday, 09 October 2016, 11:24 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 09 November 2016, 15:13 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
netctl-auto frequently (every minute or so) drops the connection to my home wifi. The journal just says it's "by local choice":

```
Oct 09 11:22:03 kaul-laptop wpa_actiond[436]: Terminating wpa_actiond session for interface 'wlp2s0'
Oct 09 11:22:04 kaul-laptop kernel: wlp2s0: deauthenticating from xx:xx:xx:xx:xx:xx by local choice (Reason: 3=DEAUTH_LEAVING)
Oct 09 11:22:04 kaul-laptop dhcpcd[682]: wlp2s0: arp if_readrawpacket: Network is down
Oct 09 11:22:04 kaul-laptop dhcpcd[682]: wlp2s0: dhcp if_readrawpacket: Network is down
```

netctl-auto works fine at my university (eduroam) and it works fine with my phones hotspot. Also connecting to my home wifi works flawlessly using wpa_supplicant directly. (This is all on the same laptop.)

Additional info:
* package version(s)
netctl 1.12-2
linux-firmware 20160915.c4c07a8-1
kernel 4.7.6-1-ARCH
* config and/or log files etc.
$ sudo cat /etc/netctl/wifi-home
Description='WiFi at home using static IP'
Interface=wlp2s0
Connection=wireless
Security=wpa
ESSID=my\ wifi\ 5GHz
IP=dhcp
Key=secret

* hardware
Dell Precission 5510 (Wifi is Intel Wireless 8260 rev 3a => kernel driver iwlwifi)

```
$ sudo lspci -v -s 02:00.0
02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
Subsystem: Intel Corporation Device 0050
Flags: bus master, fast devsel, latency 0, IRQ 134
Memory at ddc00000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number xx-xx-xx-xx-xx-xx-xx-xx
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [154] L1 PM Substates
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
```

I included everything I could think of but I'm happy to provide additional information.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 09 November 2016, 15:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  User requested: Seems to be fixed. I’m using - kernel 4.8.6-1-ARCH - netctl 1.12-2 - linux-firmware 20161005.9c71af9-1 and the bug does not happen anymore.
Comment by Maximilian Kaul (maximiliankaul) - Monday, 17 October 2016, 18:04 GMT
Using netctl directly also works fine. (So stopping the netctl-auto@ service and then starting "netctl start $profile".)
Does anyone have an idea how to debug this? I'm happy to provide additional information.

Loading...