I have a recent install of ubuntu server (all command line) and at the time of the install I was not connected to the internet.
when entering sudo apt-get update I get a bunch of messages saying failed to fetch repos.
I am unable to ping google, askubuntu, or any other site
sudo lshw -class network
indicates both eth0 and eth1 are disabled.
ifup eth0
results in
ignoring unknown interface eth0=eth0
is there a way to test the connection from cable modem to machine is ok? (I checked a few times and believe my cable/connections are ok, but I can check again)
thanks bp
cat /etc/network/interfaces
The loopback network interface auto lo iface lo inet loopback
The primary network interface auto eth0 iface eth0 inet dhcp
sudo service network-manager restart
sudo ifconfig eth0 up
sudo dhclient eth0
Now your connection should be fine.