TFTP Serving
Jump to navigation
Jump to search
12 (bookworm) |
|
Reference Material
- TecMint: How to Install and Configure TFTP Server on Ubuntu and Debian
- Debian Wiki: TFTP
- Ubuntu Community Wiki: TFTP
CopyPasta
sudo apt install tftpd-hpa
sudo systemctl enable tftpd-hpa
sudo systemctl status tftpd-hpa.service
sudo vi /etc/default/tftpd-hpa
- /etc/default/tftpd-hpa
TFTP_USERNAME="tftp" TFTP_DIRECTORY="/srv/tftp" TFTP_ADDRESS=":69" TFTP_OPTIONS="--secure --create"
sudo chown -R tftp /srv/tftp
Notes & Thoughts
The TFTP_DIRECTORY entry in /etc/default/tftpd-hpa should be changed to reflect a dedicated space.
The TFTP_OPTIONS entry doesn't really need (and shouldn't have!) --create for normal usage. This is really only here to allow putting things in place from remote machines. Must come up with a better solution. (Maybe using FTP or NFS...)