On Tue, Apr 20, 2010 at 10:42 AM, Mehdi <akri...@gmail.com> wrote: > Dear Friends > I use the Linux 9.10 in my office, and i'm just the person which use the > linux in office other staff use the XP, and we useing the Local network ( > Lan) by connect to net. my Pc use the Auto IP ( For example: 192.168.1.2) > but sometime my net does not work and i like to Configure my IP to other > Number. > > Already i change the IP and DNS, for few days it working but not always. it > just working with the Auto. > > Can i use the Terminal to do it? or if i want use the network connection ( > default of Linux which it is in the Top-Toolbar) what is the right > process..!?? > > Please give me the right process for both way// >
I assume you are using DHCP ? Then you can just do First, do $ ifconfig -a Then check the connection which you're using (should be eth* or wlan* - generally eth0 or wlan 0, but can be something else also) Next do $ sudo dhclient eth0 (I assume eth0 is the lan connection. It could be wlan0 etc) If you want to change the DNS server to some manual value, you need to edit /etc/resolvconf/resolv.conf.d/original . This is sort of tricky, if you use the computer from multiple places or use VPN etc. Need more info before suggesting how to do it. Regards Abhinav http://indimark.blogspot.com http://www.employees.org/~abhinav/blog -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in