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 _______________________________________________ ipxe-devel mailing list [email protected] https://lists.ipxe.org/mailman/listinfo/ipxe-devel

