Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can ping local computers but not www
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
noops
n00b
n00b


Joined: 10 Dec 2002
Posts: 9

PostPosted: Tue Dec 10, 2002 1:06 am    Post subject: can ping local computers but not www Reply with quote

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
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Tue Dec 10, 2002 1:26 am    Post subject: Reply with quote

What does netstat -nr report?

Maybe you didn't uncomment the gateway line in /etc/conf.d/net ;)
Back to top
View user's profile Send private message
noops
n00b
n00b


Joined: 10 Dec 2002
Posts: 9

PostPosted: Tue Dec 10, 2002 1:49 am    Post subject: Reply with quote

i seem to remember uncommenting that line, but I will try the netstat thing.
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Tue Dec 10, 2002 2:22 am    Post subject: Reply with quote

This could be a name resolution issue. What does your /etc/resolv.conf look like?
Back to top
View user's profile Send private message
noops
n00b
n00b


Joined: 10 Dec 2002
Posts: 9

PostPosted: Tue Dec 10, 2002 2:30 am    Post subject: Reply with quote

the resolv.conf is empty, no text at all
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Tue Dec 10, 2002 2:46 am    Post subject: Reply with quote

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
View user's profile Send private message
noops
n00b
n00b


Joined: 10 Dec 2002
Posts: 9

PostPosted: Tue Dec 10, 2002 3:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum