Connected to DHCP server but cannot access internet

View: New views
4 Messages — Rating Filter:   Alert me  

Connected to DHCP server but cannot access internet

by Rehceb Rotkiv :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I can suddenly no longer access the internet with my Debian Etch (default kernel + updates). I get "Page not found" in Firefox and ping www.somesite.com says "unknown host". ifdown eth0 && ifup eth0 and the thereby invoked dhclient work as expected, that is I get a valid IP address by the DHCP server etc. I can also ping the DHCP server, its just the internet that doesn't work. The firewall is switched off. What should I do next to diagnose the problem? I know that the DHCP server is not at fault, because other operating systems on my computer can reach the internet (and Debian used to as well!).

With best regards,
Rehceb Rotkiv

Re: Connected to DHCP server but cannot access internet

by Tod Detre-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What is in your /etc/resolv.conf? Do the correct name servers appear in
there?

If you ping an ip address of a server, does it work? What about using an
IP in firefox?

If the name server is set up correctly in /etc/resolv.conf, but you're
not getting name resolution, make sure you can get to the nameserver.
Try pinging it and/or traceroute ( traceroute -p 53 <nameserverip> ).

Rehceb Rotkiv wrote:

> I can suddenly no longer access the internet with my Debian Etch (default
> kernel + updates). I get "Page not found" in Firefox and ping
> www.somesite.com says "unknown host". ifdown eth0 && ifup eth0 and the
> thereby invoked dhclient work as expected, that is I get a valid IP address
> by the DHCP server etc. I can also ping the DHCP server, its just the
> internet that doesn't work. The firewall is switched off. What should I do
> next to diagnose the problem? I know that the DHCP server is not at fault,
> because other operating systems on my computer can reach the internet (and
> Debian used to as well!).
>
> With best regards,
> Rehceb Rotkiv



Regards,
Tod Detre

- --
Pantek, Inc. - http://www.pantek.com/ - info@...
+1-877-LINUX-FIX - Expert Open Source Software IT Services.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGesoTIP3eD7Sc0oYRAv/BAKCxJhyLL+gsJ4UwvFZtb3H7Kt9CAgCdFE/Y
07g7Bc3y3SC2kzdm/9RyBes=
=EIW1
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Connected to DHCP server but cannot access internet

by Matus UHLAR - fantomas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Rehceb Rotkiv wrote:
> > I can suddenly no longer access the internet with my Debian Etch (default
> > kernel + updates). I get "Page not found" in Firefox and ping
> > www.somesite.com says "unknown host". ifdown eth0 && ifup eth0 and the
> > thereby invoked dhclient work as expected, that is I get a valid IP address
> > by the DHCP server etc.

On 21.06.07 14:57, Tod Detre wrote:
> What is in your /etc/resolv.conf? Do the correct name servers appear in
> there?
>
> If you ping an ip address of a server, does it work? What about using an
> IP in firefox?
>
> If the name server is set up correctly in /etc/resolv.conf, but you're
> not getting name resolution, make sure you can get to the nameserver.
> Try pinging it and/or traceroute ( traceroute -p 53 <nameserverip> ).

do you have package 'resolvconf' installed? It should take care of your
resolv.conf file and configure it properly from interface-up-scripts.

--
Matus UHLAR - fantomas, uhlar@... ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Connected to DHCP server but cannot access internet

by Rehceb Rotkiv :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, I got it. There was a second DHCP server in the network without an internet connection! While the other operating systems (Windows) by chance chose the right server, Debian got the wrong one. Funny, who would have guessed that... Thanks for your help anyway!