Subject: Re: dhclient problems
To: Andrew Gillham <gillhaa@ghost.whirlpool.com>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 12/15/1999 15:25:09
In message <199912152022.PAA07054@ghost.whirlpool.com>, Andrew Gillham writes:
> 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. :(
I think that the panic is from trying to use eon0. I panicked my machine by
doing an 'ifconfig eon0 10.1' and trying a ping, just to see what it would
do...
--Steve Bellovin