Subject: Re: Netbooting questions
To: Andy R <quadreverb@yahoo.com>
From: David Brownlee <abs@netbsd.org>
List: port-sparc
Date: 10/02/2002 10:58:29
On Tue, 1 Oct 2002, Andy R wrote:

> I'm pretty new to this whole netbooting thing, but I
> have a few questions. The diskless man page for sparc
> says this:
>
> "Your system will not netboot without a working
> NVRAM."
>
> Is this 100% true or can I fudge a mac address using
> mkp (which is what I have been doing for a while to
> run the thing with a disk).
>
	That will also work.

> The next thing is this. I'm going step by step through
> the diskless setup web pages, and I've set up rarp,
> tftp and nfs. When I type this on my machine (sparc1):
>
> ok boot net
>
> And get the error:
>
> The IDPROM checksum is incorrect.The IDPROM checksum
> is incorrect.The IDPROM checksum is incorrect.Got
> error packet: Error Code 1 Message: File not found
>
> I get this in the syslog of my server:
>
> Oct  1 22:45:46 roadrunner rarpd[159]: received packet
> on ex0
> Oct  1 22:45:46 roadrunner rarpd[159]:
> 08:00:20:ff:ff:ff asked; sparky.andy.com replied
> Oct  2 05:45:47 roadrunner tftpd[780]: 192.168.1.6:
> read request for /tftpboot/C0A80106.SUN4C: File not
> found
>
> Well, this file does indeed exist:
>
> roadrunner# pwd
> /tftpboot
> roadrunner# ls -l
> total 0
> lrwxr-xr-x  1 root  wheel  35 Oct  1 22:44
> C0A80106.SUN4C -> /home/sparky/root/usr/mdec/boot.net
>
> I've tried both a symbolic link (which I found on this
> list), as well as copying the boot.net file over and
> naming it the proper hex name.

	The symlink withh definitely not work if you are running tftpd
	with -s (the default) as it chroot()s to /tftpboot. Hmm - you
	might want to 'cd /tftpboot ; ln -s . tftpboot', so a request
	for /tftpboot/C0A80106.SUN4C will map to ./C0A80106.SUN4C :)

-- 
		David/absolute          -- www.netbsd.org: No hype required --