I have tftp installed on Ubuntu 10.04 with the below /etc/xinetd.d/tftp file.
I can connect to the tftp server using
tftp 10.1.1.54 get pxelinux.0
and it retreaves the file with no issue. When I try:
get /pxelinux.0
I get a
Error Code 2: Access violation
This is a problem because the HP PXE boot environment request the pxelinux.0 with the leading /. I suspect it is trying to use the server root directory as the / root instead of using /tftpboot as the root. I've looked at the docs, but I can't see a way to chroot tftp so is interprets the leading slash correctly
Thanks in advance.
service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = nobody server = /usr/sbin/in.tftpd server_args = /tftpboot disable = no }