From 98dd61acf2d42d82911bd6948afe984fecb78cf4 Mon Sep 17 00:00:00 2001 From: akanealw Date: Wed, 17 Apr 2024 01:08:35 +0000 Subject: [PATCH] docs: create home/openwrt --- home/openwrt.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 home/openwrt.md diff --git a/home/openwrt.md b/home/openwrt.md new file mode 100644 index 0000000..80831e6 --- /dev/null +++ b/home/openwrt.md @@ -0,0 +1,41 @@ +--- +title: openwrt-tftp +description: +published: true +date: 2024-04-17T01:08:32.709Z +tags: +editor: markdown +dateCreated: 2024-04-17T01:08:32.709Z +--- + +# 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' +``` \ No newline at end of file