1) installation

 $ sudo apt-get install xinetd tftpd tftp

where as xinetd – is Extended Internet Services Daemon(xinetd), it is the mechanism for activating and managing servers.

tftpd –  is TFTPDaemon, it is server

tftp –  is client

2) create a /etc/xinetd.d/tftp file, which has following content,

# default: off

# description: The tftp server serves files using the Trivial File Transfer

# Protocol. The tftp protocol is often used to boot diskless

# workstations, download configuration files to network-aware printers,

# and to start the installation process for some operating systems.

service tftp


socket_type = dgram

protocol = udp

port = 69

wait = yes

user = nobody

server = /usr/sbin/in.tftpd

server_args = -s /tftpboot

disable = no


3) create a directory as mentioned in server_args usually it is named as tftpboot

$ sudo mkdir /tftpboot

$ sudo chmod -r 777 /tftpboot

$ sudo chown -r nobody /tftpboot

4) restart xinetd mechanism, to up and start running our tftp server

 $ sudo /etc/init.d/xinetd restart

5) Checking,

Let us create a test file inside /tftpboot directory

 $ ls / > /tftpboot/test

$ tftp

tftp > get test

Received 222 bytes in 0.0 seconds

tftp > quit

You will get same test file at pwd, Hence our tftp server is working fine..You can get your ip address using

$ sudo ifconfig



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s