Tag Archive for 'planet'

Page 3 of 18

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!

nagios-plugins 1.4.13+git200906171200-1 uploaded

Today I uploaded a new nagios-plugins package to unstable. At first I thought I will wait for the next upstream release, but after the announcement to release soon, the months passed by. While we skipped the last stable release due the lenny freeze, there are a couple of bugs fixed in the latest svn snapshot and within the package itself:

[...]
* new upstream
– check_http doesn’t enforce port (Closes: #494835)
– check_http –onredirect=sticky follows using the same IP address
(Closes: #502529)
– Fixed buffer overflow in check_ntp/check_ntp_peer (Closes: #528686)
– Fixed check_mrtg returning UNKNOWN instead of OK (Closes: #335871)
– Fixed check_by_ssh interpretation of quotes in -C parameter
(Closes: #425312)
– Fixed coredump from check_nt when drive not found (Closes: #521097)
– Removed -n option in check_smtp’s help and usage output (Closes: #525307)
– Fixed check_icmp –help output for warn and critical thresholds
(Closes: #530553)
– Fix potential buffer overflow in check_snmp – enforce MAX_OIDS limit
(Closes: #460405)
[...]
* add trailing $ to check_httpname, thanks Daniel Pocock (Closes: #524629)
* add informations into README.Debian how to use plugins (Closes: #525168)
* add check_nscp which uses the default port of NSClient++ (Closes: #528262)
[...]

So I thought it would be comfortable for the users to upload the svn snapshot instead to wait longer for a stable upstream release and leave the bugs unfixed or incorporate the bugfixes into latest stable release, which have to be sorted out again with the next stable release.
If there are no show stoppers, a backport will appear hopefully short before debconf at backports.org.


While we are at it, yes I’m at debconf too from 23th to 31th. Hopefully see you there.

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.


Too Cool for Internet Explorer