View previous topic :: View next topic |
Author |
Message |
noops n00b
Joined: 10 Dec 2002 Posts: 9
|
Posted: Tue Dec 10, 2002 1:06 am Post subject: can ping local computers but not www |
|
|
I have an ECS K75A (or whatever it is) with onboard LAN. I ran net-setup and told it to use DHCP to automatically set it up. I tested the connection by pinging google and other sites but 'host not found'. I can ping other computers on my network though just fine. I am guessing the problem lies in the router. I am not sure how to setup gentoo to connect to the internet through the router. I have a netgear rp114 router if that helps.
Debian seems to work alright and I tried to compare the settings it had with what gentoo had but with no luck. I am rather new to linux so I may have been looking in the wrong places. I am stuck so any help is appreciated.
-noops |
|
Back to top |
|
|
splooge l33t
Joined: 30 Aug 2002 Posts: 636
|
Posted: Tue Dec 10, 2002 1:26 am Post subject: |
|
|
What does netstat -nr report?
Maybe you didn't uncomment the gateway line in /etc/conf.d/net |
|
Back to top |
|
|
noops n00b
Joined: 10 Dec 2002 Posts: 9
|
Posted: Tue Dec 10, 2002 1:49 am Post subject: |
|
|
i seem to remember uncommenting that line, but I will try the netstat thing. |
|
Back to top |
|
|
mrchuckles Tux's lil' helper
Joined: 09 Jul 2002 Posts: 125 Location: Severn, MD
|
Posted: Tue Dec 10, 2002 2:22 am Post subject: |
|
|
This could be a name resolution issue. What does your /etc/resolv.conf look like? |
|
Back to top |
|
|
noops n00b
Joined: 10 Dec 2002 Posts: 9
|
Posted: Tue Dec 10, 2002 2:30 am Post subject: |
|
|
the resolv.conf is empty, no text at all |
|
Back to top |
|
|
mrchuckles Tux's lil' helper
Joined: 09 Jul 2002 Posts: 125 Location: Severn, MD
|
Posted: Tue Dec 10, 2002 2:46 am Post subject: |
|
|
Well, that's your problem, then. Try to do a 'dhcpcd eth0', and then check it again. If it's still empty, then your DHCP server (probably your router) isn't handing out DNS information with the address lease. Check with your ISP for the IP addresses of your name servers. Put them in the resolv.conf like so:
Code: | nameserver x.x.x.x
nameserver x.x.x.x |
PS - If this is really your problem, then you should still be able to ping Google by ip address. Try it, they're at 216.239.37.101. |
|
Back to top |
|
|
noops n00b
Joined: 10 Dec 2002 Posts: 9
|
Posted: Tue Dec 10, 2002 3:04 am Post subject: |
|
|
Thanks for all the suggestions. Look like it was a dns problem because I could ping google's ip. After doing 'dhcpcd eth0' it is all working now. Now i am re-encouraged to get this gentoo installed.
-noops |
|
Back to top |
|
|
|