[ipxe-devel] Manual IP config does no pass 209:string to chain pxelinux.0

Michael Brown mbrown at fensystems.co.uk
Fri Mar 25 21:05:16 UTC 2011


On Friday 25 Mar 2011 18:24:21 Marcus Grando wrote:
> How can I create one script to config static IP addr and chain to
> pxelinux.0? I did this but does not work, only works if I use dhcp.
> 
> Script is something like that:
> 
> #!ipxe
> ifopen net0
> set net0/ip 192.168.0.10
> set net0/netmask 255.255.255.0
> set net0/gateway 192.168.0.1
> set net0/dns 8.8.8.8
> set 209:string pxelinux.cfg/default
> set 210:string http://some_server_elsewere/
> chain ${210:string}pxelinux.0

What is it that doesn't work?  Do you get an iPXE error message?  Does 
pxelinux load and then not do what you expect?

Michael



More information about the ipxe-devel mailing list