OpenBSDOn my laptop, I generally don’t have /etc/hostname.* files. Since I don’t know where I’m going to be, I don’t know which interface I’m going to be using. So, I’ll manually run `sudo dhclient em0` or `sudo ifconfig ral0 nwid foo && sudo dhclient ral0`. But, I’m often using my home wireless network.

So, I added a little bit of magic to my /etc/rc.local:

(more…)


HP Color LJ 2006nGetting OpenBSD to print to my HP Color LaserJet 2600n with CUPS was easy. pkg_add cups gtk+2-cups foo2zjs, run cupsd, connect to http://localhost:631/ and add the printer. But, I wanted to take away my need for CUPS and not have to deal with the stupid "Firefox 3 can only print once to CUPS" bug.

So, I took the time this afternoon to make foo2zjs work through the OpenBSD stock lpd and foomatic-rip.
(more…)


PuffyI am limited to one OpenBSD/amd64 box in my environment. And, unfortunately, it is my “production” server (at home).

So that I could build and test ports on my “production” server without installing millions of dependencies and polluting my environment, I set up a SSH-based chroot environment to build the ports.
(more…)


Here is the problem I’m trying to solve: I have an Intel Mac Mini that I’d like to dual boot multiple versions of OpenBSD. I need to be able to boot into another instance of OpenBSD remotely and without a serial port, I had to come up with a way to choose which OS I want to boot to.

I installed OpenBSD 4.4-current normally on wd0a (wd0b = swap, wd0d = /tmp, wd0e = /var, wd0f = /usr and wd0g = /home).

Here is how I set the machine up with OpenBSD 4.3 installed on wd0h.
(more…)


PuffyMark Peoples has a very nice write-up for using a USB Flash drive to Install OpenBSD. It uses the first 8 MB of the flash drive for an OpenBSD partition and then the rest to use for storing files (Fat32) that can be accessed by many operating systems. I highly recommend reading it.

After following Mark’s directions, stick the flash drive on a machine you’d like to install/upgrade OpenBSD on and boot to a USB drive. It should feel just like the process of using a CD or bsd.rd directly.

Updating the flash drive is easy as well: mount sd0a and download a new bsd.rd (as “bsd”) to it.