Skip to content

Allan - OnDemand Posts

Wake on LAN from WAN with a TP-Link router

If you have a computer on your local network you want to wake from the Internet and you have a TP-Link router (in this case a TL-WDR4300) you are in luck First, create a “virtual server” (or port forwarding) in which we forward an arbitrary port to port 9 at the IP address of the machine you wish to turn on (Go to Forwarding → Add New): If you test as this point, it will…

Damn you, Google!

First post in a long time – Don’t worry, I haven’t been abducted by aliens from Omicron Persei 8 So today, Felicia Day launched her new personal show called the The Flog. Since I enjoyed this first episode immensely I decided it was time to extend my use of Youtube and subscribe to the channel (user?) Geek & Sundry. To the *sshats at Google: Why, oh why, do you punish me for using Google Apps?…

May you have a fortuitous New Year

Live long and prosper!

Installing Cisco VPN Client on Ubuntu 11.10 (Oneiric Ocelot)

As always with a new Ubuntu release comes the problem of getting Cisco’s VPN client to install (and no, using vpnc instead is not really an option since the VPN concentrator doesn’t play nice and drops the connection from time to time) The problem this time is the kernel version of Ubuntu 11.10 – The new 3.0 series kernel. I’ve made a patch which will make the kernel module compile and install on the 3.0…

Running Symantec Veritas Cluster Manager on Ubuntu

At some point Veritas has release the Cluster Manager (Java Console) for Linux. Of course, Linux means Red Hat (and other RPM based flavours). Luckily it isn’t too hard making it work on Ubuntu (and friends). First, get the software – This requires a SymAccount. And no, I will not send you the software Now, prepare your Ubuntu box $ sudo apt-get install alien fakeroot And finally convert and install the package $ fakeroot alien…

Ubuntu Natty: Fixing ‘unknown locale’ in Python

The fix itself is the same as for Python 2.5 – only the line numbers have changed. Open the file /usr/lib/python2.7/locale.py and find the line containing en_gb (line 921) and add these lines (this works for Danish locales):     ‘en_dk’:                                ‘en_DK.ISO8859-1’,     ‘en_dk.iso88591’:                       ‘en_DK.ISO8859-1’,     ‘[email protected]’:…

Ubuntu: Installing and running a Lodge-it pastebin

When I switched from Apache2 to nginx, the software used to run my pastebin needed to be changed (I used Perl NoPaste, which is CGI based and I didn’t feel like messing with FastCGI wrappers). Instead I chose LodgeIt. LodgeIt is not just another pastebin, it features a clean user interface, different color schemes for sourcecode, reply to pastes, support for all languages Pygments supports, and XMLRPC support LodgeIt spawns it’s own webserver, which I…

Switched to nginx

Nowhere.dk has been moved to nginx (with php5-fpm) and most things seem to be working. There is one problem though. It seem that some of the older articles are indexed as /articles/-title-/index.php (which is sort of wrong) and accessing that type of URI results in a blank page. The problem seem to be that I’ve configured nginx to serve file in this order: location / {                  …

Android: ASCII Android – splash1 image

The image itself was taken from the Android bios boot animation – I haven’t been able to find the name of the author but all credits go to him (or her) Use fastboot to install the image $ fastboot flash splash1 splash1.img sending ‘splash1’ (750 KB)… OKAY writing ‘splash1’… OKAY $ fastboot reboot Get the file

Tip: Change the Chrome proxy settings when running Xubuntu (Xfce)

For a long time, in the olden days, I ran Xubuntu – mainly because I loved the simplicity of the desktop (and also because it was a lot lighter on my machine, a Thinkpad T40, than GNOME. And I just have no love for KDE). Then some changes were made to the menu system (or the way to edit it) which annoyed the hell out of me – that combined with a new, more powerful…

Page optimized by WP Minify WordPress Plugin