Hello all,
On Jan 16, 2008 5:27 PM, mukesh yadav mak.gnu@gmail.com wrote:
hello friends. i'm using ubuntu...and xfce desktop environment. I'm not able to open the network manager to add the Ip address. and i dont know how to do this via terminal. so please help me how i can open network manager to change my static IP and gateway and other info...
This can be done using the ifconfig command (/sbin/ifconfig). For example, to set an IP to the interface eth0, you need to give something like this
#ifconfig eth0 192.168.1.1 up
One other way of doing it is by editing the /etc/network/interfaces file and adding the required information there. An example would be
auto eth0 iface eth0 inet static address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1