Skip to content
This repository was archived by the owner on Jul 5, 2025. It is now read-only.

Commit 2e6e136

Browse files
authored
Merge pull request #9 from thelamer/master
closes #8 , adding more arches to the manual dnsmasq settings
2 parents b61ba2e + 24d46e7 commit 2e6e136

File tree

2 files changed

+52
-16
lines changed

2 files changed

+52
-16
lines changed

README.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,16 @@ Set the following lines:
190190
```
191191
dhcp-match=set:bios,60,PXEClient:Arch:00000
192192
dhcp-boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
193-
dhcp-match=set:efi32,60,PXEClient:Arch:00006
193+
dhcp-match=set:efi32,60,PXEClient:Arch:00002
194194
dhcp-boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
195-
dhcp-match=set:efi64,60,PXEClient:Arch:00009
196-
dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
195+
dhcp-match=set:efi32-1,60,PXEClient:Arch:00006
196+
dhcp-boot=tag:efi32-1,netboot.xyz.efi,,YOURSERVERIP
197+
dhcp-match=set:efi64,60,PXEClient:Arch:00007
198+
dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
199+
dhcp-match=set:efi64-1,60,PXEClient:Arch:00008
200+
dhcp-boot=tag:efi64-1,netboot.xyz.efi,,YOURSERVERIP
201+
dhcp-match=set:efi64-2,60,PXEClient:Arch:00009
202+
dhcp-boot=tag:efi64-2,netboot.xyz.efi,,YOURSERVERIP
197203
```
198204

199205
#### Tomato
@@ -202,20 +208,32 @@ Set the following lines:
202208
```
203209
dhcp-match=set:bios,60,PXEClient:Arch:00000
204210
dhcp-boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
205-
dhcp-match=set:efi32,60,PXEClient:Arch:00006
211+
dhcp-match=set:efi32,60,PXEClient:Arch:00002
206212
dhcp-boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
207-
dhcp-match=set:efi64,60,PXEClient:Arch:00009
208-
dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
213+
dhcp-match=set:efi32-1,60,PXEClient:Arch:00006
214+
dhcp-boot=tag:efi32-1,netboot.xyz.efi,,YOURSERVERIP
215+
dhcp-match=set:efi64,60,PXEClient:Arch:00007
216+
dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
217+
dhcp-match=set:efi64-1,60,PXEClient:Arch:00008
218+
dhcp-boot=tag:efi64-1,netboot.xyz.efi,,YOURSERVERIP
219+
dhcp-match=set:efi64-2,60,PXEClient:Arch:00009
220+
dhcp-boot=tag:efi64-2,netboot.xyz.efi,,YOURSERVERIP
209221
```
210222

211223
#### OpenWRT
212224
```
213225
uci set dhcp.@dnsmasq[0].dhcp_match=set:bios,60,PXEClient:Arch:00000
214226
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
215-
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32,60,PXEClient:Arch:00006
227+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32,60,PXEClient:Arch:00002
216228
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
217-
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64,60,PXEClient:Arch:00009
229+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32-1,60,PXEClient:Arch:00006
230+
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi32-1,netboot.xyz.efi,,YOURSERVERIP
231+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64,60,PXEClient:Arch:00007
218232
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
233+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64-1,60,PXEClient:Arch:00008
234+
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64-1,netboot.xyz.efi,,YOURSERVERIP
235+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64-2,60,PXEClient:Arch:00009
236+
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64-2,netboot.xyz.efi,,YOURSERVERIP
219237
uci commit
220238
/etc/init.d/dnsmasq restart
221239
```

readme-vars.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,16 @@ app_setup_block: |
8181
```
8282
dhcp-match=set:bios,60,PXEClient:Arch:00000
8383
dhcp-boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
84-
dhcp-match=set:efi32,60,PXEClient:Arch:00006
84+
dhcp-match=set:efi32,60,PXEClient:Arch:00002
8585
dhcp-boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
86-
dhcp-match=set:efi64,60,PXEClient:Arch:00009
87-
dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
86+
dhcp-match=set:efi32-1,60,PXEClient:Arch:00006
87+
dhcp-boot=tag:efi32-1,netboot.xyz.efi,,YOURSERVERIP
88+
dhcp-match=set:efi64,60,PXEClient:Arch:00007
89+
dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
90+
dhcp-match=set:efi64-1,60,PXEClient:Arch:00008
91+
dhcp-boot=tag:efi64-1,netboot.xyz.efi,,YOURSERVERIP
92+
dhcp-match=set:efi64-2,60,PXEClient:Arch:00009
93+
dhcp-boot=tag:efi64-2,netboot.xyz.efi,,YOURSERVERIP
8894
```
8995
9096
#### Tomato
@@ -93,20 +99,32 @@ app_setup_block: |
9399
```
94100
dhcp-match=set:bios,60,PXEClient:Arch:00000
95101
dhcp-boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
96-
dhcp-match=set:efi32,60,PXEClient:Arch:00006
102+
dhcp-match=set:efi32,60,PXEClient:Arch:00002
97103
dhcp-boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
98-
dhcp-match=set:efi64,60,PXEClient:Arch:00009
99-
dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
104+
dhcp-match=set:efi32-1,60,PXEClient:Arch:00006
105+
dhcp-boot=tag:efi32-1,netboot.xyz.efi,,YOURSERVERIP
106+
dhcp-match=set:efi64,60,PXEClient:Arch:00007
107+
dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
108+
dhcp-match=set:efi64-1,60,PXEClient:Arch:00008
109+
dhcp-boot=tag:efi64-1,netboot.xyz.efi,,YOURSERVERIP
110+
dhcp-match=set:efi64-2,60,PXEClient:Arch:00009
111+
dhcp-boot=tag:efi64-2,netboot.xyz.efi,,YOURSERVERIP
100112
```
101113
102114
#### OpenWRT
103115
```
104116
uci set dhcp.@dnsmasq[0].dhcp_match=set:bios,60,PXEClient:Arch:00000
105117
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP
106-
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32,60,PXEClient:Arch:00006
118+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32,60,PXEClient:Arch:00002
107119
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP
108-
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64,60,PXEClient:Arch:00009
120+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32-1,60,PXEClient:Arch:00006
121+
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi32-1,netboot.xyz.efi,,YOURSERVERIP
122+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64,60,PXEClient:Arch:00007
109123
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP
124+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64-1,60,PXEClient:Arch:00008
125+
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64-1,netboot.xyz.efi,,YOURSERVERIP
126+
uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64-2,60,PXEClient:Arch:00009
127+
uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64-2,netboot.xyz.efi,,YOURSERVERIP
110128
uci commit
111129
/etc/init.d/dnsmasq restart
112130
```

0 commit comments

Comments
 (0)