[Solved] eth0 or eth1: error fetching interface information: Device not found on Ubuntu

Error:-
etho: error fetching interface information: Device not found
OR
eth1: error fetching interface information: Device not found

Solution:-

Correct your interfaces file if you are sure that device is there OR cable is connected.

cat /etc/network/interfaces
auto eth0
iface eth0 inet static
address 104.70.x.x
gateway 104.70.x.x
netmask 255.255.x.x
auto eth1
iface eth1 inet static
address 172.16.x.x
netmask 255.255.x.x
auto lo
iface lo inet loopback

Replace address, gateway, netmask with your own actual IPs.

Leave a Reply