On 03/25/2011 06:05 PM, Michael Brown wrote:
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.0What is it that doesn't work? Do you get an iPXE error message? Does pxelinux load and then not do what you expect?
pxelinux.0 loads but fail to load menu (pxelinux.cfg/default). screenshot attached. Best regards -- Marcus Alves Grando Service Delivery +55 (51) 3284-4238 Terra Latin America& USA
<<attachment: ipxe.png>>
_______________________________________________ ipxe-devel mailing list [email protected] https://lists.ipxe.org/mailman/listinfo/ipxe-devel

