Wi-Fi working on CyanogenMod 9 on Huawei U8185

So I just got Wi-Fi working on CyanogenMod 9 on Huawei U8185: I’m using the Atheros AR6kSDK kernel driver and wpa_supplicant 0_6_X, so it’s kinda ghetto… 😉 Right now Wi-Fi scanning, WPA2, and DHCP work, but for some reason DNS isn’t working so, while you can reach hosts outside your network, you can’t actually browse […]

Erroneous XMLUI Caching on DSpace 1.7+

We’ve been using DSpace as an outputs repository at ILRI since 2009, and since then we’ve gone through six major versions of DSpace. Starting with version 1.7 we switched our repository to the newer XML-based user interface (XMLUI), which was much easier to customize than the previous JSPUI and allowed us to have different themes […]

Unsetting GlusterFS volume options

The GlusterFS documentation mentions how to set volume options, but there’s no obvious way to unset them. In the case that you’ve set something like performance.cache-size and you just want to return to the defaults, you need to reset the setting: [root@storage1 ~]# gluster volume reset homes performance.cache-size reset volume successful Hopefully some SEO-fu will […]

Fix for Dalvik compile error on CyanogenMod 9

I started getting this error while compiling CyanogenMod 9 (Android 4.0.x) last week: dalvik/vm/native/dalvik_system_Zygote.cpp: In function ‘int setrlimitsFromArray(ArrayObject*)’: dalvik/vm/native/dalvik_system_Zygote.cpp:199:19: error: aggregate ‘setrlimitsFromArray(ArrayObject*)::rlimit rlim’ has incomplete type and cannot be defined struct rlimit rlim; ^ dalvik/vm/native/dalvik_system_Zygote.cpp:222:43: error: ‘setrlimit’ was not declared in this scope err = setrlimit(contents[0], &rlim); ^ make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libdvm_intermediates/native/dalvik_system_Zygote.o] Error 1 make: *** […]

systemd service to trim free SSD cells at boot

I mount all ext4 partitions on my solid-state disks with the discard option; this tells the filesystem to use SSD-specific low-level TRIM operations instead of normal erases (which are essentially just block re-writes). As I use my SSDs quite heavily, I like to perform batch discards every so often as well. Here’s a systemd service […]