connman will not reconnect to a wireless network after suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Connection Manager |
New
|
Undecided
|
Unassigned | ||
connman (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: connman
Steps to reproduce:
1. Connect to a wireless network (in this case a WPA2 wireless network)
2. Close the lid to suspend the device
3. Open the lid and resume the device
Expected result:
Connman should reconnect to the network I was on before or (if I'm in a new location) scan for new networks.
Actual result:
Though connman shows a list of available networks with the network indicator I cannot connect to my wireless network. If I tail /var/log/daemon.log I see the following error when trying to reconnect to my wireless network:
Jul 6 10:44:03 rhesus connmand[1031]: Method "removeNetwork" with signature "o" on interface "fi.epitest.
Jul 6 10:44:03 rhesus connmand[1031]: Method "setAPScan" with signature "u" on interface "fi.epitest.
Jul 6 10:44:03 rhesus connmand[1031]: Method "set" with signature "a{sv}" on interface "fi.epitest.
I am able to connect to ethernet, so connman is running and functioning.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: connman 0.54+dfsg-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-6-generic i686
Architecture: i386
Date: Tue Jul 6 10:46:48 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: connman
Pete, what wifi driver are you using? My wild guess is that the name of the wireless interface changes after resume and that confuses connman. I don't see this with ath9k, which is using mac80211.
Also, to be fully sure, can you please check that wpa_supplicant is really running after resume:
ps aux | grep wpa_supplicant