cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

software:cygwin:tftp.html



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



software/cygwin/tftp.html.txt ยท Last modified: 2016/02/20 by admin

Page Tools