You are not logged in.

#1 2013-12-04 14:06:31

FunkDojo
Member
Registered: 2013-12-04
Posts: 3

[SOLVED]wlan0 up - Operation not possible due to RF-kill

Hello everyone.

I've encountered trouble trying to activate my wlan0 interface and I was wishing that someone here might be able to help me.

$ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether

My attempt at trying to activate wlan0 renders the following;

$sudo ip link set wlan0 up
RTNETLINK answers: Operation not possible due to RF-kill

Unblocking everything with RF-Kill does not seem to change much in particular:

$rfkill list all
0: hp-wifi: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: yes

$sudo rfkill unblock all

$rfkill list all
0: hp-wifi: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes

Enabling/Disabling the wifi-button on my keyboard only changes the Hard Blocked-parameter of hp-wifi. The Soft block remains unchanged regardless of me trying to unblock all with rfkill.

The following is the output of dmesg | grep phy0

$ dmesg | grep phy0

[    7.460715] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[    7.465387] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5390 detected
[    7.500363] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'

dmesg | grep hp-wifi renders nothing.

Additional Information:

$uname -r
3.12.2-1-ARCH

Entire output of lsmod

Module                  Size  Used by
hid_generic             1161  0 
usbhid                 40577  0 
hid                    90678  2 hid_generic,usbhid
arc4                    2008  2 
rt2800pci              11055  0 
rt2800lib              74595  1 rt2800pci
rt2x00pci               2664  1 rt2800pci
rt2x00mmio              2945  1 rt2800pci
rt2x00lib              37807  4 rt2x00pci,rt2800lib,rt2800pci,rt2x00mmio
joydev                  9671  0 
eeprom_93cx6            2193  1 rt2800pci
mac80211              466554  3 rt2x00lib,rt2x00pci,rt2800lib
cfg80211              412854  2 mac80211,rt2x00lib
uvcvideo               72900  0 
kvm_amd                52575  0 
videobuf2_vmalloc       3280  1 uvcvideo
videobuf2_memops        2343  1 videobuf2_vmalloc
videobuf2_core         28027  1 uvcvideo
kvm                   389125  1 kvm_amd
videodev              111140  2 uvcvideo,videobuf2_core
hp_wmi                  7627  0 
media                  11751  2 uvcvideo,videodev
radeon               1284675  6 
sparse_keymap           3154  1 hp_wmi
crc_ccitt               1371  1 rt2800lib
rfkill                 15651  2 cfg80211,hp_wmi
r8169                  58399  0 
microcode              15216  0 
evdev                  10989  13 
mii                     4035  1 r8169
pcspkr                  2035  0 
k10temp                 3058  0 
psmouse                85428  0 
ttm                    63411  1 radeon
serio_raw               5049  0 
rtsx_pci_ms             7266  0 
drm_kms_helper         36286  1 radeon
memstick                7472  1 rtsx_pci_ms
drm                   238206  8 ttm,drm_kms_helper,radeon
sp5100_tco              5824  0 
thermal                 8532  0 
battery                 6837  0 
wmi                     8419  1 hp_wmi
i2c_piix4              10592  0 
snd_hda_codec_realtek    40772  1 
i2c_algo_bit            5399  1 radeon
i2c_core               24164  6 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon,videodev
ac                      3332  0 
acpi_cpufreq           10779  0 
video                  11228  0 
snd_hda_intel          36904  0 
shpchp                 25465  0 
button                  4677  0 
snd_hda_codec         149633  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6340  1 snd_hda_codec
snd_pcm                77709  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          7242  2 snd_pcm,snd_hda_intel
snd_timer              18726  1 snd_pcm
snd                    59173  6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5450  1 snd
processor              24935  3 acpi_cpufreq
ext4                  474187  4 
crc16                   1367  1 ext4
mbcache                 6082  1 ext4
jbd2                   83504  1 ext4
sr_mod                 14898  0 
cdrom                  34848  1 sr_mod
sd_mod                 30789  6 
rtsx_pci_sdmmc         14332  0 
mmc_core               95691  1 rtsx_pci_sdmmc
ahci                   22896  5 
libahci                21401  1 ahci
rtsx_pci               32049  2 rtsx_pci_ms,rtsx_pci_sdmmc
libata                170792  2 ahci,libahci
ehci_pci                4000  0 
ohci_pci                4072  0 
ohci_hcd               23937  1 ohci_pci
ehci_hcd               59220  1 ehci_pci
usbcore               180136  6 uvcvideo,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
scsi_mod              130669  3 libata,sd_mod,sr_mod
usb_common              1656  1 usbcore

Entire output of lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6320]
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3)
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
07:00.0 Network controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe

It is worth mentioning that this problem has remained persistent throughout multiple linux distributions that I've tried on my laptop. The Wifi works fine in Windows 7 but as soon as I switch to any linux distro it stops working.

I intend to put your advice to good use so any help would be very appreciated.

Last edited by FunkDojo (2013-12-05 13:02:45)

Offline

#2 2013-12-05 00:26:02

maxarsys
Member
Registered: 2013-09-01
Posts: 61

Re: [SOLVED]wlan0 up - Operation not possible due to RF-kill

Check if you can unblock your phy0 again when you first disconnect the wire from the ethernet card or set you eth0 interface down if it doesnt work.

Try this as well :

$sudo rm /dev/rfkill

and reboot.

Last edited by maxarsys (2013-12-05 00:36:36)

Offline

#3 2013-12-05 06:17:05

maxarsys
Member
Registered: 2013-09-01
Posts: 61

Re: [SOLVED]wlan0 up - Operation not possible due to RF-kill

As I can see you have two wireless interaces, when i see only phy0 with rfkill, it's maybe your hp-wifi that force to disable phy0 interace. I think if you blacklist the driver it might allow phy0 to be enabled.

Please download and install lshw available in the community repo and enter in a terminal :

$ lshw -c network

Last edited by maxarsys (2013-12-05 06:26:05)

Offline

#4 2013-12-05 08:25:32

bjornoslav
Member
Registered: 2011-11-01
Posts: 137

Re: [SOLVED]wlan0 up - Operation not possible due to RF-kill


asus ux303la, core i5@1.6ghz, 8 gb ram, 500gb hdd, hd4400 gpu, crux x64 with openbox

Offline

#5 2013-12-05 13:02:14

FunkDojo
Member
Registered: 2013-12-04
Posts: 3

Re: [SOLVED]wlan0 up - Operation not possible due to RF-kill

This worked!
Blacklisting the hp_wmi kernel module and unblocking everything with rfkill
aswell as re-checking the state of the wifi-hardware switch seemed to do the trick!

Thank you so much!

Offline

#6 2013-12-05 17:38:47

bjornoslav
Member
Registered: 2011-11-01
Posts: 137

Re: [SOLVED]wlan0 up - Operation not possible due to RF-kill

You're welcome. smile


asus ux303la, core i5@1.6ghz, 8 gb ram, 500gb hdd, hd4400 gpu, crux x64 with openbox

Offline

Board footer

Powered by FluxBB