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 01-22-2006, 04:28 PM   #1
bond00
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 www.yahoo.com or google.com. 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, 05:41 PM   #2
arno
Member
 
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, 05:41 PM   #3
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

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


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
FC4 won't ping 127.0.0.1 or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 06:59 PM
Router works, but can't ping it! ar1 Linux - Networking 4 03-10-2005 04:42 PM
can't ping localhost, Internet works fine drowstar Linux - Networking 5 01-04-2005 04: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 10:18 AM
ping works, host works, ping host does not dublin212 Linux - Networking 3 04-01-2003 12:38 AM


All times are GMT -5. The time now is 04:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration