Tag Archive for 'OpenSource'

OpenWRT WDS works like charm

A try with OpenWRT 8.09 in April to setup a WDS with additional AP functionality and encryption, like described in the documentation, failed. So I keeped with my halfbroken solution running on DD-WRT, which is going a bit too commercial these days in my eyes.
Now I have found time to try OpenWRT again for this purpose, since the issue was fixed really fast. I just did setup a stock 8.09.1 installation and then dropped the following into /etc/config/wireless:

config ‘wifi-device’ ‘wl0′
      option ‘type’ ‘broadcom’
      option ‘channel’ ‘5′
      option ‘disabled’ ‘0′
config wifi-iface
      option device “wl0″
      option network lan
      option mode ap
      option ssid “OpenWrt”
      option encryption psk2
      option key “keyforclients”
config wifi-iface
      option device “wl0″
      option network lan
      option mode wds
      option bssid 00:16:B6:19:63:C8
      option ssid “OpenWrtWDS”
      option encryption psk2
      option key “pskforWDS”

And guess what? It worked like a charm! So I could replace the odd DD-WRT boxes. Anyways ... does anybody have an idea where to find the sourcecode of anything > v23 SP1?

[selfnote] Cloning/Backing up NTFS systems

For some reasons, you may need to clone/backup NTFS based systems. Lets say your NTFS system is located at /dev/sda1 and /dev/sdb1 is a spare partition where you can store your image.

At first you need to boot a live system to take an image:

mount /dev/sdb1 /mnt/sdb1
dd bs=512 count=1 if=/dev/sda of=/mnt/sdb1/xp_vbox.mbr
ntfsclone -s -o – /dev/sda1 | bzip2 -9 -c > \
/mnt/sdb1/xp_vbox.img.bz2

To restore the image you just need:

mount /dev/sdb1 /mnt/sdb1
dd count=1 bs=446 if=/mnt/sdb1/xp_vbox.mbr of=/dev/sda
cat /mnt/sdb1/xp_vbox.img.bz2 | bunzip2 -c | \
ntfsclone -r -O /dev/sda1 -

P.S. If you are elective in germany, have a look at this!

New server hardware for svn.kvirc.de

Maybe some of you have noticed, svn.kvirc.de was running under heavy load recently while it was smashed by search engine crawlers.

First we tried to tweak the trac installation, which caused the heavy load, when running the spiders trough. But it turned out, that this doesn’t has the effect to recover the situation, since the trac tree is growing (with the svn tree and revisions). So the spiders have more to crawle and taking more resources away.

We checked our relations and we where lucky to find with waaf.net a sponsor for new server hardware.

Some features of our new ProLiant DL360 server we baptized ‘baikonur‘:

* Dual Core Processor
* 2 GB RAM
* Compaq Smart Array Raid Controller
* 2x 72.8 GB IBM Ultra3 10K
* 2x Gigabit Ethernet
* Integrated Lights Out

The migration was quite relaxed. svn.kvirc.de is a virtual maschine, so we did setup the new host and proudly racked it up at the bandnew hosting center of TMT Teleservice as first (sponsored) customer. The last step was to migrate the system over to the new host and change the DNS records. The outage was something about 5-10 minutes basically caused by the TTL of 600.

Looking into the Load Average I think we have enought resources for a couple of more svn revisions and search engine spiders.

That’s all, happy ircing, and happy developing.

Oh happy day …

What a happy day … on the wedding anniversary of our civil marriage we got a great gift. Our favorite distribution released a new major version.
Like every time … it’s the best distribution our project released so far. Many thanks to all those people who did make that happen. If you not married today, maybe you have the possibility to dedicate Lenny to your valentine. :)




Too Cool for Internet Explorer