I have a FreeBSD server on which I would like to run a TFTP server (for PXE). My daemon of choice is tftp-hpa
and I have it configured to serve from /tftpboot
properly. It works unless I mount /tftpboot
via NFS. Here is some more information…
sockstat -4l
confirmsin.tftpd
is running on *:69 (which is correct)telnet
obviously doesn't work (UDP) but when I try to grab a file that exists, I get a timeout.- There's no loot in
/var/log/messages
- When I request a file that does not exist, I get the proper error
Any ideas?
Best Answer
If your NFS mount is exported read-only (regardless of whether it is mounted rw or ro), this seems to cause tftpd-hpa to exhibit this behavior. While I’ve no idea why, exporting rw resolves it.