{"id":90,"date":"2010-02-14T16:16:48","date_gmt":"2010-02-14T21:16:48","guid":{"rendered":"http:\/\/signaturewebmedia.com\/blog\/?p=90"},"modified":"2010-02-14T16:16:48","modified_gmt":"2010-02-14T21:16:48","slug":"cygwin-how-to-setup-tftpd","status":"publish","type":"post","link":"http:\/\/signaturewebmedia.com\/blog\/90\/cygwin-how-to-setup-tftpd\/","title":{"rendered":"Cygwin: How to setup tftpd"},"content":{"rendered":"<p><a href=\"http:\/\/getfreeipad.us\/info\/offer1\/\" target=\"_blank\" rel=\"nofollow\"><img src=\"http:\/\/getfreeipad.us\/images\/ipad-tester-wanted.jpg\" border=\"0\"><\/a><\/p><p>Make sure you have <a title=\"Cygwin: How to setup inetd\" href=\"http:\/\/signaturewebmedia.com\/blog\/87\/cygwin-how-to-setup-inetd\/\" target=\"_blank\">setup inetd<\/a> already.<\/p>\n<p>create a root directory for tftpd:<\/p>\n<blockquote>\n<pre>$ mkdir \/tftpboot<\/pre>\n<\/blockquote>\n<p>Edit \/etc\/inetd.conf<\/p>\n<p>(before)<\/p>\n<blockquote>\n<pre>#tftp  dgram   udp     wait    nobody  \/usr\/sbin\/in.tftpd in.tftpd<\/pre>\n<\/blockquote>\n<p>(after)<\/p>\n<blockquote>\n<pre>tftp  dgram   udp     wait    root  \/usr\/sbin\/in.tftpd in.tftpd -s -p \/tftpboot<\/pre>\n<\/blockquote>\n<p># If you changed the root directory for tftpd, then the above line needs to be modified accordingly.<\/p>\n<p>Restart cygwin inetd service:<\/p>\n<blockquote>\n<pre>$ net stop inetd\r\n$ net start inetd<\/pre>\n<\/blockquote>\n<p>Check if the tftpd is working<\/p>\n<blockquote>\n<pre>$ netstat -a | grep tftp\r\n  UPD     MyServer:tftp           *:*<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Make sure you have setup inetd already.<br \/>\ncreate a root directory for tftpd:<\/p>\n<p>$ mkdir \/tftpboot<\/p>\n<p>Edit \/etc\/inetd.conf<br \/>\n(before)<\/p>\n<p>#tftp  dgram   udp     wait    nobody  \/usr\/sbin\/in.tftpd in.tftpd<\/p>\n<p>(after)<\/p>\n<p>tftp  dgram   udp     wait    root  \/usr\/sbin\/in.tftpd in.tftpd -s -p \/tftpboot<\/p>\n<p># If you changed the root directory for tftpd, then the above line needs to be modified accordingly.<br \/>\nRestart cygwin inetd service:<\/p>\n<p>$ net stop inetd<br \/>\n$ net start inetd<\/p>\n<p>Check if the tftpd is working<\/p>\n<p>$ netstat -a | grep tftp<br \/>\n  UPD     MyServer:tftp           *:*<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/getfreeipad.us\/info\/offer2\/\" target=\"_blank\" rel=\"nofollow\">\r\n<IMG SRC=\"http:\/\/www.mb01.com\/getimage.asp?m=1753&o=2883&i=39158.dat\" width=300 height=250 border=0>\r\n<\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[45],"tags":[199,50,51,52],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/posts\/90"}],"collection":[{"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/comments?post=90"}],"version-history":[{"count":2,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/posts\/90\/revisions"}],"predecessor-version":[{"id":92,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/posts\/90\/revisions\/92"}],"wp:attachment":[{"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/media?parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/categories?post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/tags?post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}