user warning: Table './drinking_drpl2/watchdog' is marked as crashed and last (automatic?) repair failed query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'flickr', 'Could not connect to Flickr, Error: Forbidden', 'a:0:{}', 4, '', '', '', '', 1498331031) in /home1/drinking/public_html/rothwerx/modules/dblog/dblog.module on line 146.

Making your Wake-on-LAN settings persistent in Ubuntu

Create a script /etc/network/if-up.d/wol-enable with this in it:
/usr/bin/sudo /usr/sbin/ethtool -s eth0 wol g

Computers as thugs

Zeroconf (bonjour) seems to have a lot of potential and it's something I've wanted to learn for a while now. So I checked the book out with my O'Reilly Safari Bookshelf account and started reading what I thought would be another dull, dry networking book. I'm not far into the book, but so far I've been pleasantly surprised at how entertaining it is. I've even laughed out loud a couple times.

Here's a sample from a discussion on link-local addressing:

Two devices fighting over the same IP address is like two people in a half-empty cinema fighting over the same seat. They can either sit in different seats and enjoy the film, or they can spend the entire time continuously punching each other, in which case, neither will get to see any of the film and they'll disrupt the people around them too.

The importance of being earnest

Since updating my Mac G5 to OS 10.5 (Leopard), it has crashed probably a dozen times. Hard. In OS X when your machine crashes you don't get a blue screen, you get a gray screen of about 90% transparency with a big gray message in the center of the screen (in multiple languages, no less) saying you need to reboot your computer.

In most other crashes it has happened during the night; I'll wake up to hear the fans spinning at full speed and the gray screen of death. I have 10.5 installed in a few other machines, and though I've got some problems, they've never crashed. Nevertheless, with the problems I have on the other machines (10.5 is probably the buggiest full release I've ever had with OS X besides the original beta, but compared to Windows OS that's not saying much) and the crashing on the G5, I just attributed it to Apple's rush to get this release out the door.

Installing pfSense on a CF card for Soekris board with linux

If you're looking for a nice dedicated firewall appliance, you could run out and spend $800+ for a SOHO unit. Or you could spend a few hundred dollars on a Soekris SBC (single board computer) and use the open-source pfSense distribution with its wealth of features.

The pfSense website shows you how to install pfSense on a Compact Flash card with Windows, but what if you're like me and don't have a Windows computer handy? It turns out it's probably easier to install on a linux machine. A BSD machine isn't going to be too much different, but I'm using Ubuntu Server, so that's what my instructions will be for. I'm using a Soekris net4801 with three Ethernet interfaces.

You'll need a CF card reader to load the image to the card. I've got an old, cheap USB reader that worked fine. Before you plug it in, type (all commands as root user):
tail -f /var/log/dmesg

Getting stupider

I was just researching a problem and came across (acrossed, as they say here in Utah) an otherwise intelligent comment, but the poster spelled 'allowed' as 'aloud', and though I realized it was wrong, I really had to think about how it was really spelled. Moral of the story: I think the Internet is making me dumber. So dumb, I'm starting to believe Al Gore really claimed to have invented the Internet. Thanks Al!