Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jul 2011 23:44:35 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-questions@freebsd.org
Subject:   tftp - bad checksum error? can't transfer file
Message-ID:  <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
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" octet (
o
23:25:21.024160 IP (tos 0x0, ttl 64, id 56, offset 0, flags [none], proto UDP (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



-- 
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110707224435.GA27624>