Network Manager is a program that allows you to easily configure network settings on Bodhi Linux / Ubuntu Desktop. It is mainly used on the desktop and is there to make configuring and managing network setup as painless and automatic as possible. Network Manager, as with all programs fail sometimes. When it does, configuring your network interface traditionally is the most reliable method. In this tutorial, I’ll show you how. Keep in mind that these settings are for a wired network not wireless.
Getting Started:
First we will remove Network Manager, open a terminal editor and add this line:
sudo apt-get purge network-manager network-manager-gnome
DHCP Setup
If your using DHCP setup for your network add these 2 lines to /etc/network/interfaces:
These 2 lines will already exist:
auto lo iface lo inet loopback
Make a space then add these two lines:
auto eth0 iface eth0 inet dhcp
Configure Static Settings
If you are using a static connection you should know what you are doing here:
To configure a static address, add the lines shown below to /etc/network/interfaces: Make sure you replace the IP address with your own.
These 2 lines will already exist:
auto lo iface lo inet loopback
Make a space then add these lines:
auto eth0 iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 #for bodhi 2.x, use your dns servers: dns-nameservers 69.78.96.14 66.174.92.14
The following is for Bodhi 1.x only:
If you’re using a static IP address settings, then you need to enter your DNS servers as well.
To do that add these two lines to /etc/resolv.conf:
nameserver 69.78.96.14 nameserver 66.174.92.14
That’s all there is to it. Restart your computer and you’re done. This is the traditional way to configure your network interface in Ubuntu. If done correctly, your network connection will become stable and reliably connect to the network everytime.