You are not logged in.

#1 2004-09-01 22:41:28

HaloGray
Member
Registered: 2004-09-01
Posts: 24

Yet another dhcp issue

I added the module for my network card into rc.conf and set dhcp up for eth0.

I get an ip and nameservers from the router, and I can ping myself, and other computers on the network... but whenever I try to ping a website nothing goes through.

I see the name with the resolved ip next to it, but I never get any returned packets.

Any ideas?

Note: using this same computer, my windows partion can surf the web fine, so I don't think it's a security setting with the router... I'm positive it's something with my configs.


Help.

Offline

#2 2004-09-01 22:53:47

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Yet another dhcp issue

if you use dhcp, make sure, the ROUTES=(!gateway) do not (!) use the gateway="default gw 192.168.0.1" specified

so the correct rc.conf with dhcp should look like this:

eth0="dhcp"

gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

The impossible missions are the only ones which succeed.

Offline

#3 2004-09-01 23:44:44

HaloGray
Member
Registered: 2004-09-01
Posts: 24

Re: Yet another dhcp issue

Well I use dhcp at various locations (this is a laptop), and not all of the gateways have the same address.  I rebooted into windows to try and ping for the hell of it... and it seems within the last couple of days the router here has put a restriction on pings.  So the problem wasn't with my linux setup, and I feel like a silly ass.

Thanks for your help, and sorry for the bother.


Help.

Offline

#4 2004-09-01 23:53:53

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Yet another dhcp issue

no problem


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB