LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PING works, but no Internet in Ubuntu only (https://www.linuxquestions.org/questions/linux-networking-3/ping-works-but-no-internet-in-ubuntu-only-406629/)

bond00 01-22-2006 04:28 PM

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.

arno 01-22-2006 05:41 PM

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.

Boby 01-22-2006 05:41 PM

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.


All times are GMT -5. The time now is 07:19 PM.