Public bug reported:

When I disable the Wireless network (either using nm-applet's Enable
wireless option or nmcli nm wifi) and then enable it again, I expect the
WiFi network to be enabled again. Instead, NetworkManager believes it
has been disabled by the killswitch.

Steps to reproduce:

(1) The Wireless network is enabled and active
$ LC_ALL=C nmcli dev
DEVICE     TYPE              STATE        
eth0       802-3-ethernet    unavailable  
wlan0      802-11-wireless   connected    
$ LC_ALL=C nmcli nm
RUNNING         STATE           WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN 
     
running         connected       enabled         enabled    enabled         
disabled  
$ rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: sony-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: sony-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
8: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

(2) Turn off the WiFi using nmcli (relevant syslog messages shown below)
$ nmcli nm wifi off

NetworkManager[8008]: <info> WiFi hardware radio set disabled
NetworkManager[8008]: <info> WiFi now disabled by radio killswitch

(3) Try turning on the WiFi using nmcli. No effect, no syslog messages. rfkill 
even believes the hardware killswitch has been used.
$ nmcli nm wifi on
$ rfkill list
0: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
1: sony-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
2: sony-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
8: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

(4) Try restarting NetworkManager: it still believes the WiFi has been disabled 
by the hardware killswitch.
$ sudo restart network-manager
network-manager start/running, process 9004

NetworkManager[9004]: <info> found WiFi radio killswitch rfkill1 (at 
/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/SNY5001:00/rfkill/rfkill1)
 (driver Sony Notebook Control Driver)
NetworkManager[9004]: <info> found WiFi radio killswitch rfkill0 (at 
/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/ieee80211/phy0/rfkill0) 
(driver (unknown))
NetworkManager[9004]: <info> WiFi disabled by radio killswitch; enabled by 
state file

(5) Not even a system reboot solved the problem. Using rfkill is the only way 
to restore the WiFi connectivity.
$ rfkill unblock all

NetworkManager[9004]: <info> WiFi now enabled by radio killswitch
NetworkManager[9004]: <info> (wlan0): bringing up device.

$ rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: sony-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: sony-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
9: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

Version information:
Ubuntu 12.04.1 LTS
rfkill 0.4-1ubuntu2
network-manager 0.9.4.0-0ubuntu4.1
linux-image-3.2.0-29-generic-pae 3.2.0-29.46

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager 0.9.4.0-0ubuntu4.1
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
Uname: Linux 3.2.0-29-generic-pae i686
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
CRDA:
 country GB:
        (2402 - 2482 @ 40), (N/A, 20)
        (5170 - 5250 @ 40), (N/A, 20)
        (5250 - 5330 @ 40), (N/A, 20), DFS
        (5490 - 5710 @ 40), (N/A, 27), DFS
Date: Sat Aug 11 18:06:03 2012
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
IpRoute:
 default via 192.168.0.1 dev wlan0  proto static 
 169.254.0.0/16 dev wlan0  scope link  metric 1000 
 192.168.0.0/24 dev wlan0  proto kernel  scope link  src 192.168.0.104  metric 2
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: network-manager
UpgradeStatus: Upgraded to precise on 2012-04-26 (106 days ago)
nmcli-dev:
 DEVICE     TYPE              STATE         DBUS-PATH                           
       
 eth0       802-3-ethernet    unavailable   
/org/freedesktop/NetworkManager/Devices/1  
 wlan0      802-11-wireless   connected     
/org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   WIFI  
     WWAN-HARDWARE   WWAN      
 running         0.9.4.0    connected       enabled       enabled         
enabled    enabled         disabled

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


** Tags: apport-bug i386 precise 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/1035664

Title:
  NetworkManager: WiFi now disabled by radio killswitch

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

Bug description:
  When I disable the Wireless network (either using nm-applet's Enable
  wireless option or nmcli nm wifi) and then enable it again, I expect
  the WiFi network to be enabled again. Instead, NetworkManager believes
  it has been disabled by the killswitch.

  Steps to reproduce:

  (1) The Wireless network is enabled and active
  $ LC_ALL=C nmcli dev
  DEVICE     TYPE              STATE        
  eth0       802-3-ethernet    unavailable  
  wlan0      802-11-wireless   connected    
  $ LC_ALL=C nmcli nm
  RUNNING         STATE           WIFI-HARDWARE   WIFI       WWAN-HARDWARE   
WWAN      
  running         connected       enabled         enabled    enabled         
disabled  
  $ rfkill list
  0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  1: sony-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  2: sony-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
  8: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

  (2) Turn off the WiFi using nmcli (relevant syslog messages shown below)
  $ nmcli nm wifi off

  NetworkManager[8008]: <info> WiFi hardware radio set disabled
  NetworkManager[8008]: <info> WiFi now disabled by radio killswitch

  (3) Try turning on the WiFi using nmcli. No effect, no syslog messages. 
rfkill even believes the hardware killswitch has been used.
  $ nmcli nm wifi on
  $ rfkill list
  0: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
  1: sony-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
  2: sony-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
  8: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

  (4) Try restarting NetworkManager: it still believes the WiFi has been 
disabled by the hardware killswitch.
  $ sudo restart network-manager
  network-manager start/running, process 9004

  NetworkManager[9004]: <info> found WiFi radio killswitch rfkill1 (at 
/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/SNY5001:00/rfkill/rfkill1)
 (driver Sony Notebook Control Driver)
  NetworkManager[9004]: <info> found WiFi radio killswitch rfkill0 (at 
/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/ieee80211/phy0/rfkill0) 
(driver (unknown))
  NetworkManager[9004]: <info> WiFi disabled by radio killswitch; enabled by 
state file

  (5) Not even a system reboot solved the problem. Using rfkill is the only way 
to restore the WiFi connectivity.
  $ rfkill unblock all

  NetworkManager[9004]: <info> WiFi now enabled by radio killswitch
  NetworkManager[9004]: <info> (wlan0): bringing up device.

  $ rfkill list
  0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  1: sony-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  2: sony-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
  9: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

  Version information:
  Ubuntu 12.04.1 LTS
  rfkill 0.4-1ubuntu2
  network-manager 0.9.4.0-0ubuntu4.1
  linux-image-3.2.0-29-generic-pae 3.2.0-29.46

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: network-manager 0.9.4.0-0ubuntu4.1
  ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
  Uname: Linux 3.2.0-29-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: i386
  CRDA:
   country GB:
        (2402 - 2482 @ 40), (N/A, 20)
        (5170 - 5250 @ 40), (N/A, 20)
        (5250 - 5330 @ 40), (N/A, 20), DFS
        (5490 - 5710 @ 40), (N/A, 27), DFS
  Date: Sat Aug 11 18:06:03 2012
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  IpRoute:
   default via 192.168.0.1 dev wlan0  proto static 
   169.254.0.0/16 dev wlan0  scope link  metric 1000 
   192.168.0.0/24 dev wlan0  proto kernel  scope link  src 192.168.0.104  
metric 2
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: network-manager
  UpgradeStatus: Upgraded to precise on 2012-04-26 (106 days ago)
  nmcli-dev:
   DEVICE     TYPE              STATE         DBUS-PATH                         
         
   eth0       802-3-ethernet    unavailable   
/org/freedesktop/NetworkManager/Devices/1  
   wlan0      802-11-wireless   connected     
/org/freedesktop/NetworkManager/Devices/0
  nmcli-nm:
   RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   
WIFI       WWAN-HARDWARE   WWAN      
   running         0.9.4.0    connected       enabled       enabled         
enabled    enabled         disabled

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to