Newer Suns only boot with rarpd. Setting that up may be obvious to experienced system administrators, but I tend to forget, so will document it here.

setup

/etc/rc.conf entries:

bootparamd_enable="YES"
inetd_enable="YES"
rarpd_enable="YES"
rarpd_flags="-a -s"
rpcbind_enable="YES"

/etc/ethers entry:

00:14:4f:75:dc:84 v240.blah.com

/etc/hosts entry:

192.168.0.71    v240.blah.com

/etc/hosts.allow entry:

ALL : 192.168.0.71 : allow

(Ok, this probably just needs to be rarpd but my head is tired from hitting the desk)

Example /usr/local/etc/dhcpd.conf entries:

host v240 {
    option host-name "x1";
    hardware ethernet 00:14:4f:75:dc:84;
    fixed-address 192.168.0.71;
    filename "loader-sparc";
    option root-path "<your_server_ip>:/pxeroot/sparc64-9";
}

/tftpboot files:

lrwxr-xr-x   1 root  wheel      18 Dec 19 01:21 C0A80047 -> loader-sparc
-r-xr-xr-x   1 root  wheel  200816 Oct  8  2006 loader-sparc

daemons to run:

service bootparams onestart
service inetd onestart
service rarpd onestart
service rpcbind onestart

booting

For these machines you want boot net, not boot net:dhcp:

Sun Fire V240, No Keyboard
Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.22.19, 4096 MB memory installed, Serial #74833028.
Ethernet address 0:14:4f:75:dc:84, Host ID: 8475dc84.

Rebooting with command: boot net                                      
Boot device: /pci@1f,700000/network@2  File and args: 
100 Mbps FDX Link up
Requesting Internet Address for 0:14:4f:75:dc:84
[...]
Requesting Internet Address for 0:14:4f:75:dc:84
Consoles: Open Firmware console  

FreeBSD/sparc64 bootstrap loader, Revision 1.0
(linimon@foo.blah.com, Fri Dec 18 08:51:42 UTC 2015)
bootpath="/pci@1f,700000/network@2"
boot: ethernet address: 00:14:4f:75:dc:84
100 Mbps FDX Link up
Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0xd314c0+0x210758 syms=[0x8+0xdebb8+0x8+0xcd716]
\
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               

See also


CategoryHowTo

MarkLinimon/BootWithRarpd (last edited 2018-03-14T06:00:10+0000 by MarkLinimon)