Network configuration problem
- by Musti
in my dorm I have to change network configuration and then if it is successfull, I have to enter a user name and password for wired internet connection. Anyway, I had many attempts but I couldnt achieve, and please look at my steps and tell me if there is something wrong and at the end there is an error, but I really dont have any idea about this error. (I am a new ubuntu user, and network is far away of my interests)
1) /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
2) sudo gedit /etc/resolv.conf
nameserver 010.050.001.001
nameserver 010.050.001.002
3) /etc/init.d/networking stop
Deconfiguring network interfaces... [ OK ]
4) /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 ara given by the management of Dorm. It wad very easy in windows but I couldnt achieve in Ubuntu. I also tried to edit from "edit connections" but the save button is gray and I cannot save it.
Thanks in advance. / Musti