Shao Miller
<DIV><SPAN id="result_box" lang="en"><SPAN style="COLOR: #000" title="" Xc="embedded script.jpg 是按照你说的添加脚本" Yc="embedded script.jpg is add a script as you say
" closure_uid_m2v0io="715">embedded script.jpg is add a script as you say<BR></SPAN><SPAN style="BACKGROUND-COLOR: #ebeff9" title="" Xc="#!gpxe" Yc="#! Gpxe
" closure_uid_m2v0io="716">#! Gpxe<BR></SPAN><SPAN title="" Xc="set use-cached 1" Yc="set use-cached 1
" closure_uid_m2v0io="717">set use-cached 1<BR></SPAN><SPAN title="" Xc="autoboot" Yc="autoboot

" closure_uid_m2v0io="718">autoboot<BR><BR></SPAN><SPAN title="" Xc="正确显示了 dhcp using cached" Yc="Show dhcp using cached correctly

" closure_uid_m2v0io="719">Show dhcp using cached correctly<BR><BR></SPAN><SPAN title="" Xc="178dhcp.jpg是DHCP设置添加了0xb2 0x01 0x01 0xff" Yc="178dhcp.jpg is the DHCP settings added 0xb2 0x01 0x01 0xff
" closure_uid_m2v0io="720">178dhcp.jpg is the DHCP settings added 0xb2 0x01 0x01 0xff<BR></SPAN><SPAN title="" Xc="按照这个设置客户端显示的信息是178.jpg" Yc="According to this set the client to display the information is 178.jpg
" closure_uid_m2v0io="721">According to this set the client to display the information is 178.jpg<BR></SPAN><SPAN title="" Xc="没有正确显示dhcp using cached 是不是哪里没设置正确?" Yc="Does not correctly display dhcp using cached is not where not set correctly?" closure_uid_m2v0io="722">Does not correctly display dhcp using cached is not where not set correctly?</SPAN></SPAN></DIV>
<DIV><SPAN lang="en"><SPAN title="" Xc="没有正确显示dhcp using cached 是不是哪里没设置正确?" Yc="Does not correctly display dhcp using cached is not where not set correctly?" closure_uid_m2v0io="722"></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN lang="en"><SPAN title="" Xc="没有正确显示dhcp using cached 是不是哪里没设置正确?" Yc="Does not correctly display dhcp using cached is not where not set correctly?" closure_uid_m2v0io="722">-sqwbwh</SPAN></SPAN></DIV>
<DIV><SPAN lang="en"><SPAN title="" Xc="没有正确显示dhcp using cached 是不是哪里没设置正确?" Yc="Does not correctly display dhcp using cached is not where not set correctly?" closure_uid_m2v0io="722">-------------------------------------------</SPAN></SPAN></DIV>
<DIV></DIV><BR>At 2010-11-06 01:27:57,"Shao&nbsp;Miller"&nbsp;&lt;Shao.Miller@yrdsb.edu.on.ca&gt; wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" id="isReplyContent">sqwbwh wrote: 
<BLOCKQUOTE cite="mid:1a737a38.de16.12c1cc5348d.Coremail.sqwbwh@126.com" type="cite">At 2010-11-05 23:42:16,"Shao&nbsp;Miller"&nbsp;<A class="moz-txt-link-rfc2396E" href="mailto:Shao.Miller@yrdsb.edu.on.ca">&lt;Shao.Miller@yrdsb.edu.on.ca&gt;</A> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" id="isReplyContent"><TT>sqwbwh wrote:</TT> 
<BLOCKQUOTE cite="mid:154b6a62.dc4e.12c1ca8ac75.Coremail.sqwbwh@126.com" type="cite"><TT>At 2010-11-05 23:13:19,"Shao&nbsp;Miller"&nbsp;<A class="moz-txt-link-rfc2396E" href="mailto:Shao.Miller@yrdsb.edu.on.ca" moz-do-not-send="true">&lt;Shao.Miller@yrdsb.edu.on.ca&gt;</A> wrote:<BR></TT>
<BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" id="isReplyContent"><TT>sqwbwh wrote:</TT> 
<BLOCKQUOTE cite="mid:3404d036.d9c9.12c1c8def2b.Coremail.sqwbwh@126.com" type="cite"><TT>At 2010-11-05 22:39:05,"Shao&nbsp;Miller"&nbsp;<A class="moz-txt-link-rfc2396E" href="mailto:Shao.Miller@yrdsb.edu.on.ca" moz-do-not-send="true">&lt;Shao.Miller@yrdsb.edu.on.ca&gt;</A> wrote:<BR></TT>
<BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" id="isReplyContent">
<BLOCKQUOTE type="cite">
<BLOCKQUOTE type="cite">
<BLOCKQUOTE type="cite">
<BLOCKQUOTE type="cite"><TT>sqwbwh wrote: </TT>
<BLOCKQUOTE cite="mid:2b4e4cc0.cb91.12c1c240796.Coremail.sqwbwh@126.com" type="cite">
<P><TT><BR>How to modify the code can not get DHCP information on the 2nd?(GPXE only used to boot the system from ISCSI)<BR>Is to remove this step.<BR>net0: 00:0 c:: 29:08:11:35 on UNDI-PCI02: 01.0 (OPEN)<BR>&nbsp; [Link: up, TX: 0 TXE: 0 TX: 0 rxe: 0]<BR>DHCP (net0 00:0 c: 29:08:11: d5 ).... ok<BR>net0: 192.168.0.202/255.255.255.0</TT></P>
<P><TT><BR>This can speed up boot speed.<BR>Normal GPXE run to start from the boot system tftp process takes about 8 seconds or so<BR>If removed from the second time for DHCP information will only need a very quick 2.5 seconds.</TT></P><TT><SPAN title="neteasefooter"><SPAN id="netease_mail_footer"></SPAN></SPAN></TT></BLOCKQUOTE></BLOCKQUOTE><TT>Miller, Shao wrote: </TT>
<BLOCKQUOTE cite="mid:AB2CB6E7F44F3D499298FB9B3368E177018DDC233D@YRDSB5.YRDSB.YRDSB.NET" type="cite"><PRE wrap=""><TT>You most likely want the 'use-cached' option.  It is DHCP gPXE encapsulated option number 178.  Or, you can set it in an embedded script:

  #!gpxe
  set use-cached 1
  autoboot</TT></PRE></BLOCKQUOTE><TT>Gene Cumm wrote: </TT>
