Project

General

Profile

Actions

Bug #5046

closed

dhcpd only checks arch 00:07 for UEFI network booting

Added by John Klimek about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP (IPv4)
Target version:
Start date:
08/28/2015
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

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";
        }

Actions #1

Updated by John Klimek about 9 years ago

Oops. In my description above I said "DNS Server" but I meant "DHCP Server".

Actions #2

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?

Actions #3

Updated by John Klimek about 9 years ago

Yeah, I've tested it and it works. What you have looks correct!

Actions #4

Updated by John Klimek about 9 years ago

Does that file persist between reboots? (for my current system, before the patch is committed)

Actions #5

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.

Actions #6

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!

Actions #7

Updated by Chris Buechler about 9 years ago

  • Status changed from Feedback to Resolved
  • Affected Version set to All

fixed, thanks!

Actions

Also available in: Atom PDF