Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#33829 - [netctl] 0.5 doesn't reconnect to Wi-Fi network after suspend

Attached to Project: Arch Linux
Opened by Claudio Kozický (C5OK5Y) - Tuesday, 12 February 2013, 17:58 GMT
Last edited by Jouke Witteveen (jouke) - Saturday, 23 February 2013, 10:14 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
After waking the system from suspend with an active netctl wireless WPA profile, netctl doesn't reconnect to the wireless network.

Additional info:
netctl 0.5-1
Attached relevant output from `journalctl -u netctl@xxx.service`.
Similar issue in netcfg: https://bugs.archlinux.org/task/32580

Steps to reproduce:
Enable and start a wireless netctl profile, suspend and wake up the system.
   log (1.9 KiB)
This task depends upon

Closed by  Jouke Witteveen (jouke)
Saturday, 23 February 2013, 10:14 GMT
Reason for closing:  Implemented
Additional comments about closing:  dbc2c
Comment by Hong Shick Pak (hspasta) - Wednesday, 13 February 2013, 17:00 GMT
Are you sure this is a netctl specific issue or just a wifi issue?

Have you tried using other network managers and witnessed the same effect?
Comment by Claudio Kozický (C5OK5Y) - Wednesday, 13 February 2013, 17:25 GMT
I used to use Network Manager a *very* long time ago and didn't notice an issue. Then I used netcfg and didn't have this problem until I switched to systemd. I looked into the issue a bit and concluded that the network managing application has to disconnect from the network prior to suspending and reconnect to the network after resuming the system. Neither netcfg nor netctl do this in systemd.
Comment by Claudio Kozický (C5OK5Y) - Wednesday, 13 February 2013, 20:24 GMT
I've managed to create a temporarily solution, it's based on https://wiki.archlinux.org/index.php/Systemd#Combined_Suspend.2Fresume_service_file - I've attached the netctl version. It stores the running profiles before suspend and stops them. After resume it restores the saved profiles. To test the file, put it in `/etc/systemd/system/` and run `systemctl enable netctl-sleep`.
Comment by Jouke Witteveen (jouke) - Thursday, 14 February 2013, 20:55 GMT
What is so temporary about this solution? This was one of the intended uses for `netctl (re)store`. In fact, this is something I like to include in netctl by default.
Comment by Claudio Kozický (C5OK5Y) - Thursday, 14 February 2013, 23:02 GMT
By temporarily I meant that it's a fix for the time until it gets resolved directly in netctl. I'd be glad, if this fix got included in netctl.
Comment by Jouke Witteveen (jouke) - Friday, 15 February 2013, 13:46 GMT
Can you also write a little documentation for netctl.special.7?
Comment by Claudio Kozický (C5OK5Y) - Friday, 15 February 2013, 16:39 GMT
Attached.

Loading...