Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5593

Raspberry Pi OS • How to use PXE_OPTION43

$
0
0
I have a Raspberry Pi 4B running bookworm successfully network booting from a PC running Debian 12.
My question is about the PXE_OPTION43 in the bootloader configuration. In the documentation it states that this option "Overrides the PXE Option43 match string with a different string. " and that the default is "Raspberry Pi Boot".
This implies that I should be able to change this string to something other than the default but it doesn't seem to work.

My working dnsmasq config has a line that looks like this:

Code:

pxe-service=tag:piserver,0,"Raspberry Pi Boot"
The default bootloader config does not have the PXE_OPTION43 entry and network boot works fine with this config.

However, by editing bootloader config, and confirming with vcgencmd bootloader_config

Code:

xxx@xxxxxxx:~ $ vcgencmd bootloader_config[all]PXE_OPTION43="Different Boot"BOOT_UART=1WAKE_ON_GPIO=1POWEROFF_ON_HALT=0BOOT_ORDER=0xf1542ENABLE_SELF_UPDATE=1DHCP_TIMEOUT=45000DHCP_REQ_TIMEOUT=8000TFTP_FILE_TIMEOUT=60000TFTP_PREFIX=2USB_MSD_DISCOVER_TIMEOUT=6000#VL805=1DISABLE_HDMI=0
and changing the string in dnsmasq:

Code:

pxe-service=tag:piserver,0,"Different Boot"
Network boot no longer works.

In wireshark I see the RPi send DHCP discover
and I see dnsmasq respond with DHCP offer, and that the option 43 string has indeed changed to "Different Boot" but that's all - it stops here.

The RPi won't boot until I change the dnsmasq pxe-service string back to "Raspberry Pi Boot" so it feels like the default string in the bootloader is not being overridden.

What am I doing wrong here please?

Statistics: Posted by j-p-audio-enthusiast — Thu Jul 04, 2024 10:44 am



Viewing all articles
Browse latest Browse all 5593

Trending Articles