LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-26-2003, 02:01 PM   #1
capitalistpigle
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
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.
 
Old 07-26-2003, 02:10 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
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

Last edited by Looking_Lost; 07-26-2003 at 02:13 PM.
 
Old 07-26-2003, 03:05 PM   #3
capitalistpigle
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 07-26-2003, 03:18 PM   #4
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Small Linux Router/firewall behind D-Link Hardware router dleidlein Linux - Networking 6 04-30-2007 05:12 AM
Linux Router & Netgear Wireless Router DMaCATO Linux - Wireless Networking 1 04-30-2004 09:16 AM
/etc/resolv.conf configuration when behind a router(not a linux router) rmanocha Linux - Networking 2 04-28-2004 01:52 AM
Linux Router robe8 Linux - Security 2 03-28-2004 09:49 PM
ADSL Router + Linux Router + LAN = HELP!!! linuxlois Linux - General 2 09-16-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration