How to setup Advanced TFTP Server on Linux (SuSE)

Advanced TFTP server & client is simple to setup and use on Linux box (OpenSuSE in this example).

Download and install

yum install atftp

 

Setup and running Advanced TFTP as server

– Check configuration file. If you installed thru yast, then Server:/etc/sysconfig # gedit atftpd
 

## Path:    Network/FTP/Atftpd
## Description: ATFTP Configuration
## Type:    string
## Default: "–daemon "
#
# atftpd options
#
ATFTPD_OPTIONS="–daemon "

## Type:    yesno
## Default: no
#
# Use inetd instead of daemon
#
ATFTPD_USE_INETD="no"

## Type:    string
## Default: "/tftpboot"
#
#  TFTP directory must be a world readable/writable directory.
#  By default /tftpboot is assumed.
#
ATFTPD_DIRECTORY="/tftpboot"

## Type:    string
## Default: ""
#
#  Whitespace seperated list of IP addresses which ATFTPD binds to.
#  One instance of the service is started on each IP address.
#  By default atftpd will listen on all available IP addresses/interfaces.
#
ATFTPD_BIND_ADDRESSES=""

 

– Create tftpboot directory

Server:/ # mkdir /tftpboot
Server:/ # chmod -R 777 /tftpboot
Server:/ # chown -R nobody /tftpboot
Server:/ # /etc/init.d/atftpd restart
Stopping Advanced Trivial FTP server                                 done
Starting Advanced Trivial FTP server                                 done
 

Done!

Leave a Reply