here are some notes I took while installing OpenBSD. It took a few tries, so I kept a handy list of commands in the order they need to go. in disklabel: d a a a size 128M / a b size 512M [swap] a d size 256M /tmp a e size 128M /var a g size 1024M /usr a h size * /home boot hd0a:/bsd # check date/time date 200203172143 #update updatedb :) /usr/libexec/locate.updatedb & #get emacs pkg_add -v ftp://ftp.openbsd.org/pub/OpenBSD/3.0/packages/i386/emacs-20.7-no_x11.tgz #add users groupadd -g 500 cool useradd -g cool -m eo passwd eo #get source setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs # get the patch branch #quiet cd /usr; cvs -q get -rOPENBSD_3_0 -P src #verbose cd /usr; cvs get -rOPENBSD_3_0 -P src # then update the patch brach for 3.0 cd /usr; cvs up -rOPENBSD_3_0 -Pd # customize & compile a kernel < see intrux > # add other DNS servers in /etc/resolv.conf # create second ethernet interface; set to internal IP cat >> /etc/hostname.fxp1 inet 10.0.0.20 255.255.255.0 NONE ^D # add new host entry for internal IP to /etc/hosts # also fix hosts file due to install bug in 3.0 127.0.0.1 localhost 192.168.1.20 fw.cnc.com fw 10.0.0.20 int.cnc.com int # turn on pf in /etc/rc.conf pf=YES in /etc/sysctl.conf net.inet.ip.forwarding=1 # start'er up sh /etc/netstart # reboot reboot # then run patches for all errata ...