bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Questions on isc-dhcp]


From: Diego Nieto Cid
Subject: Re: [Fwd: Questions on isc-dhcp]
Date: Wed, 16 Feb 2011 14:33:15 -0300

Hi,

Here are my findings from a previous attempt at compiling dhcp.

2011/2/16 Svante Signell <svante.signell@telia.com>
>
> I'm trying to get isc-dhcp (4.1.1-P1-16) to build under GNU/Hurd but
> have got into some problems with respect to configurations (in addition
> to the PATH_MAX stuff, I intended to fix). Looks like HAVE_SOCKET has
> to be enabled, but in order for get_hw_addr to be defined, either
> Berkeley Packet Filtering (BPF), Linux Packet Filtering (LPF) or Data
> Link Provider Interface (DLPI) (SUN specific?) is needed.

Not really. IMHO, get_hw_addr is an orthogonal feature poorly
abstracted in isc-dhcp. To choose the implementation you have to use
dirty hacks like the following:

https://lists.isc.org/mailman/htdig/dhcp-hackers/2009-March/001781.html

The easiest way of getting it working under GNU/Hurd is by using
sockets for sending and receiving packets and LPF's get_hw_addr.

However, I found some trouble with hardware types identified with an
integer bigger than 255 (ARPHRD_IEEE802_TR and ARPHRD_FDDI) and I gave
up. Leaving them out when compiling for GNU is probably the easiest
workaround.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]