@@ -41,21 +41,36 @@ app_setup_block: |
4141
4242 #### DD-WRT
4343 Administration->Services -> Additional DNSMasq Options
44- Set the following line :
44+ Set the following lines :
4545 ```
46- dhcp-boot=netboot.xyz.kpxe,,YOURSERVERIP
46+ dhcp-match=set:bios,60,PXEClient:Arch:00000
47+ dhcp-boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
48+ dhcp-match=set:efi32,60,PXEClient:Arch:00006
49+ dhcp-boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
50+ dhcp-match=set:efi64,60,PXEClient:Arch:00009
51+ dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
4752 ```
4853
4954 #### Tomato
5055 Advanced -> DHCP/DNS -> Dnsmasq Custom configuration
51- Set the following line :
56+ Set the following lines :
5257 ```
53- dhcp-boot=netboot.xyz.kpxe,,YOURSERVERIP
58+ dhcp-match=set:bios,60,PXEClient:Arch:00000
59+ dhcp-boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
60+ dhcp-match=set:efi32,60,PXEClient:Arch:00006
61+ dhcp-boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
62+ dhcp-match=set:efi64,60,PXEClient:Arch:00009
63+ dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
5464 ```
5565
5666 #### OpenWRT
5767 ```
58- uci set dhcp.@dnsmasq[0].dhcp_boot=netboot.xyz.kpxe,,YOURSERVERIP
68+ uci set dhcp.@dnsmasq[0].dhcp_match=set:bios,60,PXEClient:Arch:00000
69+ uci set dhcp.@dnsmasq[0].dhcp_boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
70+ uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32,60,PXEClient:Arch:00006
71+ uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
72+ uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64,60,PXEClient:Arch:00009
73+ uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
5974 uci commit
6075 /etc/init.d/dnsmasq restart
6176 ```
0 commit comments