Posts from 2011-05

Access the InterNetworX XML-RPC API via Python

The Domain Hoster InterNetworX (abbr. inwx) offers an XML-RPC interface to access its services. You can even register new domains. Documentation of the XML-RPC API is available for download at https://www.inwx.de/de/download/file/api-current.zip (including examples in PHP & Java plus a PDF describing the API).

There is an operational test environment (ote) to...

Read on

Modify Apache Logging to Comply to German privacy law

As I'm not a lawyer, I can't tell you if the following pieces of advice are really needed, just enough or not necessary. I will further investigate the topic and you will be able to read about my findings here.

Deactivate Apache logging

Set the following Apache2 directives in your apache config...

Read on

Mount SSH filesystems on Mac OS X via SSHFS with or without a GUI / Programs for (S)FTP

Mount SSH filesystems

My personal favorite: Fuse4X

http://fuse4x.org/

Use with this distribution of SSHFS: https://github.com/fuse4x/sshfs

See my dedicated blog post on SSHFS on Mac OS X 10.6.8 with Fuse4X!

Deprecated Option: MacFUSE sshfs using command line

http://code.google.com/p/macfuse/wiki/MACFUSE_FS_SSHFS

First install MacFUSE.

Then get the sshfs binaries:

cd ~/Downloads
svn co http://macfuse.googlecode.com/svn/trunk/filesystems/sshfs/binary sshfs-binaries

Now you...

Read on

Redmine on Debian Squeeze

Redmine as Debian package:

  • The core package is redmine. Three packages (redmine-*) provide correct dependencies for mysql, pgsql, sqlite.
  • Several configurations are given as working examples in /usr/share/doc/redmine/examples.
  • Explanations of how the configuration is dealt with are given in /usr/share/doc/redmine/README.Debian.gz.
  • There is no per-instance support for plugins, but those dropped to /usr/share/redmine/vendor/plugins.

Manual and Up-To-Date...

Read on

XEN Virtual Server Improvements

More Loop Devices

To solve this problem:

mount: could not find any free loop device,

you have to increase the number of loop devices:

echo "options loop max_loop=64" > /etc/modprobe.d/local-loop.conf

More SWAP

SWAPFILE=/root/myswap
# Create a file to use as swap with 1024 1MiB blocks (= 1 GiB):
dd...

Read on

cgit - A Web Frontend For git Written In C

Not available as Debian package yet as the search for cgit in the Debian packages reveals. The RFP can be found here.

Resources

...

Read on

IPv6 Adresses

Defined in RFC 5156

  • ::1/128 is the loopback address
  • ::/128 is the unspecified address
  • ::FFFF:0:0/96 are the IPv4-mapped addresses (indicating devices that are not IPv6-capable)
  • ::<ipv4-address>/96 are the IPv4-compatible addresses, deprecated!
  • fe80::/10 are the link-local unicast addresses
  • fc00::/7 are the unique-local addresses
  • 2001:db8::/32 are the documentation addresses. They are used for documentation purposes such as user manuals,...

Read on

Upgrade ASUS wl-500g Premium v1 from DD-WRT to OpenWrt

I was using an Asus wl-500g Premium router (hardware revision #1) running DD-WRT (I think it was version v24 preSP2 [Beta] Build 14311 mini). I decided to switch over to OpenWrt. The installation was dead simple. I just downloaded the .trx firmware image for the brcm47xx target (linux 2.6) from...

Read on

IPv6 Privacy Extensions

The privacy extensions as defined in RFC4941 make your device change its IP every now and then.

Privacy addresses are not enabled by default. Their generation is activated via the sysctl directive use_tempaddr that can be set to one of the following values:

  • 0 don't use privacy extensions.
  • 1 generate privacy addresses
  • 2...

Read on

Instantaneous IPv6 Connectivity using Teredo on Debian / Ubuntu

On Debian and Ubuntu, getting IPv6 connectivity is as easy as running this command in terminal:

sudo apt-get install miredo

You should instantaneously be connected to the internet via IPv6 (provided you have a working IPv4 setup).

If you want to customize your IPv6 connectivity, you can edit the miredo configuration...

Read on

Mobile IPv6

Mobile IP / Mobile IPv6 / mip6d seems to be quite dead at the moment:

Read on

SixXS Static 6in4 IPv6 Tunnel on Ubuntu / Debian

Define the tunnel in /etc/network/interfaces

You can simply put the following setup in your interfaces configuration file and this will allow you to set up your tunnel automatically at startup or manually using ifup sixxs.

# Please refer to <http://www.sixxs.net/faq/connectivity/?faq=ossetup&os=linuxdebian> for further information
auto sixxs
iface <span...

Read on

IPv6 6in4 Tunnel via Hurricane Electric (Tunnelbroker.net): Tunnel Setup on Ubuntu 11.04

Using the CLI tool ip

I wrote the following script to set up the tunnelbroker.net IPv6 6in4 tunnel on Linux using the ip command. You have to adjust the constants to the values given on the tunnelbroker.net site on the tunnel that you created. Just execute it and you should be...

Read on

IPv6 6in4 Tunnel via Hurricane Electric (Tunnelbroker.net): Automatic IP Update on Mac OS X

Hurricane Electric provides free IPv6 tunnels via the 6in4 protocol on the website tunnelbroker.net. After signing up, one can create up to 5 tunnels. When settings up a standard tunnel, one has to provide one's endpoint IPv4 address which may change from time to time (moving around or 24-hour...

Read on

Arch Linux

I wanted to have a closer look into Arch Linux and so I downloaded the x86-64 netinstall image from http://www.archlinux.org/download/. I created a virtual machine and started by using the .iso image as boot device. The installation was pretty smoth, no surprises for a Linux user.

Excellent Beginners Guide: <a...

Read on

Install Python Library for WordPress XML-RPC integration

cd ~/Downloads
git clone git://github.com/maxcutler/python-wordpress-xmlrpc.git
cd python-wordpress-xmlrpc
python setup.py install

Resources

...

Read on

Install Markdown Python Module on Mac OS X

easy_install Markdown

Resources

...

Read on