Subject: Re: booting a diskless 4/110...
To: None <port-sparc@NetBSD.ORG>
From: Christos Zoulas <christos@deshaw.com>
List: port-sparc
Date: 09/25/1996 01:25:36
In article <199609250101.UAA25105@solutions.solon.com> seebs@solon.com (Peter Seebach) writes:
>Here's what happens: tftp times out, and nothing boots.
>
>tcpdump -vv udp sez:
>19:59:23.086974 4xdev.1224 > 255.255.255.255.tftp: 22 RRQ "C0815418.SUN4" (ttl 255, id 0)
>19:59:23.241599 taniemarie.1063 > 4xdev.1224: udp 21 (ttl 64, id 5874)
>
>This is "correct" - the Sun 4 is getting the hardware address 192.129.84.24,
>and is requesting a file which exists, is in /tftpboot, and is world readable.
>I have
>tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot
>in /etc/inetd.conf.
>
My entry looks like:
tftp dgram udp wait root /usr/libexec/tftpd tftpd -s
/tftpboot
The man page says:
When using the -s flag with a directory name, tftpd will chroot(2) on
startup; therefore the remote host is not expected to pass the directory
as part of the file name to transfer. This option is intended primarily
for compatibility with SunOS boot ROMs which do not include a directory
name.
christos