Subject: Re: Still struggling with networking
To: Andy Ball <ball@cyberspace.org>
From: Andrew Gillham <gillham@vaultron.com>
List: port-i386
Date: 07/30/2001 10:10:43
On Mon, Jul 30, 2001 at 02:58:19PM -0400, Andy Ball wrote:
>
> Hello!
>
> It seems that my DHCP confusion is not yet completely
> resolved. Running dhclient produces a few error messages
> about IPV6 not being enabled, and then I get error messages
> displayed on the console every few seconds...
>
> dhclient: send_packet: network is down
>
> ...I tried running dhclient -p ne0 which may have reduced
> the frequency of these errors a little, but I would like to
> be able to weed them out altogether.
If your 'ne0' is working correctly these errors should not be related
to that interface. You mean 'dhclient -q ne0' right?
It might be that your 'ne0' is bouncing in and out of the switch or
something. Look at 'netbsd -in' to see if Ierrs/Oerrs/Colls is increasing.
> Apart from these error messages dhclient seems to be
> working. It succeeds in getting an IP address and
> apparently DNS addresses too (I can access remote hosts by
> name rather than IP number).
To get /etc/resolv.conf populated add this to your /etc/dhclient.conf:
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name;
require subnet-mask, routers, domain-name-servers;
The require is not strictly necessary, but will ensure that you get an
error if you don't get the DNS server information.
> Anyone have any idea what I'm doing wrong?
No, other than using a crappy ethernet card. :)
-Andrew