The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ipxe with http won't work
2013-02-11, 06:06
Post: #1
ipxe with http won't work
Hi Guys,

I'm trying to set iPXE up.
My Setup:
- Centos6.latest
- ISC DHCP 4.1.1
- lighttpd 1.4
- syslinux 5.0.1 (from sources)


===== /etc/dhcp/dhcpd.conf =====
option domain-name-servers 208.67.222.222;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
authoritative;
log-facility local7;
allow booting;
allow bootp;
option option-128 code 128 = string;
option option-129 code 129 = text;
subnet 10.0.0.0 netmask 255.255.0.0 {
range 10.0.1.0 10.0.254.254;
option routers 10.0.255.254;
option subnet-mask 255.255.0.0;
option broadcast-address 10.0.255.255;
next-server 10.0.255.254;
}
if exists user-class and ( option user-class = "gPXE" or option user-class = "iPXE" ) {
filename "http://10.0.255.254/pxe/default";
} else {
filename "undionly.kpxe";
}

===== http://10.0.255.254/pxe/default =====
#!gpxe
kernel http://10.0.255.254/pxe/linpe35.kernel
initrd http://10.0.255.254/pxe/linpe35.ramdisk
boot

here's what I get: http://i.imgur.com/DuIFLHJ.jpg
it seems that it PXEs, then hands it over to iPXE, then goes back to PXE??

my http server logs are:

"GET /pxe//ldlinux.c32 HTTP/1.0" 404 345 "-" "gPXE/1.0.0"
"GET /pxe//boot/isolinux/ldlinux.c32 HTTP/1.0" 404 345 "-" "gPXE/1.0.0"
"GET /pxe//isolinux/ldlinux.c32 HTTP/1.0" 404 345 "-" "gPXE/1.0.0"
"GET /pxe//boot/syslinux/ldlinux.c32 HTTP/1.0" 404 345 "-" "gPXE/1.0.0"
"GET /pxe//syslinux/ldlinux.c32 HTTP/1.0" 404 345 "-" "gPXE/1.0.0"
"GET /pxe//ldlinux.c32 HTTP/1.0" 404 345 "-" "gPXE/1.0.0"
"GET /pxe/ldlinux.c32 HTTP/1.0" 404 345 "-" "gPXE/1.0.0"

why does it not boot from the "default" file served?

thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ipxe with http won't work - CrisG - 2013-02-11 06:06



User(s) browsing this thread: 1 Guest(s)