[gPXE] How to modify the code can not get DHCP information on the2nd
Shao Miller
Shao.Miller at yrdsb.edu.on.ca
Fri Nov 5 10:39:05 EDT 2010
>
>>>> sqwbwh wrote:
>>>>>
>>>>>
>>>>> How to modify the code can not get DHCP information on the
>>>>> 2nd?(GPXE only used to boot the system from ISCSI)
>>>>> Is to remove this step.
>>>>> net0: 00:0 c:: 29:08:11:35 on UNDI-PCI02: 01.0 (OPEN)
>>>>> [Link: up, TX: 0 TXE: 0 TX: 0 rxe: 0]
>>>>> DHCP (net0 00:0 c: 29:08:11: d5 ).... ok
>>>>> net0: 192.168.0.202/255.255.255.0
>>>>>
>>>>>
>>>>> This can speed up boot speed.
>>>>> Normal GPXE run to start from the boot system tftp process takes
>>>>> about 8 seconds or so
>>>>> If removed from the second time for DHCP information will only
>>>>> need a very quick 2.5 seconds.
>>>>>
>>> Miller, Shao wrote:
>>>> 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
>>> Gene Cumm wrote:
>>>>
>>>> What file and version are you using? It sounds as if you're using
>>>> undionly.kpxe or a .pxe file. undionly.kkpxe will skip this second
>>>> DHCP request but certain hardware/firmware has issues with this,
>>>> assuming you trust the stability of your OEM's PXE/UNDI stack.
>>>>
>> sqwbwh wrote:
>>> Shao Miller
>>>
>>> The method is successful.
>>> Thank you
>> sqwbwh wrote:
>>> yes
>>> thankyou Shao Miller
>>> Your method is useful :)
> Miller, Shao wrote:
>> You're quite welcome, and thanks for including the list on your other
>> reply. :) Have a nice day. - Shao
>
sqwbwh wrote:
> Shao Miller
> 1:
> i use :
> " set it in an embedded script:
>>
>> #!gpxe
>> set use-cached 1
>> autoboot
> it's good
> 2:
> "It is DHCP gPXE encapsulated option number 178"
> Specifically to ask how to use this method?
> What can explain it in detail?
> thank~you
I enjoy using the search feature at the gPXE (Etherboot) wiki. Please see:
http://etherboot.org/wiki/doku.php?do=search&id=encapsulated&fulltext=Search
http://etherboot.org/wiki/msdhcp
http://etherboot.org/wiki/dhcpd
- Shao Miller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://etherboot.org/pipermail/gpxe/attachments/20101105/0107052b/attachment.html
More information about the gPXE
mailing list