Page 1 of 1

[RESOLVED] Wapt TFTP Server

Published: April 22, 2025 - 3:18 PM
by Emmanuel64
Good morning

I activated wapttftpserver when testing the TFTP server as indicated in the documentation:

Code: Select all

tftp server.wapt.local
tftp> binary
tftp> get ipxe.efi
Error code 1: File not found
So I tested it with tftpd-hpa as seen on the forum

Code: Select all

systemctl stop wapttftpserver
systemctl disable wapttftpserver
apt-get install tftpd-hpa
then edit the /etc/default/tftpd-hpa file

Code: Select all

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/www/wads/pxe
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"
systemctl restart tftpd-hpa

And now the download works...

The follow-up question... In the wads file structure, I have, for example, ./pxe/EFI/Boot/bootmgfw.efi
I'm surprised to see these folders in uppercase (especially under Linux), and during boot, it's actually ./pxe/efi/boot/bootmgfw.efi (in lowercase) that's retrieved


I'm stuck on how to solve this problem; perhaps there's a way to "repair or reinstall" the WADs files

Thank you in advance for your help

Re: Wapt TFTP Server

Published: April 24, 2025 - 11:54 AM
by dcardon
Hello Emmanuel,

there has been a regression on the wapttftpserver under Linux (cf. viewtopic.php?t=4288This has been fixed internally and is available in the nightly builds, and will be available very soon with the next release. In the meantime, you can simply downgrade it by following the warning in the changelog [1]:

Code: Select all

wget https://wapt.tranquil.it/wapt/releases/wapt-2.6.0.16937-7ba7ea7a/bin/linux-x64/wapttftpserver
mv wapttftpserver  /opt/wapt/wapttftpserver.bin
chmod a+x /opt/wapt/wapttftpserver.bin
systemctl restart wapttftpserver
Sorry for the inconvenience.

Denis

[1] https://www.wapt.fr/en/doc/wapt-changel ... 2025-04-09

Re: Wapt TFTP Server

Published: April 24, 2025 - 12:16 PM
by Emmanuel64
Thanks dcardon!

I've looked into every possible angle (including firewall rules...). Good review of protocols and troubleshooting then! :D
But it's reassuring to know I'm not crazy. :P

It works, I'll continue my tests on WADs!

Thanks!