diff --git a/home/openwrt/openwrt-tftp-settings.md b/home/openwrt/openwrt-tftp-settings.md new file mode 100644 index 0000000..936155f --- /dev/null +++ b/home/openwrt/openwrt-tftp-settings.md @@ -0,0 +1,41 @@ +--- +title: openwrt-tftp-settings +description: +published: true +date: 2024-04-17T01:11:58.956Z +tags: +editor: markdown +dateCreated: 2024-04-17T01:11:58.956Z +--- + +# openwrt tftp settings +```bin +config match + option networkid 'bios' + option match '60,PXEClient:Arch:00000' +config match + option networkid 'efi64' + option match '60,PXEClient:Arch:00009' +config match + option networkid 'efi64' + option match '60,PXEClient:Arch:00007' +config userclass + option networkid 'ipxe' + option userclass 'iPXE' +config boot + option filename 'tag:bios,tag:!ipxe,bios/srv/tftp/ipxe.kpxe' + option serveraddress '192.168.1.1' + option servername 'router' +config boot + option filename 'tag:bios,tag:ipxe,bios/srv/tftp/ipxe.kpxe' + option serveraddress '192.168.1.1' + option servername 'router' +config boot + option filename 'tag:efi64,tag:!ipxe,efi64/srv/tftp/ipxe.efi' + option serveraddress '192.168.1.1' + option servername 'router' +config boot + option filename 'tag:efi64,tag:ipxe,efi64/ipxe/srv/tftp/ipxe.efi'' + option serveraddress '192.168.1.1' + option servername 'router' +```