Subject: Re: diskless boot failure
To: Kenneth Stailey <kstailey@leidecker.gsfc.nasa.gov>
From: Douglas Thomas Crosher <dtc@scrooge.ee.swin.oz.au>
List: netbsd-help
Date: 12/11/1994 02:06:51
> 
> Today I decided to bring up a diskless NetBSD 1.0.  I found a 3Com card with
> no documentation.  It does not say what kind of card it is.  I guessed 3C501
> since it is 8-bit and old looking.  The only jumpers that I'm sure are in
> the right position are IRQ=2 and DMA=disabled.
> 
> Does anyone know if this is really a 3C501?
> 

3Com have a ftp site at ftp.3com.com.  The program crdfnd.exe detects their
boards and prints out the boards configuration. It can be found in:

adapters/drivers/crdfnd.exe

Hopefully it will detect the 3c501 card.

> anyhow...
> 
> But I get a panic in nfs_boot when reverse arp fails.
> 

Below is a description of how I go a NetBSD-current machine to boot
diskless from another.

On the Server:

1. To get rarpd working:

	Enable in in /etc/netstart, eg. rarpd_flags="-a"

	Create a directory /tftpboot

	Create a file /tftpboot/{ip}, where {ip} is the ip address in 
	uppercase hexadecimal.  eg. for the IP number 136.186.128.3 create
	the file /tftpboot/88BA8003
  
	Create an /etc/ethers file with an entry for the client machine, eg:
		aa:bb:cc:ee:ff:gg	client-name

		where aa:bb:cc:ee:ff:gg is the client's ethernet address.


2. Get rpc.bootparamd working

	Enable rpc.bootparamd in /etc/netstart

	Create an /etc/bootparams file with an entry for the remote machine:
	
	eg.
	client-name  root=server-name:/home/client-root \
		swap=server-name:/home/client-swap

3. Create a file for swap, and setup a root directory for the client.

This worked for me, hope it helps.

Regards
Douglas Crosher