Unable to find wireless networks after toggling wireless
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager |
Fix Released
|
Medium
|
|||
network-manager (Ubuntu) |
Fix Released
|
Medium
|
Keng-Yu Lin | ||
Oneiric |
Fix Released
|
Medium
|
Keng-Yu Lin | ||
Precise |
Fix Released
|
Medium
|
Keng-Yu Lin |
Bug Description
I am using Ubuntu 11.10 and network-manager 0.9.1.90-0ubuntu5.
If I use either the network manager applet or the nmcli -p nm wifi on|off command to toggle wireless on and off, wireless networks are no longer seen even though wireless is enabled and the wireless LED is on.
My Samsung N150 netbook has the rfkill.
rfkill unblock wifi
nmcli -p nm wifi on
nmcli -p nm wifi off
nmcli -p nm wifi on
At this point the wireless LED is on. If I do nmcli -p dev wifi, it shows no wireless networks. Other commands show the following:
$ nmcli -p nm wifi
================
WiFi enabled
================
WIFI
----------------
enabled
$ rfkill list
0: samsung-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
$ nmcli -p dev
=======
Status of devices
=======
DEVICE TYPE STATE
-------
wlan0 802-11-wireless unavailable
eth0 802-3-ethernet connected
wlan0 should not be unavailable. It should be disconnected.
I have to disable wireless and use the rfkill command to block/unblock wifi to get wireless working again. I suspect this issue has been fixed in network-manager 0.9.1.95 as there was a patch to nm-udev-manager.c that was committed on September 30, 2011 (core: improving handling of rfkill):
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: network-manager 0.9.1.90-0ubuntu5
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Date: Tue Nov 8 18:44:22 2011
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20111007.1)
IpRoute:
default via 192.168.33.1 dev eth0 proto static
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.33.0/24 dev eth0 proto kernel scope link src 192.168.33.101 metric 1
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
tags: | added: patch |
Changed in network-manager: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in network-manager (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in network-manager (Ubuntu Oneiric): | |
status: | New → In Progress |
Changed in network-manager (Ubuntu Oneiric): | |
importance: | Undecided → Medium |
assignee: | nobody → Keng-Yü Lin (lexical) |
I applied the upstream patch identified in the bug report to network-manager 0.9.1.90-0ubuntu5 and it did resolve the issue.