[GH-ISSUE #249] Improvements to boot method / TFTP / Edgerouter doc #1652

Closed
opened 2026-03-01 18:35:09 +03:00 by kerem · 2 comments
Owner

Originally created by @ravens on GitHub (Jul 6, 2018).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/249

Hi,

reading the excellent https://netboot.xyz/booting/tftp/edgerouter/, I would propose the following enhancement:

  • don't install any new package (tftpd) that will likely not survive any firmware update, use the TFTP server embedded into dnsmasq (DNS server of edgerouter) for this
  • save PXE payload into the user data section of the firmware to survice firmware update (/config/user-data)

So my proposal:

  • upon configuring the router (ssh, then configure); introduce the following commands:
set service dns forwarding  options enable-tftp
set service dns forwarding  options tftp-root=/config/user-data
set service dhcp-server global-parameters "option client-arch code 93 = unsigned integer 16;"
edit service dhcp-server shared-network-name LAN subnet 10.10.2.0/24
set bootfile-server 10.10.2.1
set bootfile-name netboot.xyz.kpxe
commit
save
  • perform the curl command in the following directory:
sudo curl -o /config/user-data/netboot.xyz.kpxe https://boot.netboot.xyz/ipxe/netboot.xyz.kpxe

Tested fine on my edgerouter lite 3 with 1.10.5 software version.

Originally created by @ravens on GitHub (Jul 6, 2018). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/249 Hi, reading the excellent https://netboot.xyz/booting/tftp/edgerouter/, I would propose the following enhancement: - don't install any new package (tftpd) that will likely not survive any firmware update, use the TFTP server embedded into dnsmasq (DNS server of edgerouter) for this - save PXE payload into the user data section of the firmware to survice firmware update (/config/user-data) So my proposal: - upon configuring the router (ssh, then configure); introduce the following commands: ``` set service dns forwarding options enable-tftp set service dns forwarding options tftp-root=/config/user-data set service dhcp-server global-parameters "option client-arch code 93 = unsigned integer 16;" edit service dhcp-server shared-network-name LAN subnet 10.10.2.0/24 set bootfile-server 10.10.2.1 set bootfile-name netboot.xyz.kpxe commit save ``` - perform the curl command in the following directory: ``` sudo curl -o /config/user-data/netboot.xyz.kpxe https://boot.netboot.xyz/ipxe/netboot.xyz.kpxe ``` Tested fine on my edgerouter lite 3 with 1.10.5 software version.
kerem closed this issue 2026-03-01 18:35:09 +03:00
Author
Owner

@antonym commented on GitHub (Jul 9, 2018):

Sounds good to me, would you like to make a PR towards the docs here?

https://github.com/antonym/netboot.xyz-site/blob/master/content/booting/tftp/edgerouter/_index.md

I'm in the process of moving the docs out of the main repo to a doc site.

Thanks!

<!-- gh-comment-id:403499079 --> @antonym commented on GitHub (Jul 9, 2018): Sounds good to me, would you like to make a PR towards the docs here? https://github.com/antonym/netboot.xyz-site/blob/master/content/booting/tftp/edgerouter/_index.md I'm in the process of moving the docs out of the main repo to a doc site. Thanks!
Author
Owner

@ravens commented on GitHub (Jul 9, 2018):

Tentative PR https://github.com/antonym/netboot.xyz-site/pull/1 . Closing this thread.

<!-- gh-comment-id:403508604 --> @ravens commented on GitHub (Jul 9, 2018): Tentative PR https://github.com/antonym/netboot.xyz-site/pull/1 . Closing this thread.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#1652
No description provided.