[syslinux] [PATCH] Add support for DHCP-Options [ CHADDR? ]

Ferenc Wagner wferi at niif.hu
Tue Aug 21 00:51:32 PDT 2007


"H. Peter Anvin" <hpa at zytor.com> writes:

> John Willis wrote:
> 
>> Any chance you could make DHCP CHADDR available in your macro patch?
>> It would solve a lot of problems for a lot of people I think.

No problem with that.  Although somebody has already offered sending
me such additions, they just never reached me.  But I'll implement it
myself, it's just a couple of lines.

>> [...] create a renderer for 00:xx:xx:xx:xx ect.. format.
>
> That would be a bad format to use, because it assumes Ethernet.
> PXELINUX uses 01-xx-xx-xx-xx-xx-xx for Ethernet addresses, since 01 is
> the ARP/DHCP media type for Ethernet.  The use of dashes rather than the
> more commonly used colons is because colons are special in many
> filesystems, and dashes is actually the official form as used by the
> IEEE.  In a Unix environment it's easy enough to convert forms.

Maybe not quite so in the pre-boot environment.  What if I added an
Ethernet specific and a general keyword to please more or less
everybody while also elevating my codig pleasure? :)
-- 
Cheers,
Feri.




More information about the Syslinux mailing list