This seems to be the case for me, too.
I have Jaunty 9.04 on a Asus EeePC 100H. The kernel is 2.6.30-generic, which 
has the driver for rt2860 version 1.8.1.1.

I have no problem on statup: as soon as I get into my account, Network Manager 
is already getting the wi-fi working.
If I suspend or hibernate the system, on resume Network Manager shows no wi-fi 
network, while `iwlist ra0 scan` does.

Looking at daemon.log, it seems that it's waiting for wpasupplicant:

---------------------------
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  Waking up... 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (eth0): now managed 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (eth0): device state 
change: 1 -> 2 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (eth0): bringing up 
device. 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (eth0): preparing device. 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (eth0): deactivating 
device (reason: 2). 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  Unmanaged Device found; 
state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889) 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  Unmanaged Device found; 
state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889) 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (ra0): now managed 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 1 -> 2 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (ra0): bringing up device. 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (ra0): preparing device. 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (ra0): deactivating device 
(reason: 2). 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 2 -> 3 
Jul  2 02:04:32 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
interface state:  starting -> ready 
-------------------------------

After the last line, nothing happens for tens of minutes.

I thought it was watiting for wpasupplicant, so I tried to `killall
wpa_supplicant`:

---------------------------------
Jul  2 02:05:20 lopo-netbook NetworkManager: <info>  (ra0): supplicant manager 
state:  idle -> down 
Jul  2 02:05:20 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 3 -> 2 
Jul  2 02:05:20 lopo-netbook NetworkManager: <info>  (ra0): deactivating device 
(reason: 10). 
Jul  2 02:05:20 lopo-netbook NetworkManager: <WARN>  nm_device_wifi_set_ssid(): 
error setting SSID to '(null)' for device ra0: Network is down 
Jul  2 02:05:20 lopo-netbook NetworkManager: <WARN>  
nm_device_wifi_disable_encryption(): error setting key for device ra0: Network 
is down 
Jul  2 02:05:20 lopo-netbook NetworkManager: <WARN>  nm_device_wifi_set_mode(): 
error setting card ra0 to mode 2: Network is down 
Jul  2 02:05:20 lopo-netbook NetworkManager: supplicant_interface_acquire: 
assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
Jul  2 02:05:20 lopo-netbook NetworkManager: <info>  Trying to start the 
supplicant... 
Jul  2 02:05:20 lopo-netbook NetworkManager: <info>  (ra0): supplicant manager 
state:  down -> idle 
Jul  2 02:05:20 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 2 -> 3 
Jul  2 02:05:21 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
interface state:  starting -> ready 
----------------------------------

Once again, no network list (and no associating) in Network Manager.
I tried to kill wpa_supplicant again, and now my wi-fi SSID showed in the list, 
NM tried to associate with it, but without success:
----------------------------------
Jul  2 02:06:21 lopo-netbook NetworkManager: <info>  (ra0): supplicant manager 
state:  idle -> down 
Jul  2 02:06:21 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 3 -> 2 
Jul  2 02:06:21 lopo-netbook NetworkManager: <info>  (ra0): deactivating device 
(reason: 10). 
Jul  2 02:06:21 lopo-netbook NetworkManager: <WARN>  nm_device_wifi_set_ssid(): 
error setting SSID to '(null)' for device ra0: Network is down 
Jul  2 02:06:21 lopo-netbook NetworkManager: <WARN>  
nm_device_wifi_disable_encryption(): error setting key for device ra0: Network 
is down 
Jul  2 02:06:21 lopo-netbook NetworkManager: <WARN>  nm_device_wifi_set_mode(): 
error setting card ra0 to mode 2: Network is down 
Jul  2 02:06:21 lopo-netbook NetworkManager: supplicant_interface_acquire: 
assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
Jul  2 02:06:21 lopo-netbook NetworkManager: <info>  Trying to start the 
supplicant... 
Jul  2 02:06:21 lopo-netbook NetworkManager: <info>  (ra0): supplicant manager 
state:  down -> idle 
Jul  2 02:06:21 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 2 -> 3 
Jul  2 02:06:22 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
interface state:  starting -> ready 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Activation (ra0) starting 
connection 'Auto Alice-43549390' 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 3 -> 4 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 1 
of 5 (Device Prepare) scheduled... 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 1 
of 5 (Device Prepare) started... 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 2 
of 5 (Device Configure) scheduled... 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 1 
of 5 (Device Prepare) complete. 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 2 
of 5 (Device Configure) starting... 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 4 -> 5 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Activation (ra0/wireless): 
connection 'Auto Alice-43549390' has security, and secrets exist.  No new 
secrets needed. 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Config: added 'ssid' value 
'Alice-43549390' 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Config: added 'scan_ssid' 
value '1' 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Config: added 'key_mgmt' 
value 'WPA-PSK' 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Config: added 'psk' value 
'<omitted>' 
Jul  2 02:06:27 lopo-netbook NetworkManager: 
nm_setting_802_1x_get_pkcs11_engine_path: assertion `NM_IS_SETTING_802_1X 
(setting)' failed
Jul  2 02:06:27 lopo-netbook NetworkManager: 
nm_setting_802_1x_get_pkcs11_module_path: assertion `NM_IS_SETTING_802_1X 
(setting)' failed
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 2 
of 5 (Device Configure) complete. 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  scanning -> disconnected 
Jul  2 02:06:27 lopo-netbook NetworkManager: <info>  Config: set interface 
ap_scan to 1 
Jul  2 02:06:32 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  disconnected -> scanning 
Jul  2 02:06:43 lopo-netbook NetworkManager: <info>  ra0: link timed out.
--------------------------------

