Torgeir.Wulfsberg at kongsberg.com
2012-Nov-21 14:49 UTC
[syslinux] pxelinux load configuration files (ARP type code, and IPaddress in hex)
Hi! As documented: http://www.syslinux.org/wiki/index.php/PXELINUX When pxelinux "boots" it is looking for this: /mybootdir/pxelinux.cfg/01-88-99-aa-bb-cc-dd /mybootdir/pxelinux.cfg/C000025B /mybootdir/pxelinux.cfg/C000025 /mybootdir/pxelinux.cfg/C00002 /mybootdir/pxelinux.cfg/C0000 /mybootdir/pxelinux.cfg/C000 /mybootdir/pxelinux.cfg/C00 /mybootdir/pxelinux.cfg/C0 /mybootdir/pxelinux.cfg/C /mybootdir/pxelinux.cfg/default Is is possible to make pxelinux look for MAC and IP, removing one hex digit (or 2 for mac) and try again like this: /mybootdir/pxelinux.cfg/01-88-99-aa-bb-cc-dd /mybootdir/pxelinux.cfg/C000025B /mybootdir/pxelinux.cfg/01-88-99-aa-bb-cc /mybootdir/pxelinux.cfg/C000025 /mybootdir/pxelinux.cfg/01-88-99-aa-bb /mybootdir/pxelinux.cfg/C00002 /mybootdir/pxelinux.cfg/01-88-99-aa /mybootdir/pxelinux.cfg/C0000 /mybootdir/pxelinux.cfg/01-88-99 /mybootdir/pxelinux.cfg/C000 /mybootdir/pxelinux.cfg/01-88 /mybootdir/pxelinux.cfg/C00 /mybootdir/pxelinux.cfg/01 /mybootdir/pxelinux.cfg/C0 /mybootdir/pxelinux.cfg/C /mybootdir/pxelinux.cfg/default We could be in need for a custom file/menu for this group of addresses (as an example): /mybootdir/pxelinux.cfg/01-88-99-aa Could that be possible to add to syslinux? Regards, Torgeir Wulfsberg ________________________________ CONFIDENTIALITY This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or subject to export regulations, and is only meant for the intended recipient(s). Any disclosure, copying, distribution or use is prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in error, please delete it immediately from your system and notify the sender properly.
H. Peter Anvin
2012-Nov-21 18:19 UTC
[syslinux] pxelinux load configuration files (ARP type code, and IPaddress in hex)
On 11/21/2012 06:49 AM, Torgeir.Wulfsberg at kongsberg.com wrote:> > Is is possible to make pxelinux look for MAC and IP, removing one hex digit (or 2 for mac) and try again like this: > > /mybootdir/pxelinux.cfg/01-88-99-aa-bb-cc-dd > /mybootdir/pxelinux.cfg/C000025B > /mybootdir/pxelinux.cfg/01-88-99-aa-bb-cc > /mybootdir/pxelinux.cfg/C000025 > /mybootdir/pxelinux.cfg/01-88-99-aa-bb > /mybootdir/pxelinux.cfg/C00002 > /mybootdir/pxelinux.cfg/01-88-99-aa > /mybootdir/pxelinux.cfg/C0000 > /mybootdir/pxelinux.cfg/01-88-99 > /mybootdir/pxelinux.cfg/C000 > /mybootdir/pxelinux.cfg/01-88 > /mybootdir/pxelinux.cfg/C00 > /mybootdir/pxelinux.cfg/01 > /mybootdir/pxelinux.cfg/C0 > /mybootdir/pxelinux.cfg/C > /mybootdir/pxelinux.cfg/default > > We could be in need for a custom file/menu for this group of addresses (as an example): /mybootdir/pxelinux.cfg/01-88-99-aa >Not really very useful; besides the rather obvious ambiguity, there simply isn't a lot of locality in MAC space. There *may* be some value in specifically the OID portion of the MAC address (the 01 for Ethernet plus three octets), but I have yet to hear a compelling enough use case for everyone else to take the load time penalty. -hpa
Reasonably Related Threads
- Syslinux Digest, Vol 116, Issue 20
- pxelinux search order for configuration file
- pxelinux properly configured cannot find "default" configuration file
- [RFC, PATCH] core/pxe: Add architecture-specific discovery request for PXE config file
- *.c32 for efi64 and efi32?