View previous topic :: View next topic |
Author |
Message |
mmss n00b
Joined: 21 Oct 2007 Posts: 7
|
Posted: Sun Oct 28, 2007 3:13 pm Post subject: adsl connected but ping won't work |
|
|
Since I emerged baselayout I cannot get my internet connection to work.
When I do
I get
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 |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Oct 28, 2007 3:53 pm Post subject: Re: adsl connected but ping won't work |
|
|
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 |
|
|
mmss n00b
Joined: 21 Oct 2007 Posts: 7
|
Posted: Sun Oct 28, 2007 4:45 pm Post subject: |
|
|
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 |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Oct 28, 2007 4:48 pm Post subject: |
|
|
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:
Does that give you a IP address?
// SteveB |
|
Back to top |
|
|
mmss n00b
Joined: 21 Oct 2007 Posts: 7
|
Posted: Sun Oct 28, 2007 5:04 pm Post subject: |
|
|
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 |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Oct 28, 2007 6:44 pm Post subject: |
|
|
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 |
|
|
mmss n00b
Joined: 21 Oct 2007 Posts: 7
|
Posted: Wed Oct 31, 2007 4:19 pm Post subject: |
|
|
thanks steveb and sorry for the delay. I will have a look in the router configuration.
Marcus |
|
Back to top |
|
|
|