So I tried to choose the network on the list, clicking on it: this succeeded.
--------------------------------
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Activation (ra0/wireless): 
association took too long. 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 5 -> 6 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Activation (ra0/wireless): 
asking for new secrets 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  scanning -> disconnected 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 1 
of 5 (Device Prepare) scheduled... 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 1 
of 5 (Device Prepare) started... 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 6 -> 4 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 2 
of 5 (Device Configure) scheduled... 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 1 
of 5 (Device Prepare) complete. 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 2 
of 5 (Device Configure) starting... 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 4 -> 5 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Activation (ra0/wireless): 
connection 'Auto Alice-43549390' has security, and secrets exist.  No new 
secrets needed. 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Config: added 'ssid' value 
'Alice-43549390' 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Config: added 'scan_ssid' 
value '1' 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Config: added 'key_mgmt' 
value 'WPA-PSK' 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Config: added 'psk' value 
'<omitted>' 
Jul  2 02:07:28 lopo-netbook NetworkManager: 
nm_setting_802_1x_get_pkcs11_engine_path: assertion `NM_IS_SETTING_802_1X 
(setting)' failed
Jul  2 02:07:28 lopo-netbook NetworkManager: 
nm_setting_802_1x_get_pkcs11_module_path: assertion `NM_IS_SETTING_802_1X 
(setting)' failed
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 2 
of 5 (Device Configure) complete. 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  Config: set interface 
ap_scan to 1 
Jul  2 02:07:28 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  disconnected -> scanning 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 5 -> 3 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  (ra0): deactivating device 
(reason: 0). 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Activation (ra0) starting 
connection 'Auto Alice-43549390' 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 3 -> 4 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 1 
of 5 (Device Prepare) scheduled... 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 1 
of 5 (Device Prepare) started... 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 2 
of 5 (Device Configure) scheduled... 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 1 
of 5 (Device Prepare) complete. 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  scanning -> disconnected 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 2 
of 5 (Device Configure) starting... 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 4 -> 5 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Activation (ra0/wireless): 
connection 'Auto Alice-43549390' has security, and secrets exist.  No new 
secrets needed. 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Config: added 'ssid' value 
'Alice-43549390' 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Config: added 'scan_ssid' 
value '1' 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Config: added 'key_mgmt' 
value 'WPA-PSK' 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Config: added 'psk' value 
'<omitted>' 
Jul  2 02:07:48 lopo-netbook NetworkManager: 
nm_setting_802_1x_get_pkcs11_engine_path: assertion `NM_IS_SETTING_802_1X 
(setting)' failed
Jul  2 02:07:48 lopo-netbook NetworkManager: 
nm_setting_802_1x_get_pkcs11_module_path: assertion `NM_IS_SETTING_802_1X 
(setting)' failed
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 2 
of 5 (Device Configure) complete. 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  Config: set interface 
ap_scan to 1 
Jul  2 02:07:48 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  disconnected -> scanning 
Jul  2 02:08:08 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  scanning -> associating 
Jul  2 02:08:08 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  associating -> associated 
Jul  2 02:08:09 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  associated -> 4-way handshake 
Jul  2 02:08:09 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  4-way handshake -> group handshake 
Jul  2 02:08:10 lopo-netbook NetworkManager: <info>  (ra0): supplicant 
connection state:  group handshake -> completed 
Jul  2 02:08:10 lopo-netbook NetworkManager: <info>  Activation (ra0/wireless) 
Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 
'Alice-43549390'. 
Jul  2 02:08:10 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 3 
of 5 (IP Configure Start) scheduled. 
Jul  2 02:08:10 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 3 
of 5 (IP Configure Start) started... 
Jul  2 02:08:10 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 5 -> 7 
Jul  2 02:08:10 lopo-netbook NetworkManager: <info>  Activation (ra0) Beginning 
DHCP transaction. 
Jul  2 02:08:10 lopo-netbook NetworkManager: <info>  dhclient started with pid 
20814 
Jul  2 02:08:10 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 3 
of 5 (IP Configure Start) complete. 
Jul  2 02:08:10 lopo-netbook dhclient: Internet Systems Consortium DHCP Client 
V3.1.1
Jul  2 02:08:10 lopo-netbook dhclient: Copyright 2004-2008 Internet Systems 
Consortium.
Jul  2 02:08:10 lopo-netbook dhclient: All rights reserved.
Jul  2 02:08:10 lopo-netbook dhclient: For info, please visit 
http://www.isc.org/sw/dhcp/
Jul  2 02:08:10 lopo-netbook dhclient: 
Jul  2 02:08:10 lopo-netbook NetworkManager: <info>  DHCP: device ra0 state 
changed normal exit -> preinit 
Jul  2 02:08:10 lopo-netbook dhclient: Listening on LPF/ra0/00:22:43:5e:26:cb
Jul  2 02:08:10 lopo-netbook dhclient: Sending on   LPF/ra0/00:22:43:5e:26:cb
Jul  2 02:08:10 lopo-netbook dhclient: Sending on   Socket/fallback
Jul  2 02:08:11 lopo-netbook dhclient: DHCPDISCOVER on ra0 to 255.255.255.255 
port 67 interval 8
Jul  2 02:08:13 lopo-netbook dhclient: DHCPOFFER of 192.168.1.212 from 
192.168.1.1
Jul  2 02:08:13 lopo-netbook dhclient: DHCPREQUEST of 192.168.1.212 on ra0 to 
255.255.255.255 port 67
Jul  2 02:08:13 lopo-netbook dhclient: DHCPACK of 192.168.1.212 from 192.168.1.1
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>  DHCP: device ra0 state 
changed preinit -> bound 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 4 
of 5 (IP Configure Get) scheduled... 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 4 
of 5 (IP Configure Get) started... 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>    address 192.168.1.212 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>    prefix 24 
(255.255.255.0) 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>    gateway 192.168.1.1 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>    hostname 'lopo-netbook' 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>    nameserver '192.168.1.1' 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>    domain name 
'homenet.telecomitalia.it' 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 5 
of 5 (IP Configure Commit) scheduled... 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 4 
of 5 (IP Configure Get) complete. 
Jul  2 02:08:13 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 5 
of 5 (IP Configure Commit) started... 
Jul  2 02:08:13 lopo-netbook avahi-daemon[2928]: Joining mDNS multicast group 
on interface ra0.IPv4 with address 192.168.1.212.
Jul  2 02:08:13 lopo-netbook avahi-daemon[2928]: New relevant interface 
ra0.IPv4 for mDNS.
Jul  2 02:08:13 lopo-netbook avahi-daemon[2928]: Registering new address record 
for 192.168.1.212 on ra0.IPv4.
Jul  2 02:08:13 lopo-netbook dhclient: bound to 192.168.1.212 -- renewal in 
9236 seconds.
Jul  2 02:08:14 lopo-netbook NetworkManager: <info>  (ra0): device state 
change: 7 -> 8 
Jul  2 02:08:14 lopo-netbook NetworkManager: <info>  Policy set 'Auto 
Alice-43549390' (ra0) as default for routing and DNS. 
Jul  2 02:08:14 lopo-netbook NetworkManager: <info>  Activation (ra0) 
successful, device activated. 
Jul  2 02:08:14 lopo-netbook NetworkManager: <info>  Activation (ra0) Stage 5 
of 5 (IP Configure Commit) complete. 
Jul  2 02:08:15 lopo-netbook ntpdate[20895]: adjust time server 91.189.94.4 
offset -0.247251 sec
-------------------------------------


Looks like this bug:
https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/288922
but it was Intrepid, and the submitter said that `sudo iwlist scan` didn't work 
(it works for me, even if I can't connect).
Perhaps a NM bug?

-- 
WPA supplicant cannot scan for AP's after suspend
https://bugs.launchpad.net/bugs/269891
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to