How To Install And Use rfkill in Kali Linux

Imagine a situation when you have to book an air/train ticket , or check an important mail quickly and the only option you have is a wifi connection from either your smart phone or surroundings, and you have only some Linux variant installed on your system. And even after installing all the necessary drivers, you are unable to get the wi-fi on your laptop working? Frustrating right? If yes, then you might want to read on about this useful utility called rfkill which you can keep in handy for those wary situations.

I own a MBP and have always found it cumbersome to get the wi-fi working on my system, mainly during those geek/hacker meetups, the only times I have to use wireless Internet. I remember randomly switching wireless on and off through the hardware switch and rebooting my system multiple times in order to get it working. Well, this was the situation until I discovered rfkill – a tool for enabling and disabling wireless devices including Wireless LAN, Bluetooth, etc. Here follows a tutorial on how to use it (fire up the Terminal before proceeding):

rfkill’s list command lets you see all the available devices, if you don’t find any of your devices, make sure you have turned the hardware switch ON and have installed the drivers for each. Here is what I get on my system after enabling the hardware switch:

[email protected] ~ # rfkill list
0: brcmwl-0: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
2: dell-wwan: Wireless WAN
Soft blocked: yes
Hard blocked: yes
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
[email protected] ~ #

You may be trying to do some advanced networking in Kali Linux. The tutorial you are following says: “type rfkill block all.” You try, and are presented with: an ERROR MESSAGE!? Don’t panic, there is an easy way to install rfkill in Kali Linux.

Step One:

Start Kali Linux and open a terminal.

Step Two:

Type: apt-get install rfkill

How To Install rfkill In Kali Linux

If you’re Kali Linux updated you might already have rfkill installed.

Step Three:

Kali Linux will now check its databases and ask if you want to install rfkill. Type y for yes.

Kali Linux will now finish the process of installing rfkill. Never stop an installation once it has started! This might ruin Kali.

Kali Linux will now finish the process of installing rfkill. Never stop an installation once it has started! This might ruin Kali.

Back to top button
Close