Not working wifi on Ubuntu 11.04

Bug #773152 reported by HhyperR
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
NetworkManager
New
Undecided
Unassigned
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

After upgrading 10.10 to stable 11.04, wifi is stop working. When checking "wireless connection" in nm applet - nothing happens, even in syslogs. I'm tried booting with previous 2.6.35-29-generic kernel, wich was working, but all the same. And I already tried to compile modules from http://linuxwireless.org with no result. But it works when I manually initialize connection with such script:

wpa_supplicant -iwlan0 -c/home/val/wpa_supplicant.conf -B
sleep 2
route add default dev wlan0
dhclient wlan0

Laptop is Acer Aspire 1551. Output of lspci -vv:

06:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
 Subsystem: Foxconn International, Inc. Device e01f
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 32 bytes
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at d0300000 (64-bit, non-prefetchable) [size=64K]
 Capabilities: <access denied>
 Kernel driver in use: ath9k
 Kernel modules: ath9k

When I manually bring interface "ifconfig wlan0 up" there is output in syslog:
Apr 29 13:35:11 val kernel: [13459.158797] ADDRCONF(NETDEV_UP): wlan0: link is not ready
And "iwlist scan" found my network correctly.

There is output of "rfkill list" on fresh reboot:

0: acer-wireless: Wireless LAN
 Soft blocked: yes
 Hard blocked: no
1: acer-bluetooth: Bluetooth
 Soft blocked: yes
 Hard blocked: no
5: phy2: Wireless LAN
 Soft blocked: no
 Hard blocked: no
6: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no

Fn-F2 key not working too (already submited), and I tried rfkill unblock 0 (5, wifi, all). This is output of syslog:

Apr 29 13:47:19 val NetworkManager[952]: <info> WiFi now enabled by radio killswitch
Apr 29 13:47:19 val NetworkManager[952]: <info> (wlan0): bringing up device.
Apr 29 13:47:19 val kernel: [14187.153313] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Apr 29 13:47:19 val NetworkManager[952]: <info> (wlan0): supplicant interface state: starting -> ready
Apr 29 13:47:19 val NetworkManager[952]: <info> (wlan0): device state change: 2 -> 3 (reason 42)
Apr 29 13:47:19 val NetworkManager[952]: <info> WiFi now disabled by radio killswitch
Apr 29 13:47:19 val NetworkManager[952]: <info> (wlan0): device state change: 3 -> 2 (reason 0)
Apr 29 13:47:19 val NetworkManager[952]: <info> (wlan0): deactivating device (reason: 0).
Apr 29 13:47:19 val NetworkManager[952]: <info> (wlan0): taking down device.

And sometimes with additional errors:

Apr 29 13:46:15 val NetworkManager[952]: <info> WiFi now enabled by radio killswitch
Apr 29 13:46:15 val NetworkManager[952]: <info> (wlan0): bringing up device.
Apr 29 13:46:15 val kernel: [14123.283533] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Apr 29 13:46:15 val NetworkManager[952]: <info> (wlan0): supplicant interface state: starting -> ready
Apr 29 13:46:15 val NetworkManager[952]: <info> (wlan0): device state change: 2 -> 3 (reason 42)
Apr 29 13:46:15 val wpa_supplicant[1119]: Failed to initiate AP scan.
Apr 29 13:46:15 val NetworkManager[952]: <info> WiFi now disabled by radio killswitch
Apr 29 13:46:15 val NetworkManager[952]: <info> (wlan0): device state change: 3 -> 2 (reason 0)
Apr 29 13:46:15 val NetworkManager[952]: <info> (wlan0): deactivating device (reason: 0).
Apr 29 13:46:15 val NetworkManager[952]: <info> (wlan0): taking down device.

Apr 29 13:48:35 val NetworkManager[952]: <info> WiFi now enabled by radio killswitch
Apr 29 13:48:35 val NetworkManager[952]: <info> (wlan0): bringing up device.
Apr 29 13:48:35 val NetworkManager[952]: (nm-device-wifi.c:3785):real_set_enabled: runtime check failed: (priv->supplicant.iface == NULL)
Apr 29 13:48:35 val kernel: [14263.722029] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Apr 29 13:48:35 val kernel: [14263.876903] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Apr 29 13:48:35 val NetworkManager[952]: <info> (wlan0): supplicant interface state: starting -> ready
Apr 29 13:48:35 val NetworkManager[952]: <info> (wlan0): device state change: 2 -> 3 (reason 42)
Apr 29 13:48:35 val wpa_supplicant[1119]: Failed to initiate AP scan.
Apr 29 13:48:35 val NetworkManager[952]: <info> WiFi now disabled by radio killswitch
Apr 29 13:48:35 val NetworkManager[952]: <info> (wlan0): device state change: 3 -> 2 (reason 0)
Apr 29 13:48:35 val NetworkManager[952]: <info> (wlan0): deactivating device (reason: 0).
Apr 29 13:48:35 val NetworkManager[952]: <info> (wlan0): taking down device.

Revision history for this message
W.McL (w-mcl) wrote :

manually disabling the killswitch with `sudo rfkill unblock wifi` leads to the device being unblocked, but it is softblocked again instantly thereafter by radio killswitch. The wifi Fn-Key is not recognized and therefore triggers no action.

However, with an infinite loop that constantly unblocks the device, I achieved some sort of (messy) workaround, that gave me a (very unstable) wireless connection, so I am able to post this comment:

sudo `while true; do echo 0 > /sys/class/rfkill/rfkill1/soft; done`

Revision history for this message
W.McL (w-mcl) wrote :

Seems to be related to this bug, the fix posted there (blacklist module 'acer_wmi' fixed the Issue for me.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/771758

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Setting this bug as a duplicate of bug 771758

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.