Mattias Schlenker <ms at mattiasschlenker.de> wrote:> Is ifcpu.c32 or ifcpu64.c32 sufficient for your task?No. I need to detect a given machine by something unique. E.g. the MAC-address of the Ethernet Interface CPU-id or such, because I have custom kernels for all the machines. Sven -- If you can spend five minutes on the Internet and do not run Linux, you're a genius. (Dirk Hohndel) /me is giggls at ircnet, http://sven.gegg.us/ on the Web
Since you're using a USB stick, I see no way of providing syslinux with multiple configuration files (unlike PXELINUX which will search a custom config file with the machine's GUID and the booting NIC's MAC adress). However with a LUA script, you could retrieve the machine's serial number and call the correct syslinux entry from there. On Thu, Aug 1, 2013 at 12:04 PM, Sven Geggus <lists at fuchsschwanzdomain.de>wrote:> Mattias Schlenker <ms at mattiasschlenker.de> wrote: > > > Is ifcpu.c32 or ifcpu64.c32 sufficient for your task? > > No. I need to detect a given machine by something unique. E.g. the > MAC-address of the Ethernet Interface CPU-id or such, because I have custom > kernels for all the machines. > > Sven > > -- > If you can spend five minutes on the Internet and do not run Linux, > you're a genius. (Dirk Hohndel) > > /me is giggls at ircnet, http://sven.gegg.us/ on the Web > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux > Please do not send private replies to mailing list traffic. > >-- Alexandre Blanchette <blanalex at gmail.com>
On 08/01/2013 09:04 AM, Sven Geggus wrote:> Mattias Schlenker <ms at mattiasschlenker.de> wrote: > >> Is ifcpu.c32 or ifcpu64.c32 sufficient for your task? > > No. I need to detect a given machine by something unique. E.g. the > MAC-address of the Ethernet Interface CPU-id or such, because I have custom > kernels for all the machines. >Are you network booting, or booting from media? With network boot you get a query for a MAC-specific configuration file. With media boot it is a bit harder, because although in theory each machine should have a unique UUID, a lot do not, and getting the MAC address usually requires a device driver if not network booted. -hpa
H. Peter Anvin <hpa at zytor.com> wrote:> Are you network booting, or booting from media?It would be easy to do with pxeboot, but it's an USB flash drive I'm talking about. Sven -- "Software is like sex; it's better when it's free" (Linus Torvalds) /me is giggls at ircnet, http://sven.gegg.us/ on the Web