This article will describe installing tftp-hpa for TFTP server.
Table of Contents
1 Install tftp-hpa
Install tftp-hpa package. /srv/tftp is used for TFTP server directory.
$ sudo pacman -Sy --noconfirm tftp-hpa $ sudo systemctl enable tftpd $ sudo systemctl start tftpd
2 GET file with tftp
Put file to /srv/tftp.
$ echo "hello" | sudo tee /srv/tftp/hello.txt
Get file with tftp from TFTP server.
$ echo "get hello.txt" | tftp 127.0.0.1 tftp> get hello.txt tftp> $ cat hello.txt hello