So I followed these steps to get static ip and lost connection
sudo -s
nano /etc/network/interfaces
changed
auto lo
iface lo inet loopback
to same as above with
auto eth-d
iface eth0 inet static
address etc
then reset networking
So I followed these steps to get static ip and lost connection
sudo -s
nano /etc/network/interfaces
changed
auto lo
iface lo inet loopback
to same as above with
auto eth-d
iface eth0 inet static
address etc
then reset networking
Your file is misconfigured, try something like this:
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address xxx.xxx.xxx.xxx(enter your ip here)
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx(enter gateway ip here,usually the address of the router)
DNS xxx.xxx.xxx.xxx
Then:
network-managerinstalled ? AFAIK if you havenetwork-managerinstalled wired connection is controlled bynetwork-managerand you need to setup static ip throughnetwork-managerinterface – sagarchalise Mar 30 '13 at 17:23eth0in the first andeth-din the second example? What's that meant to be? How did you "reset" networking? – 0xC0000022L Mar 30 '13 at 17:30