commit 6d1c89966efd99d0cf49b1ba3ef6f7402ccaedd6
parent 4c0d819c0d0f6eb1e37ea77bda3f6934ab444675
Author: lostd <lostd@2f30.org>
Date: Tue, 11 Mar 2014 22:31:19 +0200
Edit fewer config files and favor defaults
Diffstat:
1 file changed, 14 insertions(+), 23 deletions(-)
diff --git a/guides/sunsparc.md b/guides/sunsparc.md
@@ -16,10 +16,9 @@ The laptop will host the boot image on its TFTP server. Downloaded the
`boot.img` for SPARC from the Debian website and put it into my
TFTP server root:
- # mkdir /srv
- # cp boot.img /srv/
- # echo 'tftpd_flags="/srv"' >> /etc/rc.conf.local
- # /etc/rc.d/tftpd start
+ # mkdir /tftpboot
+ # cp boot.img /tftpboot/
+ # /etc/rc.d/tftpd -f start
Next found out the MAC address the Ultra 10 has (it is written on the
top on the OpenBoot initial screen), and configured an IP address
@@ -27,14 +26,15 @@ mapping for RevARP:
# echo 'de:ad:ba:be:de:ad snoopy' >> /etc/ethers
# echo '192.168.1.2 snoopy' >> /etc/hosts
- # /etc/rc.d/rarpd start
+ # ifconfig em0 inet 192.168.1.1
+ # /etc/rc.d/rarpd -f start
By default the machine will ask for a file named after the hex
representation of its IP address:
# echo 192.168.1.2 | awk -F . \
'{ printf "%02X%02X%02X%02X\n", $1, $2, $3, $4 }'
- # cd /srv
+ # cd /tftpboot
# ln -s boot.img C0A80102
Now boot the Ultra 10 and press <kbd>Stop-A</kbd> to get to the `ok `
@@ -49,15 +49,6 @@ cable to do DHCP business as usual.
Edit the following configuration files to enable RevARP, BOOTP, and NFS
services on the server.
-/etc/rc.conf.local:
-
- tftpd_flags="/srv"
- rarpd_flags=
- bootparamd_flags=
- portmap_flags=
- mountd_flags=
- nfsd_flags="-tun 4"
-
/etc/ethers:
de:ad:ba:be:be:ef blade
@@ -78,8 +69,8 @@ services on the server.
Get the bootloader and ramdisk files. Again, create a symlink named
after the hex representation of the IP address `192.168.1.3`.
- # mkdir /srv
- # cd /srv
+ # mkdir /tftpboot
+ # cd /tftpboot
# ftp $MIRROR/OpenBSD/5.4/sparc64/ofwboot.net
# ln -s ofwboot.net C0A80103
# cd /export
@@ -89,12 +80,12 @@ after the hex representation of the IP address `192.168.1.3`.
Connect the machines back-to-back and configure the network.
# ifconfig em0 inet 192.168.1.1
- # /etc/rc.d/tftpd start
- # /etc/rc.d/rarpd start
- # /etc/rc.d/bootparamd start
- # /etc/rc.d/portmap start
- # /etc/rc.d/mountd start
- # /etc/rc.d/nfsd start
+ # /etc/rc.d/tftpd -f start
+ # /etc/rc.d/rarpd -f start
+ # /etc/rc.d/bootparamd -f start
+ # /etc/rc.d/portmap -f start
+ # /etc/rc.d/mountd -f start
+ # /etc/rc.d/nfsd -f start
Boot the client machine and on the `ok ` prompt write `boot net bsd.rd`.
To get to the `ok ` prompt press <kbd>Stop-A</kbd>. If you do not have a Sun