LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how do I get linux to use a router? (https://www.linuxquestions.org/questions/linux-networking-3/how-do-i-get-linux-to-use-a-router-76135/)

capitalistpigle 07-26-2003 02:01 PM

how do I get linux to use a router?
 
I've been having great difficulty trying to find an adequate howto of how to get my redhat 7.1 system to use my SMC barricade (SMC7004ABR) router to surf the web. I'm a newbie so I'm not really sure of what to do, but I've tried what little I can think of to get it working to no avail.

I'm using the router to surf the net right now so I'm sure it's configuration can't be the problem. And when I type the IP of the router into the URL of Mozillia and the other browsers on linux I get the setup screen which is to be expected, but get "unable to find host" whenever I enter in a web address.

If anyone out there either direct me to a good howto, or perhaps give me a brief description of the steps necessary to get it working I would greatly appreciate it. Thank you very much for your time and consideration.

Looking_Lost 07-26-2003 02:10 PM

I don't know the particulars of that router but just to clear something up

You're getting your IP settings from DHCP on the router?

You say you are using the router to surf the internet right now

How are you getting to websites, are you typing in the IP address of them? (or are you on windows or something)

if so do

cat /etc/resolv.conf

if there's no output then you've no dns servers defined

capitalistpigle 07-26-2003 03:05 PM

right now I'm using a separate windows computer to surf the internet, I do have DHCP on the router, and there was no output when I typed that in.

Looking_Lost 07-26-2003 03:18 PM

So windows is picking everything up fine, this sort of thing seems to have popped up a few times in what seems like the space of five minutes :)

You've got an IP cos you can access the router via linux browser

if you can ping an external site from linux try pinging 64.179.4.146 then it's picked up the gateway too

All you should hopefully have to do is enter your ISP dns servers into

/etc/resolv.conf

nameserver IP_of_DNS_SERVER
nameserver IP_of_DNS_SERVER

if everything is tickety-boo then maybe just setup using static settings


All times are GMT -5. The time now is 08:27 AM.