Marco Steinbach schrieb:
Anton Shterenlikht schrieb:
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

[...]

Last time I saw this error was with an SGI Octance 2, where the Octanes RRQ requests contained trailing garbage, which FreeBSDs tftp tried to interpret as extended options.

Try disabling options_rfc and options_extra in /usr/src/libexec/tftpd/tftp-options.c, and reinstall tftpd.


Here's another, probably more feasible suggestion:

tftpd(8)s man page (on 8.2-STABLE) tells:

     -o      Disable support for RFC2347 style TFTP Options.

I don't remember, if that knob didn't do the trick for me, or if I just didn't see and try it. I assume the latter.

MfG CoCo

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to