Archive for the 'Uncategorized' Category

new nagios-plugins (1.4.14-1), now also installable on kfreebsd and hurd

Last night here at BSP I released nagios-plugins (1.4.14-1), which has a couple of fixes and enhancements. For more information, see the changelog.
The main change may, that with this version, the package should be installable on non-linux archs, where iputils-ping is not available. The downside of using inetutils-ping is, that its behavior is different from iputils-ping. As result of this, check_ping will timeout much often, even if there isn’t any problem and you will have false positives. As suggested long ago, at least on this archs, you should consider to replace the use of check_ping with check_icmp.

Just after election … welcome in reality!

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!




Too Cool for Internet Explorer