TFTP Serving

From Da Nerd Mage Wiki
Revision as of 18:18, 15 August 2024 by Tinker (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Proven on:
Logo Debian.png
11 (bullseye)


Reference Material

CopyPasta

  • sudo apt install tftpd-hpa
  • sudo systemctl enable tftpd-hpa
  • sudo systemctl status tftpd-hpa.service
  • sudo vi /etc/default/tftpd-hpa
  1. /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...)