Using PXELINUX and MEMDISK I started a MS-DOS-Diskimage. How can I get the DHCP-Options or BOOTP-Tags from within MS-DOS?? (Like bppatch from 3com.) Thanks! _______________________________________________________________________ Jetzt neu! Sch?tzen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220
stephane maillan
2007-Oct-12 14:20 UTC
[syslinux] How get DHCP-/BOOTP-Options with MEMDISK
I don't know if this is what you need but to retrieve environment for memdisk here is what i do : in the pxelinux configuration file i declare argument on the append line append initrd=xxxx sp-a=20-30 then in the dos autoexec.bat i use getargs.com : echo Retrieving Environnment from MEMDISK getargs > getenv.bat call getenv.bat This will setup environement variable that you can to use then : echo %sp-a% i hope this can to help you regards Stephane Maillan Kai Straube wrote:> Using PXELINUX and MEMDISK I started a MS-DOS-Diskimage. > > How can I get the DHCP-Options or BOOTP-Tags from within MS-DOS?? (Like bppatch from 3com.) > > Thanks! > _______________________________________________________________________ > Jetzt neu! Sch?tzen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate > kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220 > > _______________________________________________ > 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. > >
Kai Straube wrote:> Using PXELINUX and MEMDISK I started a MS-DOS-Diskimage. > > How can I get the DHCP-Options or BOOTP-Tags from within MS-DOS?? (Like bppatch from 3com.)You can use the "keeppxe" option to memdisk and then use PXE calls to get them. -hpa
@stephane maillan It seams that is a limit in the append line. (Perhaps 512 Byte?) By this way I must create a "copy" of the Parameters from bootptab to the append-line. @H. Peter Anvin This is the way I need. I used already "keeppxe" to use the universal network driver. But I don't know what "pxe calls" are, to get the bootp- or dhcp-parameters. Is there any DOS-Command to get them?
Apparently Analagous Threads
- Chaining from PXELinux to some other boot loader
- Passing argument in nested function calls
- Supporting WinImage compressed images
- Enhanced MDISKCHK.COM and MEMDISK patches
- Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???