Last week I updated my WRTSL54GS to OpenWRT 0.9 with X-WRT 2.75.
Since my box has an USB port, I was missing a way to umount mounted usb storage. Looking deeper into it, I noticed that partitions get mounted by ‘/etc/hotplug.d/usb/01-mount’ like this:
# mount
[...]
part1 on /mnt/disc0_1 type ext3 (rw)
part2 on /mnt/disc0_2 type vfat (rw)
The correct devices are missing. A patch is available:
mount.patch
Okay … So far, so good. Now some tweaking to webif^2 for umounting attached usb storage devices. Here comes the patch:
umount-button.patch

Okay … we got the serial port running (same like WRT54GS), so we could be more risky. After some tries I decided to work analog the WRT54G models.
Continue reading ‘WRTSL54GS debridged’
Since I´m running a couple blogs on one wordpress installation I noticed today, that ELA doesn’t work well in this environment. Since it uses only one cache directory the archive is mixed up with all these articles.
I was digging around and noticed, that only 3 values in 3 files are related. So decided to make use of ‘$_SERVER["SERVER_NAME"]‘ to have unique cache directories.
Continue reading ‘Hacking Extended Live Archives plugin to support multisite installations’
Today I found a nice plugin for highlighting searchstrings from referer called google-highlight, when coming from a search engine. The problem was, when the site includes a substring of $_SERVER["SERVER_NAME"] it was highlighted … maybe not what you want.
Continue reading ‘Hacking google-highlight plugin’