I use network manager app in ubuntu 8.04 to set a static IP. But in ubuntu 8.10, network manager doesn't seem to work. I some how configured static IP, subnet and gateway but it still takes the DHCP settings.
Help me guys!
I use network manager app in ubuntu 8.04 to set a static IP. But in ubuntu 8.10, network manager doesn't seem to work. I some how configured static IP, subnet and gateway but it still takes the DHCP settings.
Help me guys!
Add the following lines to "/etc/networking/interfaces" file as shown below:
Then either reboot your computer or type the following in terminal window[command line window of linux] :Code:auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.100 netmask 255.255.255.0 gateway 192.168.0.1
This might work for you...Code:sudo /etc/init.d/networking restart
Hey thanks! that worked but there is one more problem.
when i type "ipconfig" it shows that those settings are in place but DNS doesn't seem to be working! Any advice for fixing this?
Just put IP of DNS servers in "/etc/resolv.conf " file. this will surely solve your problem...! All the best!
Hey! that worked too... thanks a lot man! finally i can surf the net from my computer! thanks again!
Bookmarks