return to OCLUG Web Site
A Django site.
May 18, 2011

Bart Trojanowski
Bart's Blog
» how to manually create a 6in4 tunnel

I'm doing some IPv6 codig for a client and needed to setup a bunch of 6in4 tunnels.

Thre are many ways to do this through distribution init scripts (Debian, Fedora), but I wanted something less permanent and more dynamic for testing.

The procedure can be summarized in these steps:

  • create a tunnel mytun between local and remote

    ip tunnel add mytun mode sit local \
                    remote ttl 64 dev eth0
  • give the local end an address

    ip addr add dev mytun f8c0::
  • bring up the tunnel

    ip link set dev mytun up

[Read More]

March 21, 2009

Bart Trojanowski
Bart's Blog
» shrinking URLs

I wrote a short script to shrink URLs:

    % shorturl

    % shorturl
    Type in some urls and I'll try to shrink them for you...

I am doing this as part of my new addiction^W usage and extending GregKH's command line micro blogging tool.