Saturday, April 26, 2008

FreeBSD Tip: How to delete all IPv6 address in an interface

You can delete all IPv6 addresses in an interface using the following command (vanilla Bourne shell):

while i="`ifconfig le0 | grep inet6 | grep -m 1 -v '%'`"; do
ifconfig le0 $i delete
Note: replace le0 with your interface name.

Friday, April 25, 2008

Bridge problem with FreeBSD 7.0-RELEASE

The FreeBSD Handbook states that "if the bridge host needs an IP address, then the correct place to set this is on the bridge interface itself rather than one of the member interfaces."

With FreeBSD 6.x and FreeBSD 8.0-CURRENT, setting the IP address on the bridge works without any problem. With FreeBSD 7.0-RELEASE, however, this does not work. The OS doesn't even properly boot when the IP address is set via /etc/rc.conf.

This is probably a temporary solution, but try setting the IP address to one of the member interface. This is in direct opposition to the advice given in the Handbook, but it works for me.

If this is a bug (which I suspect it is), a patch probably exists somewhere. Please feel free to leave a comment.

Friday, April 18, 2008

JPEG support for ImageMagick

On Debian Linux, there seems to be no out-of-the-box support for JPEG in ImageMagick.

First, install libjpeg62-dev library. libjpeg62 doesn't work because it doesn't include the necessary development files. Next, download ImageMagick's source and compile it manually. Use ./configure --with-jpeg=yes for configuring.

Tuesday, April 08, 2008

OpenLaszlo IDEforLaszlo Eclipse plugin

Syte GMBH has provided an update for IDEforLaszlo plugin to support OpenLaszlo 4.0.10 and OpenLaszlo 3.4. IDEforLaszlo has been stale for quite some time now, and I'm glad that someone has offered their time and effort for this project. I'll be checking it out later.

IDEforLaszlo can be found at

Friday, April 04, 2008

Technical Humor

Yeesh, I found the links for the April 1 RFCs. Here's a dose of highly technical humor:
  • RFC 5241 — Naming Rights in IETF Protocols. A. Falk, S. Bradner.
  • RFC 5242 — A Generalized Unified Character Code: Western European and CJK Sections. J. Klensin, H. Alvestrand.
WARNING: Reading the above documents may result in nosebleed.

Tuesday, April 01, 2008

Morph eXchange

Our friends from Morph Labs has just launched version 2.0 of their Morph eXchange website. Congratulations, butterfly!

April 1, 2008 RFC

It's April 1 already, but I can't seem to find prank RFCs for this year...