Speeding up mock
by Felix Kaechele on Mar.04, 2010, under Fedora Planet, Linux
I found this quite useful since I’ve been doing some more mock builds lately:
This will speed up mock builds on your multi-core system. Basically mock uses tar and gzip to create a cache of the buildroot contents before building so that it doesn’t need to install a fresh buildroot every time you do a mock build. Unfortunately gzip can only use one core of your multi-core processor at a time. pigz is a mutli-threaded implementation of gzip that is fully compatible. You can tell mock to use pgiz instead of gzip.
As root do:
- yum install pigz
- open /etc/mock/site-defaults.cfg in your favorite editor
- find the line
# config_opts['plugin_conf']['root_cache_opts']['compress_program'] = “gzip”
In my cfg is is at lines 65. - Uncomment that line and edit it to say pigz instead of gzip
- You’re all set.
FOSDEM Photobomb
by Felix Kaechele on Feb.07, 2010, under Fedora Planet
Just noticed that one of my geeky people-discussing-important-stuff was photobombed by a guy on a coffee dispenser.
OpenWRT on the D-Link DIR-825
by Felix Kaechele on Dec.24, 2009, under Fedora Planet, Linux
Warning: This only works for Rev. B1 of the DIR-825. Rev. A1 will not work.
Since support for the D-Link DIR-825 Rev. B1 found it’s way into OpenWRT about 3 weeks ago I started playing around with it.
Here’s a little how-to on installing OpenWRT on the DIR-825. Basically it’s pretty easy. For those of you who just want to get started, I recommend the OpenWRT snapshots.
Here is what I did:
- Press and hold the reset button until the power LED starts blinking (usually takes around 45 seconds)
- Set your computer’s IP to anything but 192.168.0.1 in the 192.168.0.0/24 range.
- Browse to 192.168.0.1, make sure you use Internet Explorer or Chromium here. From my experience Firefox doesn’t work.
- Upload the openwrt-ar71xx-dir-825-b1-squashfs-backup-loader.bin image
- Don’t be scared if the flash stops while progress is still under 100% and the box goes offline. That usually means the flash is done anyway.
- Power cycle your box and telnet to it on IP 192.168.1.1
- Don’t forget to set a password with passwd
Enjoy!
Restoring the original firmware works similarily: Follow steps 1 to 3 and in step 4 select the original D-Link .bin image instead.
By the way: If you prefer JFFS2 over SquashFS you can view the other images at http://downloads.openwrt.org/snapshots/trunk/ar71xx/
Edit:
Because I got some comments on not being able to bring the wifi up here’s a little guide to do that:
- Install the hostapd package:
- opkg update
opkg install hostapd kmod-ath9k
- Then go to Network -> Wifi
- Press Edit for the Radio controller you want to set up.
Note: The DIR-825 has two Radios: One 2.4GHz single band and one 2.4/5GHz dual band.
On my device phy0 (radio0) is the 2.4GHz only and phy1 is the dual-band radio - Enter your desired ESSID
- As network choose lan
- Mode: Access Point
- Encryption: WPA2-PSK
- Key: your WPA2 key
- Save and apply.
Edit: I forgot to mention that you need to install kmod-ath9k (Thanks Jeroen)
FUDCon 2009 Photos
by Felix Kaechele on Dec.20, 2009, under Fedora Planet
I finally uploaded a selection of the photos I made at FUDCon to Flickr. The set is here.
FUDCon Toronto 2009
by Felix Kaechele on Dec.05, 2009, under Fedora Planet

Driving to Stuttgart
by Felix Kaechele on Oct.06, 2009, under Uncategorized
I’ll be driving to Stuttgart today. Just for fun I’ll test Google Latitude to publish my current location.
FrOSCon Day 0
by Felix Kaechele on Aug.21, 2009, under Fedora Planet
Well there’s not much here yet. I also only met Jens Kühnel from our booth team. However my girlfriend (who brought me to St. Augustin) and her father were so kind to set up our booth (they just had fun setting up the booth, I didn’t actually ask them to) while I was organizing changes with the hotel staff.
Here’s the result:

I will try to get a blue table cloth for tomorrow and some other nice accessories to pimp the booth. We will also have some LiveCDs and laptops on display.
A7N8X-E Deluxe and 1TB SATA Disks
by Felix Kaechele on Aug.11, 2009, under Fedora Planet
I recently added my Samsung 1TB SATA disk to my home server which has an ASUS A7N8X-E Deluxe mainboard. The BIOS is rather 2004ish and I wasn’t actually suprised when my 1TB disk didn’t work on the old SATA150 Controller (namely a Silicon Image SiI3112). However the BIOS on the SATA Controller was also 2004ish and I already knew that Silicon Image publishes BIOS updates on their webpages. So I went ahead and downloaded a new BIOS. As I already killed my eSATA PCMCIA Card while updating it’s BIOS I decided to do it right this time
I found out that the BIOS needs to be embedded in the mainboard’s BIOS. So I downloaded CBROM and slipstreamed the new 2007ish SATA BIOS into it.
Here is what I came up with: C18E1013.BIN
Works like a charm for me, however I will not be responsible if this BIOS update kills your grandmother and eats your babies. USE AT YOUR OWN FUNRISK!
OpenTTD now in Fedora Updates
by Felix Kaechele on Jul.13, 2009, under Fedora Planet, Linux
OpenTTD 0.7.1 hast just been pushed to f10/f11-updates. It should now be possible to get it by just yum install openttd
Have fun!
NVIDIA and display cloning
by Felix Kaechele on Jul.07, 2009, under Fedora Planet, Linux
I always wondered why there is no easy way to clone my display to the VGA output of my ThinkPad T61p. I thought I found the solution in the fact that NVIDIA just sucks on Linux (well, they break my suspend/resume every other update). However a few weeks ago I found a script that simplifies the whole process. It is called Disper and can be downloaded here. In conjunction with the Thinkpad Screen script I can finally just Fn-F7 and use my Projector/DFP-Screen.
I also made a RPM of disper for the lazy:

