[gPXE] How to modify the code can not get DHCP information on the2nd

Miller, Shao shao.miller at yrdsb.edu.on.ca
Fri Nov 5 09:13:33 EDT 2010


________________________________________
From: gpxe-bounces at etherboot.org [mailto:gpxe-bounces at etherboot.org] On Behalf Of sqwbwh
Sent: Friday, November 05, 2010 09:05
To: GPXE Mailing List
Subject: [gPXE] How to modify the code can not get DHCP information on the2nd


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.

-----

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

- Shao Miller


More information about the gPXE mailing list