first i removed the network manager
sudo update-rc.d -f NetworkManager removethen i added my network configuration by editing the file /etc/network/interfaces
sudo gedit /etc/network/interfaces
so it looks like
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.xxx
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.xxx
then i edited the file /etc/resolv.conf to add my DNS
sudo nano -w /etc/resolv.confto look like
# Generated by NetworkManager
nameserver 192.168.1.xxx
then i restart the networking by :
sudo /etc/init.d/networking restart
if u still have problems, i suggest you restart the machine and check, the above steps is how i got my network up .
THANK YOU
0 comments:
Post a Comment