Tuesday, April 09, 2013

SIOCSIFFLAGS: Operation not possible due to RF-kill Solution

Tech Blog - Here is short how to on fixing an alert raised on Linux when attempting  to bring up an wireless interface using ifconfig.

Below is the problem.
# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not possible due to RF-kill


To fix do rfkill command with the list switch below
# rfkill list
0: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes
1: acer-wireless: Wireless LAN
    Soft blocked: yes
    Hard blocked: no

Now lets unblock the wireless LAN by doing the below command
# rfkill unblock wifi no





Now recheck the rfkill list it should show something like the one below, then you should be able to bring up the interface.
# rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: acer-wireless: Wireless LAN
    Soft blocked: no
    Hard blocked: no

Thats it.

No comments:

For suggestion and concerns E-mail