Zainstaluj ifconfig na Ubuntu
apt-get update
apt-get install net-tools
dcrearer
apt-get update
apt-get install net-tools
sudo apt-get install net-tools or sudo ifconfig
#installation
$ sudo apt install net-tools
#Then use it
$ ifconfig
sudo yum install net-tools