How to use TFTP ( Trivial File Transfer Protocol ) and i need to transfer a file using TFTP ?
Asked
Active
Viewed 3,998 times
2 Answers
2
I found this useful.
Excerpt:
- Install tftpd and related packages.
$ sudo apt-get install xinetd tftpd tftp- Create
/etc/xinetd.d/tftpand put this entry:
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}- Make /tftpboot directory
$ sudo mkdir /tftpboot
$ sudo chmod -R 777 /tftpboot
$ sudo chown -R nobody /tftpboot- Start tftpd through xinetd
$ sudo /etc/init.d/xinetd start