iPXE discussion forum
iSCSI Script Boot - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: iSCSI Script Boot (/showthread.php?tid=433)



iSCSI Script Boot - adtuent - 2011-06-27 01:06

i'm using microsoft dhcp to issue this command:

http://192.168.0.123/boot.php

which contains this very simple script as follows:

#!ipxe
sanhook iscsi:192.168.0.220::::iqn.2011-03:vm-dss.target0

which results in ipxe giving me this error:

0x3f122003 "operation not supported on socket"

although if i run the same command manually (chain http://192.168.0.123/boot.php) it runs just fine.

whats the problem?


RE: iSCSI Script Boot - robinsmidsrod - 2011-10-04 14:24

Don't you need a dhcp before that sanhook command, to ensure you've got the network up and running?