Creating a Chroot in OpenBSD

Foreword This article describing the practical use of chroot on OpenBSD was originally written by Karsten Pedersen on 20 July 2014 and was located here until the IBM developerWorks connections platform was sunset at 2 January 2020. It has been kept in its entirety to help others that may have stumbled on an old Google […]

Camera SD card under OpenBSD

As file sizes increasingly become bigger in cameras such as Go Pro and Canon EOS D, the FAT file system has become unfit for purpose.  As such, instead of looking to an open source file system (probably due to no support in the Windows or Mac platforms), these camera manufacturers have just done a bump […]

OpenBSD and SNMPd

OpenBSD comes with a SNMP v2c and v3 daemon in base.  Simplistic and privileged separated, this SNMP service is easy to configure and secure – putting Simple, backing into Simple Network Management Protocol (SNMP). Recently, I have needed to flick on snmpd(8) to provide data to the Cacti logging service.  The default configuration in /etc/examples/snmpd.conf […]

OpenBSD 5.7 Released

The start of May is the release time for yet another edition of OpenBSD and 2015 brings the release of OpenBSD 5.7.  This edition brings some excellent hardware support that will improve the users experience with the operating system, a range of installer improvements, removal of Nginx and Sendmail from the base, IPv6 has been […]

OpenBSD on Digital Ocean

For OpenBSD users, it has been pretty disappointing that Digital Ocean didn’t launch other BSDs with introduction of FreeBSD, even though the technical barrier had been removed to allow it. Today, I thought I’d try doing an OpenBSD load again (I have tried before without success due to CPU feature issues) and the results were […]

OpenBSD audio in virtualisation

While some use the documentation correctly and search the mailing lists, sometimes the answers don’t come up correctly due to formatting or google having issues indexing. As I use OpenBSD more and more as a daily driver (be it still in VMWare Workstation on one machine and Virtual Box on the other), I still don’t […]

OpenBSD 5.5 Released

The start of May 2014 marks the release of OpenBSD 5.5.  Another release brings a swag of hardware improvements along with software features that will give users even more choices when they are building a server, router/firewall or desktop computer. Some highlights that interest me are:

OpenBSD 5.4 Released

The start of November 2013 marks the release of OpenBSD 5.4.  Another release brings a swag of hardware improvements along with software features that will give users even more choices when they are building a server, router/firewall or desktop computer. Some highlights that interest me are:

dd, What is the status?

There is a cool little trick to get the status of a dd operation out of the system.  It will provide the status of dd via the err interface.  You can do this one of two ways, either background (bg) the operation or perform it in a new terminal or screen. For OpenBSD, a SIG_INFO […]

Hard Drive Sanitisation

I often get asked the best way to securely erase a disk or what to use to ensure that a disk has been sanitised to DoD 5220-22-M. A reasonable way to achieve this would be: dd if=/dev/urandom of=/dev/rdsk/c#t#d#s2 bs=10k or dd if=/dev/arandom of=/dev/r#d#c bs=10k This will ensure that random (not completely random, but good enough) […]