Bug #5046
closeddhcpd only checks arch 00:07 for UEFI network booting
100%
Description
Inside the DNS Server configuration, you have the option to enable Network Booting and specify several options:
IP of next-serevr
Default bios filename
UEFI 32bit filename
UEFI 64bit filename
root-path string
Here is a snippet from the generated dhcpd.conf:
next-server 192.168.0.53; if option arch = 00:06 { filename "snponly.efi"; } else if option arch = 00:07 { filename "snponly.efi"; } else { filename "undionly.kpxe"; }
However, UEFI 64bit could also be arch 00:09 (verified by using ESXi 6.0 plus an ASUS P8Z77-V motherboard). The code should look like this:
next-server 192.168.0.53; if option arch = 00:06 { filename "uefi32.efi"; } else if option arch = 00:07 { filename "uefi64.efi"; } else if option arch = 00:09 { filename "uefi64.efi"; } else { filename "default.pxe"; }
Updated by John Klimek about 9 years ago
Oops. In my description above I said "DNS Server" but I meant "DHCP Server".
Updated by Phillip Davis about 9 years ago
The fix looks as easy as https://github.com/pfsense/pfsense/pull/1837
Can you confirm that adding those 2 lines to /etc/inc/services.inc does the job?
Updated by John Klimek about 9 years ago
Yeah, I've tested it and it works. What you have looks correct!
Updated by John Klimek about 9 years ago
Does that file persist between reboots? (for my current system, before the patch is committed)
Updated by Phillip Davis about 9 years ago
Yes, you will have made the edit in Diagnositcs->Edit file or applied it as a patch using the System Patches package or...
The PHP /etc/inc/services.inc is real code kept on disk. So the change will be there after reboot.
Updated by Renato Botelho about 9 years ago
- Status changed from New to Feedback
- Target version set to 2.2.5
- % Done changed from 0 to 100
Pull request has been merged on master and RELENG_2_2. Thanks!
Updated by Chris Buechler about 9 years ago
- Status changed from Feedback to Resolved
- Affected Version set to All
fixed, thanks!