Table of Contents
1 Install atftp
Install atftp package. /srv/tftpboot is used for TFTP server directory.
> sudo zypper -n in atftp> sudo systemctl enable atftpd.socket> sudo systemctl start atftpd.socket> sudo firewall-cmd –add-service=tftp –permanent> sudo firewall-cmd –reload
2 GET file with atftp
Put file to /srv/tftpboot.
> echo “hello” | sudo tee /srv/tftpboot/hello.txt
Get file with atftp from TFTP server.
> echo “get hello.txt” | atftp 127.0.0.1tftp> get hello.txttftp>> cat hello.txthello