From owner-freebsd-questions@FreeBSD.ORG Wed Jun 27 23:12:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4956D16A400 for ; Wed, 27 Jun 2007 23:12:24 +0000 (UTC) (envelope-from lordboink@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id AED8D13C4B0 for ; Wed, 27 Jun 2007 23:12:23 +0000 (UTC) (envelope-from lordboink@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so518991uge for ; Wed, 27 Jun 2007 16:12:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=aCe1rd7HV8xtFeYcC2bVDMZs4fjCOFxdypCd4ykPuRnS4Cp8R8wN+ydhrAyk62wnjkFvqDufaJRXwM/YZRkXxJM9RWm8uatKqrQUTfijH/dAOfKQsoVFzgyfLUTQSBkyBpWvhyTuoKxKmHxYhFL9sa+P5GcI1iHqFyCIa3lniqc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=Zp+oJYZoTOWY2k7pIwmq+cemu8vdHaYlG0RfuOJD+6CvTS9rE3QdHXmW/72dzS9S62ibq/VPjgu5aENapJu1YJ5wK00DqpNmQJh5/S6FAz5G19lSjtPmLvVXTS+5YKyhhoDQg1CWKCEcho3GzGEu6FeIr+H2QxqxWYm/5DnGFwc= Received: by 10.67.26.6 with SMTP id d6mr1447281ugj.1182984305835; Wed, 27 Jun 2007 15:45:05 -0700 (PDT) Received: from ?10.1.1.2? ( [62.220.129.66]) by mx.google.com with ESMTP id m1sm5248664fke.2007.06.27.15.45.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 27 Jun 2007 15:45:04 -0700 (PDT) Message-ID: <4682E86E.6080708@googlemail.com> Date: Thu, 28 Jun 2007 00:45:02 +0200 User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: mikesw@adhost.com, freebsd-questions@freebsd.org References: <17838240D9A5544AAA5FF95F8D520316022ABCA0@ad-exh01.adhost.lan> <20070626180908.GC74813@nemesis.frida.mouhaha.de> In-Reply-To: <20070626180908.GC74813@nemesis.frida.mouhaha.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Steve W Cc: Subject: Re: tftpd problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lordboink@googlemail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 23:12:24 -0000 Oliver Peter wrote: > On Wed, Jun 20, 2007 at 04:04:56PM -0700, Mike Sweetser - Adhost wrote: >> I'm having problems setting up tftpd on FreeBSD 6.2-RELEASE - our Cisco >> routers cannot connect to the server, and only small files can be >> uploaded. >> >> Here's the line from inetd.conf: >> >> tftp dgram udp wait root /usr/libexec/tftpd tftpd -w >> -l -s /home/tftproot >> >> When TFTPing from a Cisco router, a zero-byte file is created, and then >> a timeout occurs and it errors out. >> >> When TFTPing from a Windows XP machine, only about 20-30 bytes of the >> file are uploaded. No error is received, it says it completes the >> upload. >> >> Any ideas? > > My first try would be to have a look into /var/log/xferlog . > Mike, Once I had problems with FBSD6.0's standard tftp server (/usr/libexec/tftpd) ignoring the blksize option as specified by clients. The symptoms were similar: transfers 'completed', but no/partial/unusable file. #tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot #standard tftp server ignores client's blksize request (of 1432) and sends 512 byte blocks regardless #installed tftp-hpa-0.41 instead from port tftp dgram udp wait root /usr/local/libexec/in.tftpd in.tftpd -a 10.1.2.1:69 -T 500000 -t 15 -v -s /usr/jail/usr/minibsd/boot HTH Best wishes, Steve