Month: February 2015
OpenBSD | isakmpd | Public key authentication
Prepare OpenBSD Prepare the network interfaces. Delete /etc/mygate when using dhcp. Create /etc/sysctl.conf. net.inet.esp.enable=1 # Enable the ESP IPsec protocol net.inet.ah.enable=1 # Enable the AH IPsec protocol net.inet.ip.forwarding=1 # Enable IP forwarding for the host. net.inet.ipcomp.enable=1 # Optional: compress IP datagrams Create /etc/rc.conf.local isakmpd_flags=”” # Avoid keynote(4) policy checking ipsec=YES # Load ipsec.conf(5) rules Some […]
OpenBSD | building the system | building the userland
building the system: # cd /usr/src/sys/arch/i386/conf # config GENERIC # cd ../compile/GENERIC # make clean && make # make install building the userland: # cd /usr/src # find . -type l -name obj | xargs rm # make cleandir # rm -rf /usr/obj/* # cd /usr/src # make obj # cd /usr/src/etc && env DESTDIR=/ […]
OpenBSD | update | grabbing the source | updating the source
download src: cd /usr && cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src download ports: cd /usr && cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports update src: cd /usr/src && cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs -q up -Pd update ports: cd /usr/ports && cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs -q up -Pd