Skip to main content

Quick and dirty way of fixing NUT on pfSense 2.0RC

One of my favorite Open Source appliances is pfSense. It can turn any old machine into a very powerful firewall/router in 10 minutes or less. Also, it comes with a very handy GUI and the fact that it is based on FreeBSD makes it even greater. While version 2.0 isn’t stable yet, the 2.0RC is more or less considered stable. It’s also a major update to the …

Read More

Fixing "su: unknown login: %%PG_USER%%" on FreeBSD

Today as I was installing PostgreSQL 9.04 on a new server I encountered the following error: \[root@host ~\]# /usr/local/etc/rc.d/postgresql initdb su: unknown login: %%PG_USER%% Something obviously went wrong when the port was being installed. Most likely it’s a bug in the build-instructions for the port. No stress though, as there is an easy fix. Just open …

Read More

Did you know you can create encrypted partitions in OS X Lion?

The most exciting new feature in OS X Lion for all paranoid techies out there was the introduction of full-disk encryption (FileVault 2). The previous version of FileVault only enabled you to encrypt your home directory. That was a good start, but it forced you to log out once in a while to recover disk space. This was extra painful if you were using a small …

Read More

How to upgrade from Mac OS X Lion GM to Final release

If you ran one of the beta releases of Mac OS X Lion, you probably ran into a problem when trying to upgrade to the final release of OS X Lion. When I tried to upgrade one of my dev-machines, I was prompted with an error saying “A newer version of this app is already installed on this computer” Of course, you know that isn’t the case, as OS X Lion, just came …

Read More

Rebuilding a Linux software RAID array

The process is pretty straight forward, and I’m writing this as a ‘Note-to-self’ for future references than anything else. If anyone else find it useful, that’s great. Identify the broken drive Start by identifying the device as the system know it (ie. /dev/sdX or /dev/hdX). The following commands should provide you with the information: cat /proc/mdstat …

Read More

Save time (and keystrokes) in the terminal

Do you have a few long commands that you keep typing in the terminal? Things like ‘cd /some/long/path/that/takes/forever/to/type’ or ‘mycommand -with -lots -of -variables’? If so, here’s something you’ll enjoy. Just open up ~/.profile in your favorite editor, and add the following lines: alias foo="cd /some/long/path/that/takes/forever/to/type" …

Read More

Sync your devices over the air for free

I hate wires. I particular hate having to use wires to syncing devices. Luckily, there are ways to avoid them (in most cases). If you are having issues with this, the solution is not to buy MobileMe. Google App/Gmail is all you need. I just posted up an article over at the YippieMove Blog that will tell you how. After reading it, you should be able to sync …

Read More

Updates to WireLoad

2011 has been a big year for WireLoad. We have launched two brand new products (Blotter and Quiet) in a completely new vertical, namely the desktop market for Mac OS X. It has been a very interesting experience, and we certainly did not foresee the success we’ve had. Just a few weeks ago, Blotter was named ‘App of the Week‘ in Leo Leporte’s show MacBreak …

Read More

How to travel safely with your computer

Regardless if we travel in business or on a vacation, we tend to bring our computer with us (at least I do). Common sense tells us to not check in our computer, but there are other things that we really ought to do. The first thing you want to do is to use disk encryption. The reason for this is simple: if you lose your laptop, nobody can access your files. …

Read More

How to get FreeBSD's CARP working on CloudSigma

For a few months now, we’ve been working on migrating our physical architecture for YippieMove over to CloudSigma. We got everything up and running swiftly, with the exception of one thing: CARP. As it turns out FreeBSD’s CARP implementation doesn’t really work very well in a virtual environment. (For those curious about the details, please see this mailing …

Read More