aptitude install tftpd-hpa
nano /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS="0.0.0.0:69"
#TFTP_OPTIONS="--secure"
TFTP_OPTIONS="--secure --create"
chmod 777 /srv/tftp
service tftpd-hpa restart
test:
aptitude install tftp touch file.ext tftp 192.168.1.2 tftp> put file.ext