Files
notes/openwrt/openwrt-tftp-settings.md
2024-04-16 20:30:21 -05:00

51 lines
1.2 KiB
Markdown

---
title: openwrt-tftp-settings
description:
published: true
date: 2024-04-17T01:22:19.347Z
tags:
editor: markdown
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,ipxe.kpxe'
option serveraddress '192.168.1.1'
option servername 'router'
config boot
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,ipxe.efi'
option serveraddress '192.168.1.1'
option servername 'router'
config boot
option filename 'tag:efi64,tag:ipxe,ipxe.efi'
option serveraddress '192.168.1.1'
option servername 'router'
```