Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20030707024436.95956.qmail@web41706.mail.yahoo.com> Date: Sun, 6 Jul 2003 19:44:36 -0700 (PDT) From: Rajesh Gottlieb Subject: Re: help running tftpd under winXP To: Rajesh Gottlieb , cygwin AT cygwin DOT com In-Reply-To: <20030703063729.7518.qmail@web41709.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Ok here's what I had to do to get the tftp daemon running. I want to serve files from /tftpboot so I added that bit to the line in inetd.conf. Then I had to install inetd as a service and start it. I had to look at inetd source to find the -i option to install it as a service. There's also a -r option to remove it as well. Installing as a service could have probably been done with /usr/bin/cygrunsrv Anyway here's my transcript: $ grep tftp /etc/inetd.conf tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd /tftpboot $ /usr/sbin/inetd.exe -i $ net start inetd The CYGWIN inetd service is starting. The CYGWIN inetd service was started successfully. Now for a quick test - get a file: $ pwd /tmp $ cat /tftpboot/testfile.txt Mostly empty test file $ tftp localhost tftp> get testfile.txt Received 24 bytes in 0.3 seconds tftp> quit $ cat testfile.txt Mostly empty test file When I first tried to test this I made the mistake of being in the /tftpboot directory and tftp'ing a file onto itself. It ended up wiping out the original and replacing it with a zero byte file of the same name... Raj __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/