aoeu.ca

Blogging to half-marathon success!
aoeu.ca » Archive of 'Jan, 2007'

Re-blogged (again)

I’ve redone the blog again; this time with wordpress. I was tired of nanoblogger’s shell scripts taking forever to render the pages on my MacMini so I’ve offloaded the work to my webhoster instead.

I was going to do it with iWeb but for some reason all the menus were grayed out…? Oh well I’m pretty happy with wordpress so far.

Posted in www

Dvorak map for osx2x

I’ve been used to having my laptop be controlled (or control) other systems via x2x/win2vnc/x2vnc and without fail there existed osx2x for when I’m and home and I want to have my laptop controlled via my Mac’s keyboard/mouse. Unfortunately for me the keymap doesn’t translate what OSX uses and instead only offers QWERTY or German kepmaps (even though it claimed to handle french and Japanese in the preferences).

I got ahold of the source code, removed the references to French and Japanese in the preferences window, and added a Dvorak option. I don’t think the osx2x website has been updated in a number of years (which is too bad for them because Open Darwin is shutting down), and I’ve sent an inquiry email to the maintainer but in the meantime here’s my build of osx2x (built with Xcode 2.4.1).

Posted in geek

The. Real. Best. Game. Ever.

I looked back at my old blog entries and realized that I had given praise to xmoto which belonged to something else. Granted xmoto was pretty cool but I don’t really think it’s the “Best. Game. Ever.”. That title belongs to nethack, with freeciv a close 2nd.

I just wanted to clear that up.

Posted in fun

Blog is back online

Well it’s been a _long_ time since the last update but I finally got nb installed on my Mac and have re-entered all the previous entries and gotten everything checked in to SVN.

Posted in www

I’ve been Mac-ified

Well after trying out my brother’s iBook while he was away I got sold on OSX and when my PC’s motherboard started to be flakey I went out and got myself a MacMini.

>It. Is. Awesome.

It’s really like they say, “Everything just works *tm*”. For example, my last entry was for the “barry” utility to sync my BB from Linux. Well I spent a bunch of time trying to get that working. I even did some work with the build system and submitted a patch to them. Then I got my Mac and it 10 minutes later I’m all sync’d up and out the door.

I guess my only complaint would be that I’m not able to customize the window manager to my liking (FVWM has me spoiled), but all in all, I’m a Mac user from here on in.

Posted in personal

BlackBerry Syncing From Linux (not yet)

After getting my BlackBerry, my first question was “how do I sync it with Linux?”. The answers were mostly disappointing, but after some searching the closet thing to actually doing it is barry.

To download it, visit the sourceforge project page

Posted in geek

Reading Windows shares as non-root user

I was able to get some window shares mounted, and was able access them as root, but non-root users did not have any access. The permissions of the files were 0770 and I couldn’t override the permissions despite using the file_mode,dir_mode,uid, and gid options specified in the mount.cifs manpage.

The solution is to use the (undocumented in the 3.0.14a version that Debian Sarge packages) noperm option. This option ignores any client-side permission checks and relies on the server to keep you honest. The documentation for these options have been updated in the trunk version of the mount.cifs manpage.

Posted in geek

PCI -> SATA -> RAID1 -> LVM -> ext3

Getting this wonderful setup took quite a bit of troubleshooting, so I thought I’d share my instructions. Note that my root partition is not on this disk (it’s on another SCSI (hardware) RAID array (/dev/sda).

  • Update all BIOS/firmware (my BIOS didn’t deal with the PCI SATA card until the BIOS was upgraded).
  • Create single large partitions on each of my two SATA disks (fdisk). Set the type to 0xfd (Linux RAID autodetect).
  • Add the modules for my SATA/RAID PCI card to /etc/modules. Also add sd_mod, md_mod, my SATA module (sata_sil), and raid1.
  • apt-get install mdadm lvm2
  • Alter /etc/mdadm.conf:
    DEVICE /dev/sdb1 /dev/sdc1
    ARRAY /dev/md0 devices=/dev/sdb1,/dev/sdc1
  • Create the RAID array with mdadm
    mdadm –create /dev/md0 –level raid1 –raid-devices=2 –spare-devices=0 –auto=yes /dev/sdb1 /dev/sdc1
  • Reboot and `cat /proc/mdstat` to make sure the drives are active and sync’ing.
  • Create the physical volume.
    pvcreate /dev/md0
  • Create the volume group.
    vgcreate MYVGNAME /dev/md0
  • Create the logical volume
    lvcreate -L120G -n mylvname MYVGNAME
  • Make my filesystem
    mke2fs -j /dev/MYVGNAME/mylvname
  • Mount my new filesystem
    mount -t ext3 /dev/MYVGNAME/mylvname /mnt

PHEW!

Posted in geek

Screenshot of desktop

Here’s a shot of my desktop. My .fvwm2rc is here. I use rox-filer for the icons/background, Tril’s fvwm-theme script for window decorations, wmbiff/wmbattery/wmcalclock.

My Debian desktop

Posted in personal

Teh Cute Too

That’s right, it’s a concrete truck. :)
Micah with a concrete truck
Posted in personal
Top of page | Subscribe to new Entries (RSS) | Subscribe to Comments (RSS)