From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 22:54:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25AFC106566B for ; Thu, 7 Jul 2011 22:54:41 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [67.130.252.61]) by mx1.freebsd.org (Postfix) with ESMTP id E69F78FC0A for ; Thu, 7 Jul 2011 22:54:40 +0000 (UTC) Received: from mailhost3.waddell.com (mailhost3.waddell.com [10.1.10.28]) by mailhost0.waddell.com (Postfix) with ESMTP id 5B0DA5084D; Thu, 7 Jul 2011 17:54:40 -0500 (CDT) Received: from mailhost3.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 576553C344; Thu, 7 Jul 2011 17:54:40 -0500 (CDT) Received: from WADPHTCAS0.waddell.com (wadphtcas0.waddell.com [192.168.203.229]) by mailhost3.waddell.com (Postfix) with ESMTP id 4BC933C338; Thu, 7 Jul 2011 17:54:40 -0500 (CDT) Received: from WADPMBXV0.waddell.com ([169.254.2.30]) by WADPHTCAS0.waddell.com ([192.168.203.229]) with mapi; Thu, 7 Jul 2011 17:54:40 -0500 From: Gary Gatten To: "'mexas@bristol.ac.uk'" , "'freebsd-questions@freebsd.org'" Date: Thu, 7 Jul 2011 17:54:38 -0500 Thread-Topic: tftp - bad checksum error? can't transfer file Thread-Index: Acw894eKw8DfB2xJSrqVPK6FpTx58wAAVFOD Message-ID: <9104_1310079280_4E163930_9104_2159_1_D9B37353831173459FDAA836D3B43499C2309D2D@WADPMBXV0.waddell.com> In-Reply-To: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: Re: tftp - bad checksum error? can't transfer file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2011 22:54:41 -0000 >From my experience tcpdump is misleading re udp fragments and chksums. If = the packet gets fragmented, udp will report bad chksums at some point. Check your file names (case), perms, etc. 90% of time I typo a name or for= get to chmod the files; or when using tftp to write I forget to create a fi= le with the correct name (and perms) first. ----- Original Message ----- From: Anton Shterenlikht [mailto:mexas@bristol.ac.uk] Sent: Thursday, July 07, 2011 05:44 PM To: freebsd-questions@freebsd.org Subject: tftp - bad checksum error? can't transfer file I'm trying to troubleshoot tftpd(8). % grep boot /etc/inetd.conf tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot bootps dgram udp wait root /usr/libexec/bootpd bootpd -d4 -t0 /etc/bootptab % I'm trying to boot another node via bootp/tftp. I'm monitoring what's going on with tcpdump -vv. bootpd starts fine, and seems to read /etc/bootptab correctly. But after that nothing happens, and after a few minutes I get on the console of the host which I want to boot: > bootp()/bsd.rd.IP32 Unable to execute bootp()/bsd.rd.IP32: invalid argument > Does this tcpdump fragment help to understand where the problem is: 192.168.232.10.15388 > buzi.tftp: [no cksum] 25 RRQ "/bsd.rd.IP32" oct= et ( o 23:25:21.024160 IP (tos 0x0, ttl 64, id 56, offset 0, flags [none], proto U= DP (1 7), length 30, bad cksum 0 (->293a)!) buzi.19330 > 192.168.232.10.15388: [udp sum ok] UDP, length 2 23:25:51.013759 IP (tos 0x0, ttl 255, id 256, offset 0, flags [none], proto= UDP (17), length 53) I'm happy to provide more detailed information on the settings I use and a longer tcpdump output, if this helps. Many thanks Anton --=20 Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."