Can someone of you confirm to get autoconnect working with an eduroam network?
I already tried several wicd-eduroam templates from the AUR but with all of them autoconnect to my eduroam network of the University does not work.
I have to manually connect to the network although in wicd-gtk I have ticked the box "Automatically connect to this network."
Anyone more successful?
Last edited by orschiro (2014-02-07 10:27:19)
When I used wicd it used to work just fine, but you must make sure you select the option that tells wicd to autoconnect to networks with the same essid, otherwise it connects only to the AP you used to connect the first time (afaik the default is for wicd to connect to the AP that has a specific mac address and same essid).
Thanks. You did not specify it in your response, but it was an eduroam network to which Wicd connected automatically?
The option you mention to connect to all networks with the same ESSID is already set.
Yes it was an eduroam network. If memory isn't playing tricks it used to connect to any eduroam network it could find.
You might want to try connecting manually with wpa_supplicant and dhcpcd/dhclient and see if you get any errors, I have always found that wicd wasn't very accurate when reporting errors and I always had to go the manual route to find exactly what was the problem.
Interestingly, autoconnect to eduroam works on startup but not on resume from hibernation/suspension. Although I already created:
➜ ~ cat /etc/systemd/system/wicd-sleep.service [Unit] Description=Wicd sleep hook Before=sleep.target StopWhenUnneeded=yes [Service] Type=oneshot RemainAfterExit=yes ExecStart=-/usr/share/wicd/daemon/suspend.py ExecStop=-/usr/share/wicd/daemon/autoconnect.py [Install] WantedBy=sleep.target
Any other suggestions?
You might just need to actually stop then restart the daemon on sleep.
You are right. Seems to be working!
I just tested whether Wicd will auto-reconnect if I run `systemctl restart wicd` on resume, and indeed it does!
I created the following service file and will report if there are any issues left with it.
/etc/systemd/system/wicd-resume.service [Unit] Description=Restart wicd on resume After=suspend.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/systemctl restart wicd [Install] WantedBy=suspend.target