Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-22-2006, 03:28 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
PING works, but no Internet in Ubuntu only

Ok, here's what I'm trying to do. I have a dsl modem, but that only has one ethernet connection so I plug that directly into my Linksys router so I can have multiple connections. The DSL modem is a DHCP server so I disable the DHCP server in the Linksys and also in the linksys enable the router function instead of the gateway (In the firmware, there is an option to have the router act a gateway or router).

Here's my problem. In windows the Internet works fine, but in Ubuntu Linux it works intermittenly. Sometimes it works and others it doesn't....mostly doesn't work. The weird thing is that I know the NIC is working properly because I can always ping or The internet browser is where the problem is and I have tried multiple browsers. I also have a laptop with Linux and it has the exact same problem as the server.

Does anyone have any idea about this problem. I am so frustrated...I have spent a while trying to set this up. Also is the way I have the linksys router setup the best way...meaning disabling the DHCP server and using the DHCP server from the DSL modem? I didn't know which way is best, but this way seems to work with Windows computers....but I have a server and need linux to work as well.
Old 01-22-2006, 04:41 PM   #2
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Just use DHCP to make life easier.
Just dont mix ip-scopes.
So set the modem to use 192.168. scope and the linksys 172.16. scope and let nature do its work.
Old 01-22-2006, 04:41 PM   #3
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
You have to write your DNS servers in /etc/resolv.conf
Something like this:
nameserver yyy.yyy.yyy.yyy
Hope this helps.


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
FC4 won't ping or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 05:59 PM
Router works, but can't ping it! ar1 Linux - Networking 4 03-10-2005 03:42 PM
can't ping localhost, Internet works fine drowstar Linux - Networking 5 01-04-2005 03:09 PM
Can ping network but can't ping any internet ip when I hard set the ip Streme Linux - Wireless Networking 4 04-13-2004 09:18 AM
ping works, host works, ping host does not dublin212 Linux - Networking 3 03-31-2003 11:38 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:19 AM.

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