5.3 + dhclient: bpf needed in kernel config?
brooks at one-eyed-alien.net
Mon Nov 1 03:57:27 PST 2004
On Mon, Nov 01, 2004 at 08:48:50PM +0900, Rob wrote:
> Brooks Davis wrote:
> >On Mon, Nov 01, 2004 at 07:57:16PM +0900, Rob wrote:
> >>I have left out bpf in the kernel config and
> >>all of a sudden dhclient (for DHCP) exits with an
> >>error message, complaining that bpf is not there?
> >>Since when (and why) is bpf needed by /sbin/dhclient?
> >bpf has always been required to run dhclient. We'd love to see that
> >requirement go away, but we need to modify he network stack to allow
> >programs to bind to an interface with a 0.0.0.0 address and no one has
> >done so yet.
> Aha. So I added bpf to my kernel config, recompiled and
> installed everything again.
> Yesterday this PC has been upgraded from 4.10 to most
> recent 5.3. I have in /etc/rc.conf
> which worked jsut fine with 4.10, but seems to misserably
> fail with 5.3.
> Dhclient binds rl0 to 192.168.1.22 all the time, which
> seems to be a kind of default for a failing dhclient.
> Is something else, unusual, needed in 5.3, that is critical
> to dhclient?
dhclient works with GENERIC and I believe all you need is bpf.
There is no default address for dhclient so that's not your problem.
Even if there were a default it would almost certaintly be in the
Microsoft autoconfig address space which is not part of the 192.168/16
network. It is possiable you are using an unexpired prior lease in
/var/db/dhclient.leases. I'd tend to suspect your dhcp server or a NIC
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041101/d5b22cd7/attachment.bin
More information about the freebsd-current