[syslinux] Re: Network Boot IP Configuration Dilemma
Luciano Miguel Ferreira Rocha
strange at nsk.no-ip.org
Mon Sep 8 10:23:28 PDT 2003
On Mon, Sep 08, 2003 at 10:02:23AM -0700, H. Peter Anvin wrote:
> Jon Nalley wrote:
> >It would be great if pxelinux could add the interface that was used to
> >PXE as the "device" argument to ip=. Or create an additional parameter
> >that would let me know which NIC was used to PXE once I am in the
> >ramdisk. Perhaps there is some other way to determine the NIC that was
> >used to PXE? I have no idea how difficult this would be - so please
> >forgive me if I am suggesting the impossible :-)
> You are. There is no way for PXELINUX to know what Linux is going to
> call the device once it starts -- it may, in fact, not have a name at
> all or depend on the ordering of devices.
> PXELINUX could find out what the hardware (MAC) address are of the
> booting device, but there is no convenient way to pass it to the kernel.
As he uses a ramdisk, that's not a problem. You could add a MAC=<mac_address>
and the linuxrc would get the values from /proc/cmdline.
But still, personally, I don't understand the problem of letting the
kernel get a dhcp lease afterwards.
More information about the Syslinux