UBUNTU Ver.10.04 LAN NETWORK SETTING PROBLEM.

Asked By 0 points N/A Posted on -
qa-featured

I started using UBUNTU OS Ver.10.04I started using UBUNTU OS Ver.10.04 a few days ago and I faced a problem that I am first time successful setting of my LAN network setting , but soon after using that setting gone bad but I tried again. And I failed to set this setting of Lane Network, why not work this again and I also restarted several times my pc but it does not work. Please reply in detail will be appreciated. Thanks.

SHARE
Answered By 0 points N/A #83194

UBUNTU Ver.10.04 LAN NETWORK SETTING PROBLEM.

qa-featured

Hi,
Open “Terminal” and enter the following command:
sudo –i
it will ask for root password. Enter the root password and the terminal prompt will change into Root.

Now let’s consider that the network interface card which is used to connect to the internet is “eth0”. So issue the following commands.

First of all, let’s disable the NIC:

ifconfig eth0 down

let us assume that we need to assign 192.168.0.100 IP and netmask 255.255.255 with eth0. To do this:

ifconfig eth0 inet 192.168.0.100 netmask 255.255.255.0 up

lets add the default gateway (suppose 192.168.0.1) by issuing:

route add default gw 192.168.0.1

let us add a DNS server, to do this edit the file /etc/resolv.conf and insert the DNS server address, such as 208.67.222.222

now you should be able to surf the internet.

Login/Register to Answer

Related Questions