docs: update home/openwrt/openwrt-tftp-settings

This commit is contained in:
2024-04-17 01:22:21 +00:00
parent 4569b3d598
commit 2d99030551

View File

@@ -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'
```