LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Network isnt working right (https://www.linuxquestions.org/questions/linux-newbie-8/network-isnt-working-right-215958/)

roger.k 08-10-2004 05:41 PM

Network isnt working right
 
Hi,

im new to the linux thing and I need some help. i got an old computer from work that had redhat linux on it and took it home and plugged it into my dsl modem. all the lights are on, but the browser thing doesnt work. my friend helped me setup the network over the phone using "netconfig" and the system "pings" but only if you type in an ip address. here are teh network settings:


IP address: 66.116.69.98
Netmask: 255.255.255.0
Default gateway (IP): 66.116.69.1

Whats wrong?




Roger.K

HappyTux 08-10-2004 05:57 PM

Re: Network isnt working right
 
Quote:

Originally posted by roger.k
Hi,

im new to the linux thing and I need some help. i got an old computer from work that had redhat linux on it and took it home and plugged it into my dsl modem. all the lights are on, but the browser thing doesnt work. my friend helped me setup the network over the phone using "netconfig" and the system "pings" but only if you type in an ip address. here are teh network settings:


IP address: 66.116.69.98
Netmask: 255.255.255.0
Default gateway (IP): 66.116.69.1

Whats wrong?




Roger.K

Edit the file /etc/resolv.conf and put the proper name server in that your ISP provides. An example of the file.

Code:

>$ cat /etc/resolv.conf
nameserver 192.168.1.10
nameserver 192.168.1.34

You only need one for it to work properly.

roger.k 08-11-2004 06:33 PM

Cool. Thanks. i found the part on the webpage about name servers and put that in the resolv.conf file and it works. Thanks alot!

roger.k


All times are GMT -5. The time now is 05:02 AM.