Reboot Script for Linksys WAP200 access points

Since the Linksys WAP200 has a tendency to hang and not let any users connect anymore, this little script to reboot an accesspoint (webinterface still works fine). Replace user and password with correct values.

WordPress, Lightbox & SmoothGallery

Since I just spent an hour debugging a problem that others probably also have ran into, I’ll post my findings and workaround. I’ve been using lightbox for my images here for a while (the thing that darkens the website and pops up a frame with the image, pretty muth common nowdays). This is a great solution for an image of two in a post, but if you want to add a bunch more (or a whole gallery) all those images will really bloat up your post,  so I had a look at different picture gallery software and really liked SmoothGallery. It turns out there are two plugins that make it easy to implement the software into a wordpress blog (NextGEN Gallery and NextGEN Smooth Gallery), but unfortunately SmoothGallery breaks lightbox in WordPress (has to do with the javascript libraries they use). My current workaround is to use Slimbox as an alternative to lightbox until the problem get’s fixed (or until I fix it myself somehow). In the long run I’d really like to return to lightbox (or lightview, a pimped up version).

I hope I get around to writing post of the last few days tomorrow. Wanted to do that this evening, but I got caught up in the gallery/lightbox problems.

Virtualbox

I’ve been playing around with Virtualbox here at work the last few days (all our MMO games have windows clients, I have a Linux at work), and I must say I am pretty impressed. Before someone comes around the bend and yells “but my favorite virtualisation software XZY can do that too”: I’ve tried a few and Virtualbox is: free, stable, easy to setup and use, has a good performance. The latest version supports Direct3d, so now I can run games that caused problems with wine. Creating snapshots are a breeze too, so I can revert the whole system back to a “clean” version without any problems if I want to test something.

A tip: boot the windows guest into the “safe mode” (press F8 after the BIOS sceen and before windows start to boot) and install the “Guest additions” while in safe mode, had trouble with direct3d if installing in the “normal” windows.

self0wned politicians

The German politicians are currently still pushing laws to censor the Internet (they actually managed to pass one law, now they are trying to defend it and broaden the spectrum of things to censor). It all started out as a good thing, they were trying to eradicate child pornography. Instead of having the child pornography simply removed from the Internet (which has been proved time and time again is fairly easy), they used the topic to implement general Internet censorship instances. Censorship is bad, and what pisses people off most is the fact that the “censorship” just puts up a big red stop sign in the browser of a user when he surfs to a page on the blacklist, and anyone with enough computer experience to turn a computer on and surf the Internet is more than able to bypass the current “censorship” and surf to any website he wants to.

Back to the reason I’m writing this post 😉 DNS servers are the servers that turn , for instance, www.google.de into the computer understandable IP Address of the server (so your browser knows where it has to go to get the pages). DNS servers are a fundamental part of the Internet as we know it. In a nutshell: A politician from the German SPD party stated that anyone running his own DNS server *) is supporting child pornography because he (or she) bypasses the efforts of the German politicians to use the DNS servers of the Internet providers to censor websites. To make this strange mental leap of the SPD even more funny, the SPD has a DNS server that anyone can use and (since certain institutions were explicitly exempted from the censorship laws) doesn’t censor anything.

Let’s look at the list of DNS servers from the SPD:

$ dig -t NS spd.de
spd.de.            26100    IN    NS    ns1.arcor-ip.de.
spd.de.            26100    IN    NS    ns2.arcor-ip.de.
spd.de.            26100    IN    NS    ns3.arcor-ip.de.
spd.de.            26100    IN    NS    dns2.spd.de.

aha, let’s have a look at dns2.spd.de since it is the only one not from a large Internet provider

$ host dns2.spd.de
dns2.spd.de has address 195.50.146.131

$ whois 195.50.146.131
inetnum:        195.50.146.0 – 195.50.146.255
netname:        SPDINET-NET
descr:          Sozialdemokratische Partei Deutschland
descr:          Wilhelmstr 141
descr:          10963 Berlin
country:        DE
admin-c:        FH1138-RIPE
tech-c:         ANOC1-RIPE
status:         ASSIGNED PA
mnt-by:         ARCOR-MNT
source:         RIPE # Filtered

yepp, belngs to the SPD, let’s check if it resolves hosts for us …

dig @195.50.146.131 dopefish.de
dopefish.de.        3600    IN    A    188.40.34.99

Works fine, that means we can tell our computer to not use the DNS servers from our provider, but use the one from the politicians who are helping to push Internet censorship.

*) Yes, I know the differences between DNS servers, recursors, … I’m just keeping it simple.

Blog Facebook

So I finally got around to getting Facebook to automatically impoort my blog entries. Was easily done technically, all I had to do was decide if I wanted them to end up in the news feed or as status updates. Both had their advantages, but I decided going with news feeds because they provide better formating.

Now I’m back to moving my website and email server to new hardware (websites are easy, email is a bit of a pain).