Subject: Re: dhclient problems
To: None <mcmahill@mtl.mit.edu>
From: Andrew Gillham <gillhaa@ghost.whirlpool.com>
List: netbsd-users
Date: 12/15/1999 15:22:06
mcmahill@mtl.mit.edu writes:
> 
> 
> I'm trying to get dhcp going on a friends machine and am having problems.
> Its NetBSD-1.4.1/i386.  It works fine on my NetBSD-1.4.1/mac68k.  As far
> as I can tell, everything is done the same on these machines in
> /etc/{rc.conf, dhclient.conf} after substituting the correct network
> interfaces.
> 
> During boot, I see
> 
> Can't attach interface eon0 to bpf device /dev/bpf0:  Device not
> configured, exiting.
> 
> So is the complaint about eon0 or bpf0?  In dhclient.conf, in the leases
> section, there is a line
> 
>   interface "ep0";

Use 'dhclient_flags="ep0"' in /etc/rc.conf and see if that fixes it.
Also, try running dhclient twice in a row to see if it panics.
I haven't filed a send-pr yet, but I can consistently trigger a panic
by running dhclient twice.  Particularly if dhclient fails to get
a lease, and I then run it again. :(

-Andrew
-- 
-----------------------------------------------------------------
Andrew Gillham                            | This space left blank
gillham@whirlpool.com                     | inadvertently.
I speak for myself, not for my employer.  | Contact the publisher.