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-manager
installed ? AFAIK if you havenetwork-manager
installed wired connection is controlled bynetwork-manager
and you need to setup static ip throughnetwork-manager
interface – sagarchalise Mar 30 '13 at 17:23eth0
in the first andeth-d
in the second example? What's that meant to be? How did you "reset" networking? – 0xC0000022L Mar 30 '13 at 17:30