Difference between revisions of "TFTP Serving"
Jump to navigation
Jump to search
(Created page with "{{{!}} class="wikitable" style="float: right; width: 322px;" border="2" {{!}}+ Proven on: {{!}}- --="" debian="" {{!}} style="text-align: center; width: 60px;" {{!}} [[File:Logo Debian.png{{!}}60px{{!}}link=https://www.debian.org/{{!}}center{{!}}middle{{!}}frameless]] {{!}} style="text-align: center; width: 40px;" {{!}} 11 (bullseye) {{!}} <br> {{!}}} = Reference Material = * TecMint: [https://www.tecmint.com/install-tftp-server-on-ubuntu-debian/ How to Install and Co...") |
|||
Line 3: | Line 3: | ||
{{!}}- --="" debian="" | {{!}}- --="" debian="" | ||
{{!}} style="text-align: center; width: 60px;" {{!}} [[File:Logo Debian.png{{!}}60px{{!}}link=https://www.debian.org/{{!}}center{{!}}middle{{!}}frameless]] | {{!}} style="text-align: center; width: 60px;" {{!}} [[File:Logo Debian.png{{!}}60px{{!}}link=https://www.debian.org/{{!}}center{{!}}middle{{!}}frameless]] | ||
{{!}} style="text-align: center; width: 40px;" {{!}} | {{!}} style="text-align: center; width: 40px;" {{!}} 12 (bookworm) | ||
{{!}} | {{!}} | ||
Latest revision as of 17:21, 15 August 2024
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...)