Subject: Re: Netboot trouble (was Re: Sparc questions)
To: 'NetBSD-Users' <netbsd-users@NetBSD.org>
From: Mike Parson <mparson@bl.org>
List: netbsd-users
Date: 11/19/2004 22:01:55
On Fri, Nov 19, 2004 at 10:22:22PM +0100, Benjamin Walkenhorst wrote:
>> Yeah, once you get netbooting down, it's pretty easy to maintain.
>
>
> I now have set up rarpd, tftpd and nfs on my home server and tried
> booting the Sparc over network for the first time - unfortunately,
> OpenBoot does not detect the twisted pair cable correctly and gets a
> rarp timeout. I started the rarp daemon on my server in debug mode to
> make sure - no packet arrives...  When I boot the system installed
> on the harddrive, it does detect the cable and gets a dhcp lease,
> though. What am I doing wrong?

Lessee...

Have you run tcpdump on the rarpd/tftpd/nfsd server?  Just because rarpd
isn't logging anything doesn't mean the packets aren't making it onto
the wire.  What OS are you running on the boot server?

you need 
/etc/ethers
/etc/bootparams

/tftpboot/HEXVEROFIP.SUN4M which is a copy of, or symlink to, boot.net,
which permisions that allow it to be read by anyone 644 would be ideal).
It needs to be in all caps, and the requested file can be verified with
tcpdump.

make sure you arp in the entries from the ethers file

running daemons:

rarpd
bootparamd
tftpd
nfsd/mountd
the rpc portmapper (bootparamd and nfs are rpc services)

This is all from memory, and I've never actually set up a boot server
under NetBSD, just under Solaris and Linux.  There are more detailed
docs on the NetBSD website, which is where I set mine up from the first
couple of times.

-- 
Michael Parson
mparson@bl.org