Ubuntu: Missing network interface and no UI
I'm running 14.04.5 and somehow my system got into a state where my nVidia drivers, lightdm, and all window managers seemed to contribute to a broken graphical system. So, I uninstalled all of it while keeping the base system. I can now boot to a prompt.
However, I don't have a valid wired network interface any more.
I attempted to add my bootable USB drive as an Apt repository and updated, except nothing seemed to be findable/installable. So, I took it back out. This to say that I don't currently have a way to install any packages.
I see that the e1000e kernel module is loaded, so my network interface should be accessible. I tried deleting /etc/udev/rules.d/70-persistent-net.rules (implied that it might work here: ) and then rebooting, but nothing changed.
I'd appreciate some insight. Thanks.
61 Answer
To show all physical interfaces (in any state):
ip link showTo specifically show eth0:
ip link show eth0This might show:
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 link/ether 3c:97:0e:bb:8e:a8 brd ff:ff:ff:ff:ff:ffNote that it's down.
To configure the interface for DHCP and bring it up:
dhclient eth0
ip link set eth0 up