troubleshooting linksys wrt54g

So I’ve been playing around with openwrt on a router that I bought off of eBay and it wasn’t going well until I found this blog post:

The Weblog of Titus Barik » Blog Archive » Linksys WRT54G Brick:

If you have a constant on power and diagnostic LED then it’s worth checking your power supply before you bin it. My power supply had dipped to 4.6v under load, and was not enough for the router to run. With a stronger supply on the running voltage was 4.86v @ 1.1A Hope this helps others!

Categorized as Recipes

basil drink

From Martha Stewart by way of Amy, this beverage has become my later summer jam.

  • 1 C H20
  • 1 C Granulated sugar
  • 2 nice sized handfuls of fresh basil leaves
  • Juice of a few lemons
  • Sparkling H20

Mix sugar and water and heat this mixture until sugar is dissolved. Add basil to hot liquid and let steep for as long as you can wait. Strain out basil leaves. Pour the basil syrup, lemon juice, and sparkling h20 into glasses and enjoy.

HFS filesystem woes

So I had this external firewire drive that I use both on my Linux box and my OS X box.  When I try to mount it under linux, I get an error saying “HFS-fs warning: Filesystem was not cleanly unmounted, running fsck.hfs is recommended.  mounting read-only”.  However, the drive works fine under OS X, and running fsck on my OS X box reports no problems.  I even tried running the linux port of the OS X fsck for HFS (afaik there is no native Linux version of the utility) as described at  This reports no problems either, but it still doesn’t set that unclean flag back.  The only solution I can think of at this point is to modify the hfs kernel module to not do that chek so it will mount the drive read-write, set the bit back, and let me cleanly unmount the drive.  Then I can replace my modded module with the original, safety-conscious one.  This seems like a bad way to do it, but I couldn’t find a better alternative.

Upgrading the community blog project website

  1. archive the filesystem to the backup directory$ tar -C ~ -zcf community_blogs-`date +%Y%m%d`.tar.gz community_blogs
  2. archive the database$ backupdb database username password hostname community_blogs_db
  3. backup the filesystem$ rm -rf ~/community_blogs.bak && mv ~/community_blogs ~/community_blogs.bak
  4. Download the latest nightly build of wpmu from and extract it$ wget -O ~/backup/community_blogs_packages/wpmu-unstable.tar.gz$ cd ~ && tar zxf ~/backup/community_blogs_packages/wpmu-unstable.tar.gz && mv wpmu-* community_blogs
  5. Copy configuration files and plugins from old install
    $ cp ~/community_blogs.bak/.htaccess ~/community_blogs
    $ cp ~/community_blogs.bak/wp-inst/.htaccess ~/community_blogs/wp-inst/
    $ cp ~/community_blogs.bak/wp-inst/wpmu-settings.php ~/community_blogs/wp-inst/
    $ cp ~/community_blogs.bak/wp-inst/wp-config.php ~/community_blogs/wp-inst/
    $ cp -r ~/community_blogs.bak/wp-inst/wp-content/plugins/* ~/community_blogs/wp-inst/wp-content/plugins/
    $ cp -r ~/community_blogs.bak/wp-inst/wp-content/mu-plugins/* ~/community_blogs/wp-inst/wp-content/mu-plugins/

    Note: Some plugins (like EventCalendar) require that you patch part of the wordpress install.  Be sure to apply these patches after upgrading your wordpress install.

  6. Run upgrade script ( ) in browser
  7. Run the upgrade command in the Site Admin part of the admin panel ( in browser.
Categorized as Recipes