Enabling Wireless Problem in Linux


On linux; after disabling the wireless network connection from network manager, enabling wireless connection through user interface may not be executed. In order to solve the problem, rfkill should have been installed on your system to recover wireless connection.

"rfkill list" command will list status of each wireless connection devices; with unblock parameter, you can enable a wireless connection adapter which is blocked soft or hard.

user@dell:~$ rfkill list
0: dell-wifi: Wireless LAN
 Soft blocked: yes
 Hard blocked: no
1: dell-bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: no
2: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
3: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
user@dell:~$ rfkill unblock 0

"rfkill event" command listen wireless switch button actions and print out current status as follows. I highlighted switch off event outputs with red, below.

user@dell:~$ rfkill event
1335774980.907617: idx 0 type 1 op 0 soft 0 hard 0
1335774980.907731: idx 1 type 2 op 0 soft 0 hard 0
1335774980.907780: idx 2 type 1 op 0 soft 0 hard 0
1335774980.907835: idx 3 type 2 op 0 soft 0 hard 0
1335774996.766248: idx 2 type 1 op 2 soft 0 hard 1
1335774997.090180: idx 3 type 2 op 1 soft 0 hard 0
1335774997.712021: idx 0 type 1 op 2 soft 1 hard 1
1335774997.712142: idx 1 type 2 op 2 soft 1 hard 1
1335775314.616798: idx 2 type 1 op 2 soft 0 hard 0
1335775315.701988: idx 0 type 1 op 2 soft 0 hard 0
1335775315.702586: idx 1 type 2 op 2 soft 0 hard 0
1335775316.648942: idx 4 type 2 op 0 soft 0 hard 0
1335775316.650262: idx 4 type 2 op 2 soft 0 hard 0

For more information about rfkill

Take care

Popular posts from this blog

SoapUI 4.5.0 Project XML File Encoding Problem

COMRESET failed (errno=-32)

SoapUI - Dynamic Properties - Getting Current Time in DateTime Format