Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2011 16:39:53 -0600
From:      John Hein <jhein@symmetricom.com>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD's tftp and tftpd-hpa
Message-ID:  <19876.54457.991668.909384@gromit.timing.com>
Resent-Message-ID: <19876.55099.834087.22568@gossamer.timing.com>
In-Reply-To: <20110211165339.GA97436@cons.org>
References:  <20110211165339.GA97436@cons.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Martin Cracauer wrote at 11:53 -0500 on Feb 11, 2011:
 > FreeBSD's current tftp client doesn't work with tftpd-hpa.
 > 
 > FreeBSD 9.0-CURRENT (XEN) #0: Fri Jan 21 15:54:41 EST 2011
 > ~(fbpv)1% tftp 192.168.1.1
 > tftp> get pxeboot
 > Got ERROR packet: Unsupported option(s) requested
 > Error code 2048: Unsupported option(s) requested
 > tftp> 
 > 
 > Anybody got a solution for this? Otherwise I'll hack it up.

I just hit this, too.

The linux (hpa) version of tftpd has:

/*
 * Return a file size (c.f. RFC2349)
 * For netascii mode, we don't know the size ahead of time;
 * so reject the option.
 */

So, for the archives (only two months later!), you can use 'mode octet'
(aka 'mode binary') to can work around this issue.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?19876.54457.991668.909384>