General:TFTPServers

From foonas
Jump to: navigation, search


This is a list of TFTP servers for several Linux variants and other operating systems that are useful for firmware and OS installation operations from your platform of choice with foonas & foonas-em.

Contents

Linux

Gentoo

The tftp-hpa package in portage (a port of the OpenBSD TFTP Server) is very easy to use. emerge the package and edit /etc/conf.d/tftpd to taste, for example if your TFTP server root is /tftproot:

# Path to server files from
INTFTPD_PATH="/tftproot"

# For more options, see tftpd(8)
INTFTPD_OPTS="-s ${INTFTPD_PATH}"

Then start the TFTP server:

/etc/init.d/in.tftpd start

Ubuntu

Using the same tftp-hpa package installed by apt-get or Aptitude, one can invoke the server to serve the sought files (from user davygravy's desktop, for instance) by a simple

sudo in.tftpd -l -s /home/davygravy/Desktop

One convenient way to implement this is by using a launcher icon on the desktop. Of course, here as in Gentoo, one can also configure the server config file to run as desired by editing /etc/default/tftpd-hpa .

Arch

The tftp-hpa package is in the Arch Extra repo, install with:

 pacman -S tftp-hpa

Then edit hosts.allow and add these lines:

 nano /etc/hosts.allow
 tftpd: ALL
 in.tftpd: ALL

And if you want to change the path to the server root:

 nano /etc/conf.d/tftpd 
 #
 # Parameters to be passed to TFTPD
 #
 TFTPD_ARGS="-l -s /var/tftpboot"

And to start:

 /etc/rc.d/tftpd start

Mac OS X

Windows

tftpd32
Solarwinds Tftp Server (Registration Required)

Personal tools