← Back to team overview

desktop-packages team mailing list archive

[Bug 887834] [NEW] Unable to find wireless networks after toggling wireless

 

Public bug reported:

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.default_state=0 parameter. I do
the following commands:

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):

http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=339229e4c698c61e20a28bfc33d8501490891427

network-manager 0.9.1.95 is not available in oneiric-proposed. Would it
be possible to add the 0.9.1.95 version of the network-manager and
network-manager-applet packages into oneiric-proposed?

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: network-manager 0.9.1.90-0ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
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.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 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)

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/887834

Title:
  Unable to find wireless networks after toggling wireless

Status in “network-manager” package in Ubuntu:
  New

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.default_state=0 parameter. I do
  the following commands:

  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):

  http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=339229e4c698c61e20a28bfc33d8501490891427

  network-manager 0.9.1.95 is not available in oneiric-proposed. Would
  it be possible to add the 0.9.1.95 version of the network-manager and
  network-manager-applet packages into oneiric-proposed?

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: network-manager 0.9.1.90-0ubuntu5
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  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.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/887834/+subscriptions


Follow ups

References