<BLOCKQUOTE cite="mid:AANLkTikbEnANQ0zqfBTtvXxKxPqGOmEhA7yTn91=p2Sg@mail.gmail.com" type="cite">
<P><TT><FONT size="2">What file and version are you using?&nbsp; It sounds as if you're using<BR>undionly.kpxe or a .pxe file.&nbsp; undionly.kkpxe will skip this second<BR>DHCP request but certain hardware/firmware has issues with this,<BR>assuming you trust the stability of your OEM's PXE/UNDI stack.</FONT></TT></P></BLOCKQUOTE></BLOCKQUOTE><TT>sqwbwh wrote: </TT>
<BLOCKQUOTE cite="mid:55820aa1.cec5.12c1c3bd22d.Coremail.sqwbwh@126.com" type="cite">
<DIV><TT><SPAN id="result_box" lang="en" class="short_text"><SPAN style="BACKGROUND-COLOR: rgb(230,236,249); COLOR: rgb(0,0,0)" title="" closure_uid_r1xjok="166" yc="Shao Miller" xc="Shao Miller">Shao Miller<BR><BR></SPAN><SPAN title="" closure_uid_r1xjok="167" yc="The method is successful." xc="的方法是成功的。">The method is successful.<BR></SPAN><SPAN title="" closure_uid_r1xjok="168" yc="Thank you" xc="谢谢">Thank you</SPAN></SPAN></TT></DIV></BLOCKQUOTE><TT>sqwbwh wrote:<BR></TT>
<BLOCKQUOTE type="cite"><TT>yes<BR>thankyou&nbsp; Shao Miller<BR>Your method is useful :)<BR></TT></BLOCKQUOTE></BLOCKQUOTE><TT>Miller, Shao wrote:<BR></TT>
<BLOCKQUOTE type="cite"><TT>You’re quite welcome, and thanks for including the list on your other reply. :)&nbsp; Have a nice day.&nbsp; - Shao</TT></BLOCKQUOTE><TT><BR></TT></BLOCKQUOTE><TT>sqwbwh wrote:<BR></TT>
<BLOCKQUOTE type="cite"><TT>Shao Miller<BR>1:<BR>i use :<BR>" set it in an embedded script:<BR></TT>
<BLOCKQUOTE type="cite"><TT><BR>#!gpxe<BR>set use-cached 1<BR>autoboot<BR></TT></BLOCKQUOTE><TT>it's good<BR>2:<BR>"It is DHCP gPXE encapsulated option number 178"<BR>Specifically to ask how to use this method?<BR>What can explain it in detail?<BR>thank~you<BR></TT></BLOCKQUOTE><TT>I enjoy using the search feature at the gPXE (Etherboot) wiki.&nbsp; Please see:<BR><BR><A class="moz-txt-link-freetext" href="http://etherboot.org/wiki/doku.php?do=search&amp;id=encapsulated&amp;fulltext=Search" moz-do-not-send="true">http://etherboot.org/wiki/doku.php?do=search&amp;id=encapsulated&amp;fulltext=Search</A><BR><A class="moz-txt-link-freetext" href="http://etherboot.org/wiki/msdhcp" moz-do-not-send="true">http://etherboot.org/wiki/msdhcp</A><BR><A class="moz-txt-link-freetext" href="http://etherboot.org/wiki/dhcpd" moz-do-not-send="true">http://etherboot.org/wiki/dhcpd</A></TT></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE type="cite">
<DIV><TT>Shao&nbsp;Miller</TT></DIV>
<DIV id="tts_button"><TT>
<OBJECT id="tts_flash" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="18" height="18"><PARAM NAME="_cx" VALUE="476"><PARAM NAME="_cy" VALUE="476"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE=""><PARAM NAME="Src" VALUE=""><PARAM NAME="WMode" VALUE="Transparent"><PARAM NAME="Play" VALUE="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE="always"><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"><PARAM NAME="AllowFullScreen" VALUE="false"></OBJECT></TT></DIV>
<DIV><TT><SPAN id="result_box" lang="en"><SPAN title="" yc="Use the search function." xc="使用搜索功能了。" closure_uid_dh61vf="395">Use the search function.<BR></SPAN><SPAN title="" yc="Use hyperlinks to provide you with three options for the introduction of 178 not found." xc="使用你提供的三个超级连接没找到178选项的介绍。" closure_uid_dh61vf="396">Use hyperlinks to provide you with three options for the introduction of 178 not found.<BR></SPAN><SPAN title="" yc="178 keyword search does not find use-cached search did not find the relevant presentation." xc="搜索178关键字没有找到搜索use-cached 也没找到相关的介绍。" closure_uid_dh61vf="397">178 keyword search does not find use-cached search did not find the relevant presentation.<BR><BR></SPAN><SPAN title="" yc="Hehe. " xc="嘿嘿。" closure_uid_dh61vf="398">Hehe. </SPAN><SPAN title="" yc="Could you give me the answer it?. " xc="能说说答案么?。" closure_uid_dh61vf="399">Could you give me the answer it?. </SPAN><SPAN title="" yc="English is almost a maze for me" xc="英文对我来说几乎是迷宫" closure_uid_dh61vf="400">English is almost a maze for me</SPAN></SPAN></TT></DIV><TT><BR></TT></BLOCKQUOTE><TT><BR>I'm afraid that I'm not sure how to explain gPXE encapsulated options any better than they are explained in the wiki.&nbsp; DHCP option 175 should be a string of bytes.&nbsp; Within that byte sequence, there are sub-options.&nbsp; 'use-cached' is sub-option 178.&nbsp; So your DHCP option 175 could look like:<BR><BR>0xB2 0x01 0x01<BR><BR>where,<BR><BR>0xB2 : DHCP gPXE encapsulated option 178.<BR>0x01 : The encapsulated option's value occupies 1 byte.<BR>0x01 : The encapsulated option's value is 1 (true).<BR><BR>I do not know which DHCP service you use, so I do not know how you can reconfigure your service to give PXE clients this 'use-cached' option via DHCP.</TT></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><TT>Shao Miller </TT>
<DIV><TT>dhcp server is msdhcp</TT></DIV>
<DIV><TT><SPAN id="result_box" lang="en"><SPAN style="COLOR: rgb(0,0,0)" title="" yc="Use 1781.jpg and 1782.jpg is set. " xc="使用1781.jpg和1782.jpg的设置方式。" closure_uid_evz1ne="225">Use 1781.jpg and 1782.jpg is set. </SPAN><SPAN title="" yc="Enable use-cached did not succeed" xc="启用use-cached没成功" closure_uid_evz1ne="226">Enable use-cached did not succeed<BR></SPAN><SPAN title="" yc="Picture shows what can it?" xc="可以用图片演示一下么?" closure_uid_evz1ne="227">Picture shows what can it?</SPAN></SPAN><BR></TT></DIV></BLOCKQUOTE><TT>Those screen-shots show a DHCP option 178, not a DHCP gPXE encapsulated option 178.<BR><BR>You need DHCP option 175.&nbsp; _Inside_ option 175, you need to have gPXE encapsulated option 178.&nbsp; See:<BR><BR><A class="moz-txt-link-freetext" href="http://etherboot.org/wiki/msdhcp#setting_up_a_gpxe_encapsulated_options_on_windows_dhcp" moz-do-not-send="true">http://etherboot.org/wiki/msdhcp#setting_up_a_gpxe_encapsulated_options_on_windows_dhcp</A><BR><BR>It shows exactly how to create the DHCP gPXE encapsulated options.&nbsp; 175 is a _container_.&nbsp; 178 ('use-cached') goes inside that container.&nbsp; Change to option 175 and you will be fine, since your bytes are exactly as I explained above: Option 178, 1 byte long, value 1.&nbsp; All gPXE encapsulated options go inside option 175.&nbsp; 0xB2 means 178.<BR><BR>Please remember to carbon-copy the list using Reply-All.</TT></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE cite="mid:1a737a38.de16.12c1cc5348d.Coremail.sqwbwh@126.com" type="cite">
<DIV>Shao Miller</DIV>
<DIV>i do 3.jpg and 4.jpg </DIV>
<DIV>but no success</DIV>
<DIV><SPAN id="result_box" lang="en"><SPAN style="COLOR: rgb(0,0,0)" title="" yc="If the screenshots just fine. " xc="如果截图就好了。" closure_uid_55i8fl="278">If the screenshots just fine. </SPAN><SPAN title="" yc="Like http://etherboot.org/wiki/msdhcp # setting_up_a_gpxe_encapsulated_options_on_windows_dhcp" xc="就象http://etherboot.org/wiki/msdhcp#setting_up_a_gpxe_encapsulated_options_on_windows_dhcp" closure_uid_55i8fl="279">Like <A class="moz-txt-link-freetext" href="http://etherboot.org/wiki/msdhcp">http://etherboot.org/wiki/msdhcp</A> # setting_up_a_gpxe_encapsulated_options_on_windows_dhcp<BR></SPAN><SPAN style="BACKGROUND-COLOR: rgb(235,239,249)" title="" yc="The hyperlink is the CHAP user and password to understand" xc="这个超级连接明白是CHAP user and password" closure_uid_55i8fl="280">The hyperlink is the CHAP user and password to understand<BR></SPAN><SPAN title="" yc="178 still do not understand." xc="178还是不明白。" closure_uid_55i8fl="281">178 still do not understand.</SPAN></SPAN></DIV></BLOCKQUOTE>Your screen-shots look good!&nbsp; Except that you are missing the final terminating 0xFF byte!&nbsp; At the end of all gPXE encapsulated options, there should be a terminating byte.<BR><BR>0xB2 0x01 0x01 0xFF<BR><BR>0xFF: No more gPXE encapsulated options.<BR><BR>Also, what version of gPXE are you using?&nbsp; Please use gPXE &gt;= 1.0.0.<BR><BR>Thank you again for including the mailing-list.<BR><BR>- Shao Miller<BR></BLOCKQUOTE><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>