You are not logged in.
Pages: 1
While trying to resolve other laptop (HP dv9653cl) issues, I broke the ZIF connector that attaches my hardware wireless switch to the mainboard. While the wifi card itself still works, I can't change the rfkill switch state. On boot it is a 1 and I have connectivity, but after a short amount of time (varying from about 30 seconds to 5 minutes) it changes to a 2 and my wifi card no longer detects networks.
I can't change the state manually. I tried adding "rfkill=1" to the end of my boot options in /boot/grub/menu.lst" but nothing changes. I've also tried to reload my wifi card and relevant drivers manually (ifconfig wlan0 down/up & modprobe [-r iwlagn), but that seems to have no positive effect.
Warranty has expired so sending it into HP is not an option, and for now I can't afford the replacement part. I was wondering, is there was another way to ensure that the rfkill state stays at 1 (or if infact the way I am doing it is incorrect), or if there was some software that would allow me to bypass the kill switch all together similar to HP's propiretary software (which DOESN"T run under wine)?
My specs:
bash-3.2# lspci | grep Wireless
02:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
bash-3.2# lsmod | grep iwl
iwlagn 88856 0
iwlcore 76692 1 iwlagn
rfkill 9392 2 iwlcore
mac80211 159260 2 iwlagn,iwlcore
led_class 3384 2 sdhci,iwlcore
cfg80211 36492 3 iwlagn,iwlcore,mac80211
Before wifi is lost:
bash-3.2# cat /sys/class/rfkill/rfkill0/state
1
wlan0 Scan completed :
Cell 01 - Address: 00:18:3F:28:99:21
ESSID:"2WIRE803"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=65/100 Signal level:-68 dBm Noise level=-127 dBm
Encryption key:on
IE: Unknown: 00083257495245383033
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: Unknown: 0706555320010B14
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000021af58fda3
Extra: Last beacon: 1753ms ago
Cell 02 - Address: 00:22:6B:6B:33:AC
ESSID:"Luse Network"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=43/100 Signal level:-83 dBm Noise level=-127 dBm
Encryption key:on
IE: Unknown: 000C4C757365204E6574776F726B
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD09001018020015000000
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000000ba970f3183
Extra: Last beacon: 1693ms ago
Cell 03 - Address: 00:12:17:BF:3B:F9
ESSID:"linksys"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=33/100 Signal level:-89 dBm Noise level=-127 dBm
Encryption key:off
IE: Unknown: 00076C696E6B737973
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD06001018010000
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000003a04a1fb059
Extra: Last beacon: 1793ms ago
Cell 04 - Address: 00:0D:3A:2D:C4:F4
ESSID:"KY's Wi Fi"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=42/100 Signal level:-84 dBm Noise level=-127 dBm
Encryption key:on
IE: Unknown: 000A4B592773205769204669
IE: Unknown: 010482040B16
IE: Unknown: 030106
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:tsf=000001c39ffe4614
Extra: Last beacon: 1716ms ago
Cell 05 - Address: 00:21:7C:9F:69:31
ESSID:""
Mode:Master
Channel:8
Frequency:2.447 GHz (Channel 8)
Quality=54/100 Signal level:-76 dBm Noise level=-127 dBm
Encryption key:on
IE: Unknown: 0000
IE: Unknown: 010882848B960C121824
IE: Unknown: 030108
IE: Unknown: 050400010000
IE: Unknown: 0706555320010B1B
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000002b637579181
Extra: Last beacon: 1736ms ago
Cell 06 - Address: 00:21:7C:9F:69:31
ESSID:" "
Mode:Master
Channel:8
Frequency:2.447 GHz (Channel 8)
Quality=48/100 Signal level:-80 dBm Noise level=-127 dBm
Encryption key:on
IE: Unknown: 000120
IE: Unknown: 010882848B0C12961824
IE: Unknown: 030108
IE: Unknown: 0706555320010B1B
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000056c6ead6e4d
Extra: Last beacon: 1713ms ago
Cell 07 - Address: 00:18:F8:6A:5F:58
ESSID:"5"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=42/100 Signal level:-84 dBm Noise level=-127 dBm
Encryption key:on
IE: Unknown: 000135
IE: Unknown: 010882848B962430486C
IE: Unknown: 03010B
IE: Unknown: 050400010000
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD06001018020017
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000000051d088184
Extra: Last beacon: 1630ms ago
Cell 08 - Address: 00:21:91:DD:83:63
ESSID:"dlink"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=65/100 Signal level:-68 dBm Noise level=-127 dBm
Encryption key:off
IE: Unknown: 0005646C696E6B
IE: Unknown: 010882848B960C183048
IE: Unknown: 03010B
IE: Unknown: DD0600032F010001
IE: Unknown: 2A0100
IE: Unknown: 32041224606C
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000001da10cb31b0
Extra: Last beacon: 1570ms ago
Cell 09 - Address: 00:14:51:6A:18:5D
ESSID:"Matthew Pikaard's Network"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=33/100 Signal level:-89 dBm Noise level=-127 dBm
Encryption key:on
IE: Unknown: 00194D6174746865772050696B616172642773204E6574776F726B
IE: Unknown: 010482848B96
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 32080C1218243048606C
IE: Unknown: DD0700039301660000
IE: Unknown: DD06001018020000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000037da7eb0f8e
Extra: Last beacon: 1943ms ago
Cell 10 - Address: 00:22:3F:2F:13:8A
ESSID:"NETGEAR"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=35/100 Signal level:-88 dBm Noise level=-127 dBm
Encryption key:off
IE: Unknown: 00074E455447454152
IE: Unknown: 010882848B960C183048
IE: Unknown: 03010B
IE: Unknown: 2A0100
IE: Unknown: 32041224606C
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000009d623bc2d42
Extra: Last beacon: 1593ms ago
After wifi is lost:
bash-3.2# cat /sys/class/rfkill/rfkill0/state
2
bash-3.2# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:"dlink"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=14 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
bash-3.2# iwlist wlan0 scan
wlan0 No scan results
bash-3.2# echo 1 > /sys/class/rfkill/rfkill0/state
bash: echo: write error: Operation not permitted
Last edited by EnvoyRising (2009-04-02 12:23:49)
Offline
I've got a similar problem with /sys/class/rfkill/rfkill0/state - when it has '2' inside, I can't change it, and so enable wifi. My hardware wifi-switch isn't broken, but it works only if wifi was ON when I shutdown or reboot my laptop from Windows. And I don't know how to change such stange behaviour
English is not my native language, sorry.
Offline
...
bash-3.2# echo 1 > /sys/class/rfkill/rfkill0/state bash: echo: write error: Operation not permitted
I also got the same problem on my Eee PC model 901 using kernel version 2.6.31-rc1. Using 2.6.31-rc1, I can no longer turn on/off both wireless and bluetooth.
Last edited by zodmaner (2009-07-03 13:23:11)
Offline
Some time ago I've googled the solution.
rmmod iwl<3945, or agn or smth else>
modprobe iwl<the same>
The use of rmmod to unload module is important (it doesn't work when I used modprobe in both commands)!
English is not my native language, sorry.
Offline
For me, the method at http://bkhome.org/blog/?viewDetailed=01379 worked perfectly:
# rmmod ath5k
# rfkill block wifi
# rfkill unblock wifi
# modprobe ath5k
# ifconfig wlan0 up
Offline
Pages: 1