September 2007 Archives

Internet: IPV6 and Thomson Speedtouch 500 series

In order to get a IPV6 tunnel working with a Thomson Speedtouch 500 series ADSL modem like the Speedtouch 510. You will have to set the following option in your modem:

(connect via telnet)

=> nat unbind application IP6TO4 port=1[ENTER]

Other IPv6 tunneling tips can be found on this website.

Posted by Administrator on Sep 28, 2007 digg delicious technorati blinklist furl reddit

Howto enable compiz-fusion in Ubuntu Feisty

Linux desktop effects have come a long way. Over time we’ve seen different implementations like compiz & beryl. These 2 projects have lead a life of their own but have now been merged back together again in a new project called: compiz-fusion. Compiz-fusion has got some awesome eye candy effects, but it’s still a little bit tricky to get it to work though.

Continue Reading…

Posted by Administrator on Sep 21, 2007 digg delicious technorati blinklist furl reddit

How to create and use patch files in Linux, BSD and Unix

Creating a Patch File:
diff -Naur oldfile newfile >patch_file

Patching a File:
patch -p0

Note about patch levels (-p0, -p1, -p2, -p3, ..)

The -p option will optionally strip off directory levels from the patchfile. For Ex: if you have a patchfile with a header as such:

--- old/modules/file Mon Sep 10 08:02:57 2007
+++ new/modules/file Tue Sep 11 14:25:13 2007

Using a -p0 will expect, from your current working directory, to find a subdirectory called “new”, then “modules” below that, then the “pcitable” file below that.

Using a -p1 will strip off the 1st level from the path and will expect to find (from your current working directory) a directory called “modules”, then a file called “pcitable”. Patch will ignore the “new” directory mentioned in the header of the patchfile.

Using a -p2 will strip of the first two levels from the path. Patch will expect to find “file” in the current working directory. Patch will ignore the “new” and “modules” directories mentioned in the header of the patchfile.

Using a -p3 in this example would not be a good thing. Patch probably wouldn’t patch anything.

Posted by Administrator on Sep 13, 2007 digg delicious technorati blinklist furl reddit