Files
notes/home/openwrt.md
2024-04-17 01:08:35 +00:00

41 lines
1.2 KiB
Markdown

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