Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
adsl connected but ping won't work
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
mmss
n00b
n00b


Joined: 21 Oct 2007
Posts: 7

PostPosted: Sun Oct 28, 2007 3:13 pm    Post subject: adsl connected but ping won't work Reply with quote

Since I emerged baselayout I cannot get my internet connection to work.
When I do
Code:
adsl-start
I get
Code:
.. Connected!

However when try to ping a web site it returns
Code:
ping: unknown host ....


Does anybody know what went wrong?

Thanks in advance
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sun Oct 28, 2007 3:53 pm    Post subject: Re: adsl connected but ping won't work Reply with quote

mmss wrote:
Does anybody know what went wrong?
Maybe DNS errors? Is the content of your /etc/resolv.conf the way it should be?

// SteveB
Back to top
View user's profile Send private message
mmss
n00b
n00b


Joined: 21 Oct 2007
Posts: 7

PostPosted: Sun Oct 28, 2007 4:45 pm    Post subject: Reply with quote

the content of /etc/resolv.conf is
Code:
nameserver 192.168.2.1

which is the IP address of my router.

Is this correct?
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sun Oct 28, 2007 4:48 pm    Post subject: Reply with quote

mmss wrote:
the content of /etc/resolv.conf is
Code:
nameserver 192.168.2.1

which is the IP address of my router.

Is this correct?
I don't know. Does your router do DNS resolving? If you have the Bind tools installed, then you could use something like that to check:
Code:
dig @192.168.2.1 in a www.gentoo.org

Does that give you a IP address?

// SteveB
Back to top
View user's profile Send private message
mmss
n00b
n00b


Joined: 21 Oct 2007
Posts: 7

PostPosted: Sun Oct 28, 2007 5:04 pm    Post subject: Reply with quote

Thanks a lot steveb. I've entered the nameserver IP address from my provider and now it works. Is there any way to detect the nameserver IP address automatically?
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sun Oct 28, 2007 6:44 pm    Post subject: Reply with quote

Normally the DHCP should give you the proper DNS IP. Did your router assigned the IP for your system? If so, then look in the router configuration if you can configure it to tell you the proper IP of the DNS.

// SteveB
Back to top
View user's profile Send private message
mmss
n00b
n00b


Joined: 21 Oct 2007
Posts: 7

PostPosted: Wed Oct 31, 2007 4:19 pm    Post subject: Reply with quote

thanks steveb and sorry for the delay. I will have a look in the router configuration.
Marcus
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