Files
notes/documents/openwrt/openwrt_tftp_settings/content.md
2024-08-10 00:50:31 -05:00

1.0 KiB

openwrt_tftp_settings

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'