iwconfig not found, but wireless tools installed

Run iwconfig as root :

 su -c "iwconfig"

Or grant administrative privileges for user then run:

sudo iwconfig

For unprivileged user you can run iwconfig after adding the following line to your .bashrc :

export PATH="$PATH:/sbin"

Update:

On debian Buster iwconfig is under /usr/sbin , you can add /usr/sbin to your PATH.

Add the following lines to your /etc/environment

PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin:/usr/local/sbin:/sbin"

then :

source /etc/environment

Try to reinstall wireless-tools :

 sudo apt-get install --reinstall wireless-tools

You need to be root to use iwconfig!

Tags:

Debian

Wifi