All sun2 workstations and servers are capable of booting over a network interface. A network boot-strap procedure can be started by entering the appropriate PROM command (see below).
Determining your ethernet hardware address
When you power on your machine, it will print out its MAC address.
Obtaining an IP address and first- and second-stage boot loaders via ND
When instructed to boot "over the net", your workstation will first try to acquire an IP address, download a first-stage boot loader, and then download a second-stage boot loader, all by using the Network Disk (or ND) protocol. Thus you need to run a ND server somewhere in the same network broadcast domain as your workstation. The ethernet address of the machine (needed when setting up the ND server) should be displayed in the banner when it is powered on or reset.
Naming the second-stage boot loader
When the ND server is configured normally, it will expect that the second-stage boot loader for a given client be named as follows:
Normally, it is arranged on the ND server that this file is a symbolic link to the appropriate second-stage boot program, which should of course be located in a place where the ND daemon can find it (in case your ND daemon runs in a chroot'ed environment). You can find the second-stage boot program in installation/netboot/netboot in the NetBSD/sun2 distribution.
Obtaining an IP address (again) via RARP
After downloading the second-stage boot loader, your workstation will try to acquire an IP address again by using the Reverse ARP (or RARP) protocol. Thus you need to run a RARP server somewhere in the same network broadcast domain as your workstation. The ethernet address of the machine (needed when setting up the RARP server) should be displayed in the banner when it is powered on or reset.
Sometimes the arp entry gets corrupt on the rarpd server. If this happens, you may need to run (on the rarpd server):
# arp -s client.test.net CC:CC:CC:CC:CC:CC temp
Note: if the client doesn't detect a rarpd server, it will patiently wait for one and will not display any error messages (as described in the rarpd pages).
The complete syntax is:
|
|