Установите ifconfig на Ubuntu
apt-get update
apt-get install net-tools
dcrearer
apt-get update
apt-get install net-tools
apt-get install net-tools