Table of Contents

Cygwin

TFTP on Cygwin

Configuration

Create Directory

$ mkdir /tftpboot

Edit /etc/inetd.conf

#Before
#tftp  dgram   udp     wait    nobody  /usr/sbin/in.tftpd in.tftpd

#After
tftp  dgram   udp     wait    root  /usr/sbin/in.tftpd in.tftpd -s -p /tftpboot

Start Service

$ net stop inetd
$ net start inetd


Check TFTP

Check TFTP Port

$ netstat -a | grep tftp


Check tftp Service

$ echo aaa > /tftpboot/test.txt

$ tftp localshot
tftp>
tftp> get test.txt
tftp> q

$ ll test.txt