OpenWRT 10.03.1-rc4 has just been released, so I’m once again upgrading my Buffalo WZR-HP-G300NH home router. Each release candidate in the 10.03.1 series has improved performance of the Atheros wireless chipset, but I still see occasional network interruptions when the laptop is idle overnight. How does wireless on rc4 stack up against rc3?

Read the rest of this entry »

Tags:

Update 2011-08-06: BackupPC has been removed from the repo. A newer release is available in lucid-backports.

BackupPC 3.2.0 is now in the repository for both Ubuntu Lucid and Hardy. The Lucid version is taken directly from Debian sid. The Hardy version is backported from the same package, with edits to make the graphs’ fonts work (older rrdtool on hardy) and depend on samba-common instead of samba-common-bin (changed after hardy).

This version fixes the “Download Zip archive” issue in Ubuntu lucid. You no longer have to manually install an older Archive::Zip Perl module.

It’s also got a shiny new favicon, courtesy yours truly. That was a hard 10 minutes’ work with GIMP, right there. Astute readers of changelogs may believe that the developers didn’t use the favicon I submitted. But according to md5sum they did, and that is awesome.

Tags: , , ,

Secure locate with ecryptfs

I use an ecryptfs-encrypted home directory. I also like the convenience of locate, which keeps a database of all the files on my laptop. Unfortunately, these two things are in conflict with one another. The locate database is stored in an unencrypted location, which means the names of my files can be easily retrieved. This is bad, even though the content of those files is still protected. However, it is possible to have both.

Read the rest of this entry »

Tags: ,

Update 2012-03-06: gnupg.vim now has a new maintainer. Link updated.

I’m always looking for a better way to digitally store private data, like passport numbers, credit cards, and server root passwords. Unfortunately, good encryption is hard to find. I have yet to find a solution better than “GPG-encrypted text files edited with a secure editor”. For five years I’ve used KGpg‘s built-in text editor for this, but it has a number of limitations. Today, I discovered that I can do it natively within Vim.

Read the rest of this entry »

Tags: , ,

I use a number of open-source tools that rely on rrdtool to generate graphs. Cacti uses it for its core functionality. BackupPC uses it to graph storage pool usage over time. Unfortunately, the files it generates are architecture-dependent. This means that if you upgrade your BackupPC server from i386 to amd64, your pool graphs will mysteriously disappear. Shall we fix that?

Read the rest of this entry »

Tags: , ,

I’ve run OpenWRT on my Buffalo WZR-HP-G300NH home router for a week now. So far there has been only one problem: wireless performance. The ath9k driver in OpenWRT Backfire 10.03 has a number of bugs, from poor latency jitter to occasionally dropping the connection. I’ve upgraded the router twice, first to 10.03.1-rc2 and then to 10.03.1-rc3. It appears that 10.03.1 final is only a few weeks away.

Read the rest of this entry »

Tags:

I’ve been using a Linksys WRT54GL router running DD-WRT for several years now. It runs OpenVPN and fits a surprisingly large number of features into 4 MB of flash and 16 MB of RAM. It has been stable and reliable, but it’s a very under-powered device by modern standards. I haven’t been happy with the pace of DD-WRT development, which takes a very long time to release large, monolithic updates. First I tried to upgrade it to OpenWRT, but the latest release is too large to incorporate OpenVPN in 4 MB of flash. So I replaced it with a Buffalo WZR-HP-G300NH running OpenWRT Backfire 10.03.

Read the rest of this entry »

Tags: ,

Telnet URL handler, part 3

Philip continues to play devil’s advocate / script kiddie for my telnet URL handler. My input checker allowed host/port definitions to begin with a hyphen character. That’s an invalid domain name, so I ignored the possibility that someone might try it. Philip used it to pass a switch to the telnet/ssh command.

Read the rest of this entry »

Tags: , ,

A better telnet URL handler

After I wrote yesterday’s post, Philip reminded me of the dangers of not validating your inputs. Here is a better telnet/ssh handler which checks the URL passed to it.

Read the rest of this entry »

Tags: , ,

Firefox’s telnet protocol handler in Linux stopped working some time after version 3.0. I manage a network of switches, routers, and other devices with command-line interfaces. Wouldn’t it be nice to be able to click on telnet:// or ssh:// URLs again?

Read the rest of this entry »

Tags: , ,

« Older entries § Newer entries »