Hello,
today I updated to pihole 6. Previously i used this config to get a simple PXE boot service running for my pis.
'''
enable-tftp
tftp-root=/tftpboot
pxe-service=0,"Raspberry Pi Boot"
'''
How can i create a similar config with pihole 6?
57 Add --dhcp-option-pxe config. This acts almost exactly like
58 --dhcp-option except that the defined option is only sent when
59 replying to PXE clients. More importantly, these options are sent
60 in reply PXE clients when dnsmasq in acting in PXE proxy mode. In
61 PXE proxy mode, the set of options sent is defined by the PXE standard
62 and the normal set of options is not sent. This config allows arbitrary
63 options in PXE-proxy replies. A typical use-case is to send option
64 175 to iPXE. Thanks to Jason Berry for finding the requirement for
65 this.
66
67 Support PXE proxy-DHCP and DHCP-relay at the same time.
68 When using PXE proxy-DHCP, dnsmasq supplies PXE information to
69 the client, which also talks to another "normal" DHCP server
70 for address allocation and similar. The normal DHCP server may
71 be on the local network, but it may also be remote, and accessed via
72 a DHCP relay. This change allows dnsmasq to act as both a
73 PXE proxy-DHCP server AND a DHCP relay for the same network.
@DL6ER i dont know how to set dhcp-option-pxe and tried various things.
So far I had no luck to get pxe running with v6. Pis stuck always @ rainbow splash.
The bootfiles have the correct permissions (chmod -R 755 /srv/tftpboot)
As a workaround the container was downgraded, and pxe worked again like expected
Do you have any related logs from /var/log/pihole/pihole.log ?
It'd also be worth using some tool like tcpdump to record a pcap from the working and the non-working containers so we can do an in-depth debugging looking at the differences between the two.
When passing some DHCP Options like 43 for example you need to encode the stuff you are sending to the Client in a certain format : Maybe you need to do this too from now on ?!