REL 1.0
Page 40 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
TFTP server
Create the tftp configuration file and insert the following content.
$sudo nano /etc/xinetd.d/tftp
service tftp
{
protocol = udp
prot = 69
socket_type = dgram
wait= yes
user = <user_name>
server = /usr/sbin/in.tftpd
server_args = /tftpboot -s
disable = no
}
Example
service tftp
{
protocol = udp
prot = 69
socket_type = dgram
wait = yes
user = iwave
server = /usr/sbin/in.tftpd
server_args = /tftpboot -s
disable = no
}
Change the ownership of the directory.
$sudo mkdir /tftpboot
$sudo chmod -R 777 /tftpboot
$sudo chown -R <user_name>:<user_name> /tftpboot
Start the tftp services,
$sudo service xinetd stop
$sudo service xinetd start
Verify the TFTP is running correctly or not
$netstat -na | grep LIST | grep 22