Just a thought

Network Manager (Ubuntu 8.10)

Posted by stringofthoughts on April 1, 2009

Ubuntu is one of my favorite Linux distribution. I ‘ve been a happy user with Ubuntu 8.04 LTS (Hardy heron) but when i changed to Ubuntu 8.10 i was not impressed. There are a lot of bugs like this one in it’s network manager. You setup a static IP and it works really well until to reboot the system and the whole setting is gone. It’s kinda annoying. The good thing for me from this bug is that i learned how to setup network manager manually 😀

You nee to update 2 files for this /etc/resolv.conf and /etc/network/interfaces. resolve.conf contains you DNS (Domain Name Server) and interfaces contains your network information like IP, netmask and gatewy.

So here are the step

$ sudo apt-get remove –purge network-manager

Now update your DNS server

$ sudo gedit /etc/resolv.conf // open resolv.conf

Enter your DNS

nameserver 10.200.1.11      // Change with your DNS
nameserver 10.200.1.12

Save the file

Now update your network interface

$ sudo gedit /etc/network/interfaces // open network interface

Enter IP, Netmask, Gateway

auto lo eth0
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.5.1.7                  // Change with your IP
netmask 255.255.0.0      // Change with your netmask
gateway 10.5.250.1          // Change with your gateway
Save the file

Now, just restart the networking:

$ sudo /etc/init.d/networking restart

And that’s it 🙂 . Now you know how to change network settings manually.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: