Hi guys, I recently decided to move from WDS to Fog and have began setting it up today but have ran into some issues with TFTP-HPA
I have a VMWare workstation VM running the latest release of ubuntu (freshly installed today), any TFTP get requests (either manually or from PXE) seem to be timing out.
Running tftp from windows shows
tftp 192.168.0.26 get ipxe.efi
Connect request failed
with the TCPDump showing:
192.168.0.87.53571 > pcNameHere.tftp: [udp sum ok] TFTP, length 20, RRQ "ipxe.efi" netascii
16:17:05.206384 IP (tos 0x0, ttl 128, id 3541, offset 0, flags [none], proto UDP (17), length 48)
192.168.0.87.53571 > pcNameHere.tftp: [udp sum ok] TFTP, length 20, RRQ "ipxe.efi" netascii
16:17:07.212387 IP (tos 0x0, ttl 128, id 3542, offset 0, flags [none], proto UDP (17), length 48)
192.168.0.87.53571 > pcNameHere.tftp: [udp sum ok] TFTP, length 20, RRQ "ipxe.efi" netascii
16:17:11.219890 IP (tos 0x0, ttl 128, id 3543, offset 0, flags [none], proto UDP (17), length 48)
192.168.0.87.53571 > pcNameHere.tftp: [udp sum ok] TFTP, length 20, RRQ "ipxe.efi" netascii
16:17:19.225284 IP (tos 0x0, ttl 128, id 3549, offset 0, flags [none], proto UDP (17), length 48)
192.168.0.87.53571 > pcNameHere.tftp: [udp sum ok] TFTP, length 20, RRQ "ipxe.efi" netascii
16:17:27.229313 IP (tos 0x0, ttl 128, id 3550, offset 0, flags [none], proto UDP (17), length 48)
192.168.0.87.53571 > pcNameHere.tftp: [udp sum ok] TFTP, length 20, RRQ "ipxe.efi" netascii
16:17:35.237293 IP (tos 0x0, ttl 128, id 3551, offset 0, flags [none], proto UDP (17), length 48)
192.168.0.87.53571 > pcNameHere.tftp: [udp sum ok] TFTP, length 20, RRQ "ipxe.efi" netascii
16:17:43.239364 IP (tos 0x0, ttl 128, id 3552, offset 0, flags [none], proto UDP (17), length 48)
192.168.0.87.53571 > pcNameHere.tftp: [udp sum ok] TFTP, length 20, RRQ "ipxe.efi" netascii
16:17:51.245345 IP (tos 0x0, ttl 128, id 3553, offset 0, flags [none], proto UDP (17), length 51)
192.168.0.87.53571 > pcNameHere.tftp: [udp sum ok] TFTP, length 23, ERROR EUNDEF "timeout on receive"
The tftpboot permissions are:
/var/log# ls -l /tftpboot
total 6164
drwxr-xr-x 4 fogproject root 4096 Oct 27 15:14 10secdelay
drwxr-xr-x 2 fogproject root 4096 Oct 27 15:14 arm64-efi
-rw-r--r-- 1 root root 457 Oct 27 15:14 default.ipxe
drwxr-xr-x 2 fogproject root 4096 Oct 27 15:14 i386-efi
-rw-r-xr-x 1 fogproject root 268288 Oct 27 15:14 intel.efi
-rw-r-xr-x 1 fogproject root 104229 Oct 27 15:14 intel.kkpxe
-rw-r-xr-x 1 fogproject root 104277 Oct 27 15:14 intel.kpxe
-rw-r-xr-x 1 fogproject root 104233 Oct 27 15:14 intel.pxe
-rw-r-xr-x 1 fogproject root 1093120 Oct 27 15:14 ipxe.efi
-rw-r-xr-x 1 fogproject root 907264 Oct 27 15:14 ipxe.iso
-rw-r-xr-x 1 fogproject root 371566 Oct 27 15:14 ipxe.kkpxe
-rw-r-xr-x 1 fogproject root 371614 Oct 27 15:14 ipxe.kpxe
-rw-r-xr-x 1 fogproject root 370994 Oct 27 15:14 ipxe.krn
-rw-r-xr-x 1 fogproject root 370994 Oct 27 15:14 ipxe.lkrn
-rw-r-xr-x 1 fogproject root 371834 Oct 27 15:14 ipxe.pxe
-rw-r-xr-x 1 fogproject root 409600 Oct 27 15:14 ipxe.usb
-rw-r-xr-x 1 fogproject root 26140 Oct 27 15:14 memdisk
-rw-r-xr-x 1 fogproject root 299008 Oct 27 15:14 ncm--ecm--axge.efi
-rw-r-xr-x 1 fogproject root 266240 Oct 27 15:14 realtek.efi
-rw-r-xr-x 1 fogproject root 104968 Oct 27 15:14 realtek.kkpxe
-rw-r-xr-x 1 fogproject root 105016 Oct 27 15:14 realtek.kpxe
-rw-r-xr-x 1 fogproject root 104987 Oct 27 15:14 realtek.pxe
-rw-r-xr-x 1 fogproject root 266240 Oct 27 15:14 snp.efi
-rw-r-xr-x 1 fogproject root 266752 Oct 27 15:14 snponly.efi
-rw-r-xr-x 1 fogproject root 103589 Oct 27 15:14 undionly.kkpxe
-rw-r-xr-x 1 fogproject root 103637 Oct 27 15:14 undionly.kpxe
-rw-r-xr-x 1 fogproject root 103666 Oct 27 15:14 undionly.pxe
UFW is disabled (fresh install so it shouldn’t be anyway)
/var/log# sudo ufw status
Status: inactive
tftp-hpa config:
/var/log# cat /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa
# FOG Modified version
TFTP_USERNAME="root"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS=":69"
TFTP_OPTIONS="-s"
tftpd-hpa status:
/var/log# sudo systemctl status tftpd-hpa
● tftpd-hpa.service - LSB: HPA's tftp server
Loaded: loaded (/etc/init.d/tftpd-hpa; generated)
Active: active (running) since Fri 2023-10-27 15:52:46 BST; 29min ago
Docs: man:systemd-sysv-generator(8)
Process: 47694 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 4556)
Memory: 440.0K
CPU: 72ms
CGroup: /system.slice/tftpd-hpa.service
└─47702 /usr/sbin/in.tftpd --listen --user root --address :69 -s /tftpboot
Oct 27 15:52:46 fbs-virtual-machine systemd[1]: Starting LSB: HPA's tftp server...
Oct 27 15:52:46 fbs-virtual-machine tftpd-hpa[47694]: * Starting HPA's tftpd in.tftpd
Oct 27 15:52:46 fbs-virtual-machine tftpd-hpa[47694]: ...done.
Oct 27 15:52:46 fbs-virtual-machine systemd[1]: Started LSB: HPA's tftp server.
Thanks for any suggestions 
Edit: the VM’s are all bridged networks with their own IP’s which works fine with WDS