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: