From 2d99030551463017bb3f70015c9b8e8673000c4c Mon Sep 17 00:00:00 2001 From: akanealw Date: Wed, 17 Apr 2024 01:22:21 +0000 Subject: [PATCH] docs: update home/openwrt/openwrt-tftp-settings --- home/openwrt/openwrt-tftp-settings.md | 36 +++++++++++++++++---------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/home/openwrt/openwrt-tftp-settings.md b/home/openwrt/openwrt-tftp-settings.md index 1860c9e..f5d0239 100644 --- a/home/openwrt/openwrt-tftp-settings.md +++ b/home/openwrt/openwrt-tftp-settings.md @@ -2,7 +2,7 @@ title: openwrt-tftp-settings description: published: true -date: 2024-04-17T01:17:32.020Z +date: 2024-04-17T01:22:19.347Z tags: editor: markdown dateCreated: 2024-04-17T01:16:47.323Z @@ -10,32 +10,42 @@ dateCreated: 2024-04-17T01:16:47.323Z # openwrt tftp settings ```bin + option enable_tftp '1' + option tftp_root '/srv/tftp' + 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' + option filename 'tag:bios,tag:!ipxe,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' + option filename 'tag:bios,tag:ipxe,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' + option filename 'tag:efi64,tag:!ipxe,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' + option filename 'tag:efi64,tag:ipxe,ipxe.efi' + option serveraddress '192.168.1.1' + option servername 'router' ``` \ No newline at end of file