docs: create home/openwrt

This commit is contained in:
2024-04-17 01:08:35 +00:00
parent e92f5d1c18
commit 98dd61acf2

41
home/openwrt.md Normal file
View File

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