<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<tt>sqwbwh wrote:</tt>
<blockquote type="cite" cite="mid:3404d036.d9c9.12c1c8def2b.Coremail.sqwbwh@126.com"><tt>At 2010-11-05
22:39:05,"Shao Miller" <a href="mailto:Shao.Miller@yrdsb.edu.on.ca" class="moz-txt-link-rfc2396E"><Shao.Miller@yrdsb.edu.on.ca></a> wrote:<br>
</tt>
<blockquote id="isReplyContent" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite"><tt>sqwbwh wrote: </tt>
<blockquote type="cite" cite="mid:2b4e4cc0.cb91.12c1c240796.Coremail.sqwbwh@126.com">
<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>
[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 type="cite" cite="mid:AB2CB6E7F44F3D499298FB9B3368E177018DDC233D@YRDSB5.YRDSB.YRDSB.NET">
<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 type="cite" cite="mid:AANLkTikbEnANQ0zqfBTtvXxKxPqGOmEhA7yTn91=p2Sg@mail.gmail.com">
<p><tt><font size="2">What file and version are you using?
It sounds as if you're using<br>
undionly.kpxe or a .pxe file. 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 type="cite" cite="mid:55820aa1.cec5.12c1c3bd22d.Coremail.sqwbwh@126.com">
<div><tt><span lang="en" class="short_text" id="result_box"><span xc="Shao Miller" yc="Shao Miller" closure_uid_r1xjok="166" title="" style="background-color: rgb(230, 236, 249); color: rgb(0, 0, 0);">Shao
Miller<br>
<br>
</span><span xc="的方法是成功的。" yc="The method is successful." closure_uid_r1xjok="167" title="">The method is successful.<br>
</span><span xc="谢谢" yc="Thank you" closure_uid_r1xjok="168" title="">Thank you</span></span></tt></div>
</blockquote>
<tt>sqwbwh wrote:<br>
</tt>
<blockquote type="cite"><tt>yes<br>
thankyou 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. :) Have a nice day. - 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.
Please see:<br>
<br>
<a href="http://etherboot.org/wiki/doku.php?do=search&id=encapsulated&fulltext=Search" class="moz-txt-link-freetext" moz-do-not-send="true">http://etherboot.org/wiki/doku.php?do=search&id=encapsulated&fulltext=Search</a><br>
<a href="http://etherboot.org/wiki/msdhcp" class="moz-txt-link-freetext" moz-do-not-send="true">http://etherboot.org/wiki/msdhcp</a><br>
<a href="http://etherboot.org/wiki/dhcpd" class="moz-txt-link-freetext" moz-do-not-send="true">http://etherboot.org/wiki/dhcpd</a></tt></blockquote>
</blockquote>
<blockquote type="cite">
<div><tt>Shao Miller</tt></div>
<div class="" id="tts_button">
<tt><object width="18" height="18" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id="tts_flash"><param value="476" name="_cx"><param value="476" name="_cy"><param value="" name="FlashVars"><param value="http://www.gstatic.com/translate/sound_player2.swf" name="Movie"><param value="http://www.gstatic.com/translate/sound_player2.swf" name="Src"><param value="Transparent" name="WMode"><param value="0" name="Play"><param value="-1" name="Loop"><param value="High" name="Quality"><param value="" name="SAlign"><param value="-1" name="Menu"><param value="" name="Base"><param value="always" name="AllowScriptAccess"><param value="ShowAll" name="Scale"><param value="0" name="DeviceFont"><param value="0" name="EmbedMovie"><param value="" name="BGColor"><param value="" name="SWRemote"><param value="" name="MovieData"><param value="1" name="SeamlessTabbing"><param value="0" name="Profile"><param value="" name="ProfileAddress"><param value="0" name="ProfilePort"><param value="all" name="AllowNetworking"><param value="false" name="AllowFullScreen"></object></tt></div>
<div><tt><span lang="en" id="result_box"><span closure_uid_dh61vf="395" yc="Use the search function." xc="使用搜索功能了。" title="">Use the search
function.<br>
</span><span closure_uid_dh61vf="396" yc="Use hyperlinks to provide you with three options for the introduction of 178 not found." xc="使用你提供的三个超级连接没找到178选项的介绍。" title="">Use hyperlinks to provide you with three
options for the introduction of 178 not found.<br>
</span><span closure_uid_dh61vf="397" yc="178 keyword search does not find use-cached search did not find the relevant presentation." xc="搜索178关键字没有找到搜索use-cached 也没找到相关的介绍。" title="">178 keyword search does not find use-cached
search did not find the relevant presentation.<br>
<br>
</span><span closure_uid_dh61vf="398" yc="Hehe. " xc="嘿嘿。" title="">Hehe.
</span><span closure_uid_dh61vf="399" yc="Could you give me the answer it?. " xc="能说说答案么?。" title="">Could
you give me the answer it?. </span><span closure_uid_dh61vf="400" yc="English is almost a maze for me" xc="英文对我来说几乎是迷宫" title="">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. DHCP option 175 should
be a string of bytes. Within that byte sequence, there are
sub-options. 'use-cached' is sub-option 178. 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.<br>
<br>
- Shao Miller<br>
</tt>
</body>
</html>