FeedBurner
Saturday, 4. October 2008 10:45 - daniel - Computer - 0 Comments
I recently switched to FeedBurner to serve the feed of this blog. To make this a simple as possible, I wrote a small plugin for yabs to allow the FeedBurner robot to fetch the feed from this site, but redirect everyone else to the FeedBurner version of my feed.
You need yabs 0.8.0RC2 for this plugin.
Download feedburner-1.0.1.tar.bz2.
Skype and privacy
Friday, 3. October 2008 6:40 - daniel - Computer - 0 Comments
This is why I don't like communication networks I can't control. Even tho Skype may not be guilty here, it shows that your conversations arn't save on these networks. Skype always talks about their encryption and stuff, but here you see how easy it was for a company to allow logging and censoring of chat communications.
And to make matter worse, you can't use a different client for Skype that supports additional end-to.end encryption on Skype, because Skype keeps there protocol closed and makes it extremely hard to reverse engineer their client.
Even using instant messaging networks like MSN or ICQ is better, because you can use a different client like pidgin that supports end-to-end encryption via plugins like off the records.
Or you can use Jabber (XMPP), a free and open protocol for IM (on your own server).
Huawei E160 and Linux
Saturday, 27. September 2008 10:40 - daniel - Other - 7 Comments
I recently got a Huawei E160 3G modem and use it on my Asus EEE 701 for mobile browsing. Since the E160 has two modes. In the default mode it acts like a read only USB drive, in the second mode, the modem is available. To change between these modes, you need a tool called usb_modeswtich.
The solution I'm describing here works on my EEE with fluxflux (a PCLinuxOS-remaster). It should work with other distributions too, but I havn't tested it. This solutions is based on Thomas Schönhütl's post about how to get the E169 working with fluxflux (german).
First, we need to get usb_modeswitch and compile it. You need libusb-dev (or libusb-devel on some distros) installed for this.
Now install ivman. Ivman is a daemon to auto-mount and manage media devices. We'll use ivman to run usb_modeswitch when the E160 is connected. I tried to do this with udev but failed. If anyone is successfull by doing it with udev, let me know.wget http://www.draisberghof.de/usb_modeswitch/usb_modeswitch-0.9.4.tar.bz2
tar -xjf usb_modeswitch-0.9.4.tar.bz2
cd usb_modeswitch-0.9.4
./compile.sh
cp usb_modeswitch /usr/local/bin/
Add ivman to you autostart. In ubuntu you can do this by going to System->Preferences->Sessions and adding a new Startup Program.apt-get install ivman
ivman
Now, lets adjust the ivman config file. Open $HOME/.ivman/IvmConfigActions.xml and add this befor </ivm:ActionsConfig>
<!-- Change Huawei E160 Mode -->
<ivm:Match name="hal.storage.physical_device" value="/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0">
<ivm:Option name="exec" value="xterm -e $HOME/.e160.sh" />
</ivm:Match>
Now create a file named .e160.sh in you home folder and open it with you favourite text editor. Paste this to the file
!/bin/bash
if [ -z "`/bin/ls /dev/ttyUSB0`" ]; then
if [ "`/usr/sbin/lsusb | grep 12d1 | cut -d : -f3 | cut -b -4`" = "1003" ]; then
/usr/local/bin/usb_modeswitch -v 12d1 -p 1003 -d 1
/usr/local/bin/usb_modeswitch -v 12d1 -p 1003 -H 1
fi
fi
Save the file and make it executable.
chmod +x .e160.sh
Restart ivman (or reboot) and the next time you connect you E160 3G modem, it should be switched to the correct mode automatically. Known spammer IP addresses
Saturday, 20. September 2008 20:08 - daniel - Blogs - 0 Comments
These IP addresses were spamming stopmetal.de for the last few days. I may want to add the to your blacklist too.
66.232.96.0/19 noc4hosts.com
195.190.13.0/24 steephost.com
66.197.128.0/17 hostnoc.net
124.217.224.0/18 piradius.net
200.63.42.136 panamaserver.com
58.65.232.0/21 hostfresh.com
Getting the Huawei E160 to work with Linux
Tuesday, 9. September 2008 13:03 - daniel - Computer - 8 Comments
Last week I singed a mobile internet contract and received a Huawei E160 USB modem with it. This is pretty much just a Huawei E220 without the cable and an additional card reader. Getting it to work with Linux is pretty simple.
If you connect it at boot up, it will be in the correct mode right away.
If you connect it while the OS is running, it won't be in the right mode. You have to run usb_modeswitch to use it. The E160 shares the settings with the E220.
I tried to use udev to do this automatically, but this doesn't work yet. Maybe I'll find a solution for this.