Can't get out of Airplane mode

It’s a new install of openSuSe v.12.2 on a Lenovo G560. For about a week after the initial installation the wifi had been working without issue. But, now the Network Manager (in GNome) is set for Airplane mode and the wifi nic is set to off (disabled) and I can’t reset the settings.

/sbin/lspci -v output:

Network controller: Atheros Communication AR9285 Wireless Network
Adaptor (pci - express) (rev 01)
Subsystem: Lenovo Device 30a1
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at d6400000 (64-bit non-prefetchable) [size=64]
Capabilities: <access denied>
Kernal driver in use: ath9k

Thank you in advance[/size]

On 09/23/2012 07:46 PM, elloyd2323 wrote:
>
> It’s a new install of openSuSe v.12.2 on a Lenovo G560. For about a week
> after the initial installation the wifi had been working without issue.
> But, now the Network Manager (in GNome) is set for Airplane mode and the
> wifi nic is set to off (disabled) and I can’t reset the settings.
>
> /sbin/lspci -v output:
>
> Network controller: Atheros Communication AR9285 Wireless Network
> Adaptor (pci - express) (rev 01)
> Subsystem: Lenovo Device 30a1
> Flags: bus master, fast devsel, latency 0, IRQ 17
> Memory at d6400000 (64-bit non-prefetchable) [size=64]
> Capabilities: <access denied>
> Kernal driver in use: ath9k

Turn on your wireless switch. The see the state, run the command
‘/usr/sbin/rfkill list’.

[/size]

I tried the wireless switch in Network Manager; it will not switch on. I ran the command you provided I received an error message stating that no file or directory exist.[/size]

On 2012-09-25 01:46, elloyd2323 wrote:

>> Turn on your wireless switch. The see the state, run the command
>> ‘/usr/sbin/rfkill list’.
>
> I tried the wireless switch in Network Manager; it will not switch on.
> I ran the command you provided I received an error message stating that
> no file or directory exist.

So, install it.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Thank you for your help, so full of know how

On 2012-09-25 02:46, elloyd2323 wrote:
>
> robin_listas;2490249 Wrote:
>> On 2012-09-25 01:46, elloyd2323 wrote:
>>
>>>> Turn on your wireless switch. The see the state, run the command
>>>> ‘/usr/sbin/rfkill list’.

>
> Thank you for your help, so full of know how

What, you don’t know how to install a package? Then say so.

It comes in the rfkill package in the oss repo.


> http://download.opensuse.org/distribution/12.2/repo/oss/suse/x86_64/rfkill-0.4-14.1.2.x86_64.rpm

If you don’t have network, use another computer, bring it over with a usb stick, then install
using the command “rpm”.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

> Thank you for your help, so full of know how

What, you don’t know how to install a package? Then say so.

No, I’d suggest that the user did not know the implication of the error message, but rather than be patronizing and cryptic, let’s concentrate on assisting and being as helpful as required

@elloyd2323: Assuming you have wired network access, you could do the following

sudo zypper in rfkill

Thank you it is all fixed.

Well done. :slight_smile:

Hi all,
I too cannot get out of airplane mode. Below is the output of rfkill

ubiroute@linux-984x:/> /usr/sbin/rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes

Trying to turn off from top right corner is also not working.
Harware keys to enable wlan also not working.
Intrestingly yesterday airplane mode was disabled(automatically ?? I don’t know)
I had problems connecting wifi afterwards but this airplane issue has to be sorted out first
Kindly help… Thanks

It is generally a good idea to start your own new thread than tacking on to an old one like this. Your hardware is bound to be different anyway. :slight_smile:

Your output confirms that the device is hard-blocked, but this usually means a hardware switch (or similar) preventing the device from being enabled.

Sorry for that, I will start in future, but how can I turn off airplane mode. I restarted by PC even. Seems to be not getting away :frowning:
For more info about my hardware

02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
    Subsystem: Hewlett-Packard Company Device 1795
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at 50500000 (64-bit, non-prefetchable) [size=16]
    Capabilities: <access denied>
    Kernel driver in use: bcma-pci-bridge
    Kernel modules: bcma

[/size]

The answer will likely depend on your hardware and its possible quirks. Can you tell us a bit more about the laptop make/model and the wireless chipset details?

/usr/sbin/hwinfo --wlan

This may be helpful (but only if relevant to your hardware)

Output of /usr/sbin/hwinfo --wlan

15: PCI 200.0: 0282 WLAN controller                             
  [Created at pci.319]
  Unique ID: qru8.N0h4zxfwtV0
  Parent ID: qTvu.olauARqtFiD
  SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Model: "Broadcom WLAN controller"
  Vendor: pci 0x14e4 "Broadcom"
  Device: pci 0x4727 
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x1795 
  Revision: 0x01
  Driver: "bcma-pci-bridge"
  Driver Modules: "bcma"
  Device File: wlp2s0
  Features: WLAN
  Memory Range: 0x50500000-0x50503fff (rw,non-prefetchable)
  IRQ: 17 (no events)
  HW Address: c0:18:85:07:90:4b
  Link detected: no
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v000014E4d00004727sv0000103Csd00001795bc02sc80i00"
  Driver Info #0:
    Driver Status: bcma is active
    Driver Activation Cmd: "modprobe bcma"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #8 (PCI bridge)


Sorry, I missed the previous reference to the Broadcom Corporation BCM4313 device, and the Hewlett-Packard Company laptop. Anyway, did you check out the link?

Yeah I have opened the link…should I follow the steps as given in that link ? As I am a bit scared as written over there

Don´t ever do that unless you’re excactly knowing what you’re doing.
…Shuld I try that ???

They’re referring to enabling ‘Airplane’ mode in the first place :slight_smile: You have nothing to lose.

I did

sudo /usr/sbin/rfkill unblock wifi

I pressed wifi switch then enter, but still sudo /usr/sbin/rfkill list all giving

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes

No help…

One other thing - I wonder if your HP laptop uses the ‘hp-wmi’ module. Mine does.

Try

modprobe hp-wmi

then see if you get something like

# rfkill list    
2: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
5: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: no

If so, then do

rfkill unblock wifi

and wait 30 seconds or so.

Soft unblocking the ‘hp-wifi’ device should hard unblock the ‘phy0’ wireless device.

# rfkill list
2: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
5: hp-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no

sudo /sbin/modprobe hp-wmi

no result… :frowning: