<html xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml"><head><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:110785343;
        mso-list-type:hybrid;
        mso-list-template-ids:1823871678 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body vlink="purple" link="blue" lang="EN-US"><div class="WordSection1"><p class="MsoNormal">Hi,<o:p></o:p></p><p class="MsoNormal">I’m trying to use gPxe in our lab environment and running into some issues.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I was getting a DHCP connection timeout error as discussed in the following thread:<o:p></o:p></p><p class="MsoNormal"><a href="http://markmail.org/message/goh7mh4kctkc77dw">http://markmail.org/message/goh7mh4kctkc77dw</a><o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">After following Thomas’s instructions (building gPxe from source and setting a sleep time) I got over that issue. <o:p></o:p></p><p class="MsoNormal">I’d to make the changes as highlighted on Pxe chainloading (Etherboot) to break the infinite loop: <a href="http://etherboot.org/wiki/pxechaining">http://etherboot.org/wiki/pxechaining</a>  (Using windows DHCP server).<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Here’s my exact setup:<o:p></o:p></p><p style="text-indent:-.25in;mso-list:l0 level1 lfo2" class="MsoListParagraph"><![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">       </span></span><![endif]>Built gPxe from source with a sleep time and HTTPS support.<o:p></o:p></p><p style="text-indent:-.25in;mso-list:l0 level1 lfo2" class="MsoListParagraph"><![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">       </span></span><![endif]>Copied over the undionly.kpxe files to my TFTP server.<o:p></o:p></p><p style="text-indent:-.25in;mso-list:l0 level1 lfo2" class="MsoListParagraph"><![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">       </span></span><![endif]>Set up DHCP server (Windows) with pxe chainloading to avoid the infinite loop as discussed on <a href="http://etherboot.org/wiki/pxechaining">http://etherboot.org/wiki/pxechaining</a>.<o:p></o:p></p><p style="text-indent:-.25in;mso-list:l0 level1 lfo2" class="MsoListParagraph"><![if !supportLists]><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">       </span></span><![endif]>My DHCP server points to the tramp file which has <o:p></o:p></p><p class="MsoListParagraph">#!gpxe<o:p></o:p></p><p class="MsoListParagraph">set filename <a href="https://%3cserver">https://<server</a> IP>/vmw/rbd/trampchain <a href="https://%3cserver">https://<server</a> IP>/vmw/rbd/tramp<o:p></o:p></p><p style="text-indent:-.25in;mso-list:l0 level1 lfo2" class="MsoListParagraph"><![if !supportLists]><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman"">       </span></span><![endif]>The file at the above url has the following: <o:p></o:p></p><p class="MsoListParagraph"><span style="font-size:10.0pt;font-family:"Courier New"">#!gpxe<o:p></o:p></span></p><p class="MsoListParagraph"><span style="font-size:10.0pt;font-family:"Courier New"">set retry-delay 20<o:p></o:p></span></p><p class="MsoListParagraph"><span style="font-size:10.0pt;font-family:"Courier New"">post /vmw/rbd/host-register?bootmac=${mac}</span><o:p></o:p></p><p style="text-indent:-.25in;mso-list:l0 level1 lfo2" class="MsoListParagraph"><![if !supportLists]><span style="mso-list:Ignore">6.<span style="font:7.0pt "Times New Roman"">       </span></span><![endif]>Now when my server boots up it gets the DHCP IP during gPxe (which was failing earlier and was resolved by adding the sleep in gPxe).<o:p></o:p></p><p class="MsoListParagraph">Then the server displays: Booting from filename “tramp”.<o:p></o:p></p><p class="MsoListParagraph">Transfers the file from TFTP server.<o:p></o:p></p><p class="MsoListParagraph">Then it tries to execute the post command above and fails with Command not found.<o:p></o:p></p><p class="MsoListParagraph">Also get an error : Could not fetch <a href="https://%3cserver">https://<server</a> IP>/vmw/rbd/tramp: Not an executable image.<o:p></o:p></p><p class="MsoListParagraph"><o:p> </o:p></p><p class="MsoListParagraph">I’m pretty sure in trying to get this to work I have made some mistakes in my setup. Any help in resolving the above would be really appreciated.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thanks<span style="color:#1F497D">!</span><o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p></div></body></html>