Kali Linux is one of the most popular distros to learn and perform ethical hacking and penetration testing tasks. However, if you have recently installed Kali on your computer or Virtual Machine then you definitely want to see your IP address of the computer via command-line tool. However, as you use the command ifconfig you may see an error 'bash: ifconfig: command not found'. So, to solve this generally, we start installing net-tools but that will also give an error 'Unable to locate package net-tools'. Henceforth, what to do now? Don't worry, go through the steps given in this tutorial and you will be good to go.
Airmon-ng is included in the Aircrack-ng suite. To get Airmon-ng it is enough to install Aircrack-ng. Sudo apt-get install aircrack-ng Airmon-ng Screenshots. Airmon-ng Tutorials. Three ways to set wireless interface to Monitor mode and Managed mode; Alfa AWUS052NH – Kali Linux Compatible USB Adapter; Best Kali Linux Compatible USB Wi-Fi. Tristan@debian:$ sudo apt install wireless-tools Reading package lists. Done Building dependency tree Reading state information. Done wireless-tools is already the newest version. When i try to run iwconfig: tristan@debian:$ iwconfig bash: iwconfig: command not found As you can see I am not.
Step 1: Switch to Apt directory of Kali Linux
On the Command terminal type;
Step 2: Edit Sources.list
Now, what we have to do is to access and edit the sources.list file of Kali Linux where it saved its all system or official repositories. Use the nano command:
Step 3: Add official Kali repository
Copy-paste the below given official repositories. First one is the standard one while the second if you want to install source packages. However, only the first one will be enough.
Airmon Ng Download
After adding use CTRL+X, type Y and hit the Enter button.
Step 4: Run system update command
To reflect the changes in the system and flush cache run the update command: Convertxtodvd full version.
Step 5: Install net-tools on Kali
Airmon Ng Command Not Found In Kali
Use the below command to get the network tools on your Linux, so that later we can use the ifconfig command.
Step 6: Use ifconfig command to check Ip address on Kali Linux
Finally, you can check the Ip address without any error: