4:26 AM

setting up network in debian

Debian is one of the stable Linux distributions available.Most users find it difficult to connect to network.The main prloblem in this is that Debian loads the netwrok drive atleast the ethernet port on by itself.The problem is that we fail to realize this.This is because a basic Linux system lacks many components like network manager applets which notifies that the network has been setup.when we see no notifications we usually misunderstand it as no network connections.
Usually net can be dierectly accessed.
If this fails normal ethernet connecton can be established by editing the file /etc/network/interfaces.
The file sholud look like


# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp




Now rebooting the system will load the eth0 for use.


Now the network manager applet can be loaded by using commandline.


inorder to do so repostries must be added editing the file /etc/apt/source.list
deb http://http.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://http.us.debian.org/debian/ squeeze main contrib non-free 
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

Now the package can be installed using the following commands.

aptitude update
apt-get install network-manager-gnome

Rebooting the system should solve the problem.

0 comments: