I am using Ubuntu 11.10. In my dorm I have to change network configuration and then if it is successful, I have to enter a user name and password for wired internet connection. Anyway, I had many attempts but I couldn't achieve this, please look at my steps and tell me if there is something wrong. At the end there is an error, but I really don't have any idea about this error.
$ cat /etc/network/interfaces
auto eth0
iface eth0 inet static
address 172.030.014.038
netmask 255.255.255.252
network 192.168.2.0
broadcast 192.168.2.255
gateway 172.030.014.038
$ cat /etc/resolv.conf
nameserver 010.050.001.001
nameserver 010.050.001.002
$ /etc/init.d/networking stop
* Deconfiguring network interfaces... [ OK ]
$ /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces...
172.030.014.038: Unknown host
ifconfig: `--help' gives usage information.
Failed to bring up eth0
Note: IP-address, netmask, gateway, Preferred DNS server and Alternate DNS server are given by the management of Dorm. It was very easy in windows but I couldn't achieve in Ubuntu. I also tried to edit from "Edit Connections" but the save button is not enabled and I cannot save it.