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
2013-02-11, 08:54
Post: #2
RE: ipxe with http won't work
First of all, I see in that screenshot that your undionly.kpxe is actually gPXE, not iPXE. You should replace that one, as gPXE is no longer maintained.

If you want to load .c32 modules from syslinux version < 4 directly from iPXE you need to enable the IMAGE_COMBOOT parameter in src/config/general.h and recompile. It is no longer part of the default build.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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