LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-26-2005, 10:15 PM   #1
lelandbay
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
Internet access from behind a router


Ok, first i'm a newb. I just installed suse 10 and am having problems connecting to the internet from behind my router(wrtp54g) at my house.

If I plug directly into the cable modem it works fine. Soon as I plug into the router I can't access the internet. I can access the router (can ping it, can configure it through the html portal), and when I boot into windows it works fine. And it is the exact same problem at my parents house (dlink 614+).

So, whats going on? do have to change some setting in Yast or on the router, or do I need a linux compatible router?

lelandbay
 
Old 12-26-2005, 10:20 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Have you set the router as your default gateway? From the command line, as root do:

route add default gw <IP of router>

If that works, you can use YaST to set it permanently.

Also, check that your name servers are being set up correctly (i.e. are listed in your /etc/resolv.conf file). If not, you can add them, one per line:

nameserver <IP of DNS server>
 
Old 12-26-2005, 10:26 PM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Usually this is not a problem as I just installed suse 10 here and it had no problems setting everything up itself... As said, give it the IP of the router at least...
 
Old 12-27-2005, 06:57 AM   #4
lelandbay
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks! Its working now. I had to add the line to the resolv.conf file however the connection is very slow compared to when I am in Windows. i.e. it takes 20 seconds to load google. Do you know why this is?

Also, I added "nameserver 192.168.15.1" to the resolv.conf file. Should I add the host name of the router in "linksys"?
 
  


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
I can access router settings but no internet access overclock Linux - Wireless Networking 7 12-13-2005 07:59 PM
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE thomas939 Linux - Wireless Networking 12 12-13-2005 10:28 AM
Can't access internet thru router fpperryaz Linux - Wireless Networking 7 07-17-2005 09:38 AM
Can't access internet through router!!! aXoneX Linux - Networking 21 12-22-2004 03:47 AM
can't access internet via router stormadvisor Linux - Networking 5 11-05-2004 06:36 PM

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

All times are GMT -5. The time now is 07:18 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