LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-01-2004, 02:01 AM   #1
vierstein
LQ Newbie
 
Registered: Sep 2003
Location: NZ
Distribution: Red Hat 9
Posts: 4

Rep: Reputation: 0
Unhappy redhat9-router-internet problem


I'm having a problem with my internet connection on redhat9, i have a router (nokia m11), connected to eth0, and i can see its interface and make changes to it through a browser the usual way. trying to access any site however gives me a site not found error almost instantly.
I am dual booting and in winxp, there is no problem with the internet connection, so i think there must be something wrong with a setting in RH9, but i cant work out what it is.
TIA

-vierstein
 
Old 06-01-2004, 05:01 AM   #2
carlmarshall
Member
 
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
I would think that it's either that you have no default gateway set, or there's no DNS resolution occurring. Either way, here goes:

/etc/sysconfig/network should contain the line:

GATEWAY=xxx.xxx.xxx.xxx (the IP address of the router)

/etc/resolv.conf should containthe line(s):

nameserver xxx.xxx.xxx.xxx (1st DNS server)
nameserver yyy.yyy.yyy.yyy (2nd DNS server)

See if that helps.

If not, are you using DHCP?

Carl.
 
Old 06-01-2004, 05:04 AM   #3
vierstein
LQ Newbie
 
Registered: Sep 2003
Location: NZ
Distribution: Red Hat 9
Posts: 4

Original Poster
Rep: Reputation: 0
actually the gateway is already set which is why i can access the router, and yes i am using dhcp.
i havent tried setting a dns server since thats a setting in the router, and winxp doesnt need it, but ill try it, thanks.
 
Old 06-01-2004, 05:35 AM   #4
carlmarshall
Member
 
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
The ability to be able to access the router does not mean that it's set as the gateway. It sounds as though the router is acting as your DHCP server, that means you need to have the DHCP client installed on your RH system.

Carl.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
suse router problem, laptop cannot access internet Th3James Linux - Networking 2 11-27-2005 06:32 AM
SSH from Internet to RH9 through xavi 7028r router problem xtra Linux - Networking 6 06-29-2004 06:10 AM
problem with internet speed within my lan after linux router ilovebytes Linux - Networking 6 02-10-2004 12:41 PM
RedHat9 and Linksys router jmral23 Linux - Newbie 2 01-21-2004 01:18 PM
Internet Problem Through a Router on MDK 9.1 Chryzmo Linux - Networking 1 12-27-2003 12:58 PM

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

All times are GMT -5. The time now is 04:55 PM.

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