AlpineLinux 3.8: Install tftp-hpa for TFTP server

Table of Contents

1 Install tftp-hpa

Install tftp-hpa package. /var/tftpboot is used for TFTP server directory.

$ sudo apk add tftp-hpa$ sudo rc-update add in.tftpd$ sudo rc-service in.tftpd start

2 GET file with tftp

Put file to /var/tftpboot.

$ echo “hello” | sudo tee /var/tftpboot/hello.txt

Get file with tftp from TFTP server.

$ echo “get hello.txt” | tftp> get hello.txttftp>$ cat hello.txthello

Android | Linux | SDL - Narrow Escape