Note: replace le0 with your interface name.
while i="`ifconfig le0 | grep inet6 | grep -m 1 -v '%'`"; do
ifconfig le0 $i delete
done
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):
Friday, April 25, 2008
Bridge problem with FreeBSD 7.0-RELEASE
Problem
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.
Solution
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.
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.
Solution
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
Problem
On Debian Linux, there seems to be no out-of-the-box support for JPEG in ImageMagick.
Solution
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.
On Debian Linux, there seems to be no out-of-the-box support for JPEG in ImageMagick.
Solution
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.
Wednesday, April 16, 2008
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 http://www.syte.ch/en/laszlo.xml.
Friday, April 04, 2008
Technical Humor
Yeesh, I found the links for the April 1 RFCs. Here's a dose of highly technical humor:
WARNING: Reading the above documents may result in nosebleed.
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!
Subscribe to:
Posts (Atom)