14

Can´t change IP to static...HELP!

view full story
linux-howto

http://askubuntu.com – After i installed Ubuntu Server 11.10 x64, i udated the sistem, rebooted, then: To change my ip to static - i writed: sudo nano /etc/network/interfaces where i changed line iface eth0 inet dhcp to ..iface eth0 inet static, then added this lines: address 192.168.1.222 netmask 255.255.255.0 gateway 192.168.1.1 than saved and with this command: sudo /etc/init.d/networking restart i wanted to restart networking in this PC. But the sistem throws this message: ifdown couldn´t read the interface file... ifup couldn´t read the interface file... /etc/network/in (HowTos)