[SOLVED] Wapttftpserver under debian

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
cedric_974
Messages: 11
Registration: Nov 13, 2025 - 05:42

November 13, 2025 - 06:34

Hello,

I'm writing because I'm having a problem with TFTP on a secondary repository under Debian.
I installed the repository in a directory I'll call /XXXX, and I can correctly locate the /XXXX/wads/pxe directory and the ipxe.efi file.
The machine doesn't have a firewall, only ClamAV antivirus.
I should mention that DHCP isn't configured at this point, but I just wanted to test TFTP.
Currently in version 2.6.0.17392, I can launch the systemctl status wapttftpserver service without any problem:

#################################
systemctl status wapttftpserver:

● wapttftpserver.service - WAPT/WADS TFTP Server startup script
Loaded: loaded (/usr/lib/systemd/system/wapttftpserver.service; enabled; preset: enabled)
Active: active (running) since Thu 2025-10-30 08:22:22 +04; 2 weeks 0 days ago
Invocation: af16754aa4234cae821ca58ec17760f1
Main PID: 841 (wapttftpserver.)
Tasks: 2 (limit: 9455)
Memory: 3.8M (peak: 4.6M)
CPU: 14min 16.331s
CGroup: /system.slice/wapttftpserver.service
└─841 /opt/wapt/wapttftpserver.bin --fork --username=root --root_dir=/XXXX/wads/pxe --verbose --log-path=/dev/stdout

Oct 30 08:22:22 XX-XX-XXXXXXX-X systemd[1]: Starting wapttftpserver.service - WAPT/WADS TFTP Server startup script...
Oct 30 08:22:22 XX-XX-XXXXXXX-X systemd[1]: Started wapttftpserver.service - WAPT/WADS TFTP Server startup script.
#################################


I tried this command found in the documentation from another Debian system:
###################################
cd ~
tftp XX-XX-XXXXXXX-X.mydomain.lan
binary
get ipxe.efi
quit
ls -l ipxe.efi
###############################

Right after the get ipxe.efi command, I get an error:
##########################
Error code 1: File not found
##########################

I then tried an nmap command from another Debian system:
#################################
nmap -Pn 192.168.1.2 -sU -p 69
###################################

I get this response:
###################################
Starting Nmap 7.95 ( https://nmap.org ) at 2025-11-13 09:14 +04
Nmap scan report for XX-XX-XXXXXXX-X.mydomain.lan (192.168.1.2)
Host is up.

PORT STATE SERVICE
69/udp open|filtered tftp

Nmap done: 1 IP address (1 host up) scanned in 2.21 seconds
######################################

The port is "open|filtered".

I decided to test nmap to our old TFTP server which is on Windows to see the reaction:
##########################
nmap -Pn 192.168.1.3 -sU -p 69
##########################

I get this response:
######################################
Starting Nmap 7.95 ( https://nmap.org ) at 2025-11-13 09:13 +04
Nmap scan report for XX-XX-XXXXXXX-X.mydomain.lan (192.168.1.3)
Host is up (0.0048s latency).

PORT STATE SERVICE
69/udp open tftp

Nmap done: 1 IP address (1 host up) scanned in 0.22 seconds
####################################

The port is now "open".

When trying to retrieve a file from the Windows TFTP server, I get an Error code 4: Access violation. This means I have a response (negative, but a response nonetheless...).

I hope I've been clear enough, but I don't understand this "open|filtered" concept, nor why I can't retrieve ipxe.efi.
Is there a configuration file for the wapttftpserver?

Thank you for your help.

Best regards
Last edited by cedric_974 on Nov 13, 2025 - 2:36 PM, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 13, 2025 - 12:08

Hello,

we should first check if the ipxe.efi file is present in the folder: /XXXX/wads/pxe

Simon
cedric_974
Messages: 11
Registration: Nov 13, 2025 - 05:42

November 13, 2025 - 12:43

Hello,

Thank you for your reply.

root@XX-XX-XXXXXXX-X:/# cd /XXXX/wads/pxe/
root@XX-XX-XXXXXXX-X:/XXXX/wads/pxe# ls
Boot EFI ipxe.efi snponly.efi sources undionly.kpxe

Yes, I confirm that it is present, and below are the permissions.

50355110 1020 -rw-r--r-- 1 root www-data 1042944 Sep 2 18:05 ipxe.efi

Thank you for your help.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 13, 2025 - 1:47 PM

Can you try this:

but on the repo itself with 127.0.0.1:

Code: Select all

cd ~
tftp 127.0.0.1
binary
get ipxe.efi
quit
ls -l ipxe.efi
cedric_974
Messages: 11
Registration: Nov 13, 2025 - 05:42

November 13, 2025 - 2:16 PM

It works at 127.0.0.1 and also with the repository's IP address.

In the meantime, I reinstalled another Debian system to eliminate all possibilities and ran another remote test, and it works there too.
So, I think the problem must have been with the machine I'd been using to test my remote TFTP from the beginning...

Thank you for your help and sorry for wasting your time.

Thanks again.
Answer