Basic post-install

Getting started

 * 1) Boot up and log on as root.
 * 2) vi /etc/ttys
 * 3) Disable ttyE0 and ttyE1
 * 4) Note these are the ones with the upper-case E.
 * 5) Save the file and exit vi.
 * 6) If you're behind a proxy, add the proxy information to root's .profile and /etc/skel/.profile:
 * 7) export ftp_proxy=http://[proxy name]:[proxy port]
 * 8) export http_proxy=http://[proxy name]:[proxy port]
 * 9) Add a user for yourself: "useradd -m -G wheel [username]"
 * 10) passwd [username]
 * 11) Configure sshd.
 * 12) vi /etc/rc.conf
 * 13) Edit the sshd line to be: sshd="YES" sshd_flags="-g 9999"
 * 14) To type a double-quote on the Atari keyboard, press @. This won't be an issue when you're connected via ssh.
 * 15) The -g option is important, otherwise ssh connections will time out.
 * 16) sshd will initially take an hour or so to start up while it generates keys. This only happens once though.
 * 17) You can now use an ssh client to connect to the TT030. Note that it takes a few minutes to get to a login prompt, but after that the session is very responsive.
 * 18) Rekeying happens every once in a while and freezes the client for a minute or so. To prevent this, at the client, set "Max minutes before rekey" and "Max data before rekey" to unlimited.  In PuTTY, these options are in the Connection--&gt;SSH--&gt;Kex options and the values should be '0'.  Similarly, move "Diffie-Hellman group 1" to be the top item on the key exchange algorithm selection policy list.  Of course these changes will lower the security value of SSH to some degree, but at least it's better than telnet.
 * 19) Save the file and exit vi.
 * 20) Enable clock synchronization as necessary.
 * 21) vi /etc/rc.conf
 * 22) Under the ntpdate and ntpd lines, add:
 * 23) ntpd_chrootdir="/var/chroot/ntpd"
 * 24) Save the file and exit vi.
 * 25) Enable the dhcp client.
 * 26) vi /etc/rc.conf
 * 27) Ensure a fully qualified hostname is set. (Eg: hostname=tt030.foo.bar)
 * 28) Comment out the defaultroute line.
 * 29) Save the file and exit vi.
 * 30) vi /etc/ifconfig.XXX (Where XXX is the interface name. Eg: ifconfig.le0)
 * 31) Add:
 * 32) dhcp
 * 33) Comment out the line configuring a specific IP address.
 * 34) Save the file and exit vi.
 * 35) vi /etc/hosts
 * 36) Comment out the line configuring a specific IP address.
 * 37) Save the file and exit vi.
 * 38) Disable various unnecessary options otherwise enabled by /etc/defaults/rc.conf.
 * 39) vi /etc/rc.conf
 * 40) Add:
 * 41) ccd=NO
 * 42) raidframe=NO
 * 43) cgd=NO
 * 44) Save the file and exit vi.
 * 45) To enable optimized builds with pkgsrc / make:
 * 46) vi /etc/mk.conf
 * 47) Add:
 * 48) CFLAGS+=-Os -m68030 -m68881 -fomit-frame-pointer
 * 49) CXXFLAGS=${CFLAGS}
 * 50) Save the file and exit vi.
 * 51) If you did a cross-build, replace the ATARITT kernel with the more customized ATARIKERN previously built.
 * 52) cd /
 * 53) mv netbsd netbsd.old
 * 54) ftp to the VM created for the cross-build, log in as the non-root user, and get /usr/obj/sys/arch/atari/compile/ATARIKERN/netbsd
 * 55) Reboot with "shutdown -r now".

Note: Consult AFTERBOOT(8) for further useful information. Chapter 5 of the NetBSD Guideis also a helpful reference for post-install tasks.