Files
notes/documents/openwrt/openwrt_ftp_settings/content.md

1.2 KiB

title, description, published, date, tags, editor, dateCreated
title description published date tags editor dateCreated
openwrt-tftp-settings true 2024-04-17T01:22:19.347Z markdown 2024-04-17T01:16:47.323Z

openwrt tftp settings

				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'