I am trying to get a very simple tftp server working. I followed the guides at several websites, including how-to-setup-tftp-on-ubuntu and installing-and-testing-tftpd-in-ubuntudebian, but I haven't been able to get a tftp server working.
The xinetd service is running (I know this because I do a ps -A | grep xinetd and see it), but I don't see tftp in netstat -na | grep LIST | grep 69. In other words, xinetd is running but I don't see the tftp server. I tried connecting to the server from my Windows tftp client but it failed, so I know for sure it's not running.
My /etc/xinetd.d/tftp config file looks like this:
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
}
The /tftpboot is owned by nobody:nogroup, and mode to 777.
I thought maybe it was a firewall issue but ufw says it is inactive. In case it matters, Ubuntu is running inside a VirtualBox VM with the ethernet adapter bridged (not NAT) to my home network.
I also tried directly running /usr/sbin/in.tftpd and used the --foreground option, but it closes right away.