Is there currently a way to configure PXE options in Route 10/Alta control?
I wasn’t able to find a PXE option in the control software, however found that if you SSH into route 10 you can create a new script called post-cfg.sh in /cfg/post-cfg.sh
and use something similar to this. This script configures the DHCP and also makes route10 as a TFTP server, you can instead choose to use a different server as your TFTP server but that requires slight modifications to the script
uci set dhcp.@dnsmasq[0].enable_tftp='1'
uci set dhcp.@dnsmasq[0].tftp_root='/cfg/tftp' ## Path to your EFI/KPXE files. They have to be inside /cfg since it's a persistent folder
uci set dhcp.@dnsmasq[0].tftp_max_blocksize='1200'
# Legacy BIOS
uci add dhcp boot
uci rename dhcp.@boot[-1]='pxe_bios'
uci set dhcp.pxe_bios.match='option:client-arch,0'
uci set dhcp.pxe_bios.filename='netboot.xyz.kpxe' # Can replace filenames with your desired pxe boot file
# UEFI 32-bit
uci add dhcp boot
uci rename dhcp.@boot[-1]='pxe_uefi32'
uci set dhcp.pxe_uefi32.match='option:client-arch,6'
uci set dhcp.pxe_uefi32.filename='netboot.xyz.efi'
# UEFI 64-bit
uci add dhcp boot
uci rename dhcp.@boot[-1]='pxe_uefi64'
uci set dhcp.pxe_uefi64.match='option:client-arch,7'
uci set dhcp.pxe_uefi64.filename='netboot.xyz.efi'
# UEFI BC
uci add dhcp boot
uci rename dhcp.@boot[-1]='pxe_uefibc'
uci set dhcp.pxe_uefibc.match='option:client-arch,8'
uci set dhcp.pxe_uefibc.filename='netboot.xyz.efi'
# UEFI HTTP
uci add dhcp boot
uci rename dhcp.@boot[-1]='pxe_uefihttp'
uci set dhcp.pxe_uefihttp.match='option:client-arch,9'
uci set dhcp.pxe_uefihttp.filename='netboot.xyz.efi'
uci add_list dhcp.lan.dhcp_option='66,192.168.1.1' ## IP of your route 10
uci add_list dhcp.lan.dhcp_option='67,pxelinux.0'
uci commit dhcp
/etc/init.d/dnsmasq restart
After creating the script you can do and then reboot the router, or run the script manually
chmod +x /cfg/post-cfg.sh