the padded cell

howto

How to: Setting up a Wikileaks mirror

2 min read

Yesterday I wrote a quick step-by-step guide for installing apache and setting your system up for Wikileaks mass-mirror project in Swedish and I’ve had requests for it to be translated into English.

This guide assumes you’re running Ubuntu or a Debian based system.

I’ve made a script that does all the steps below, feel free to use it!
The script: http://sanitarium.se/files/wikileaks-mirror.sh
Usage: wget http://sanitarium.se/files/wikileaks-mirror.sh && chmod +x wikileaks-mirror.sh && ./wikileaks-mirror.sh

Installing Apache and adding the wikileaks user

# is the prompt as root:

[… more]

How to: Sätta upp en Wikileaksspegling

2 min read

A translation of this post is available in English.

En kommentar i Rick Falkvinges inlägg Fullt krig om informationen så efterfrågades en snabbguide för att dra igång en Wikileaksspegling i ett vanligt Linuxssystem.

Jag utgår från Ubuntu eftersom det är vanligt och vad jag själv använder.

Uppdatering 2010-12-05: Jag har gjort ett script som utför alla stegen nedan, använd gärna det!
Filen: http://sanitarium.se/files/wikileaks-mirror.sh
Användning: wget http://sanitarium.se/files/wikileaks-mirror.sh && chmod +x wikileaks-mirror.sh && ./wikileaks-mirror.sh

Installera Apache

# är prompten som root:

[… more]

How to: disable Spotify from making P2P connections in Windows XP

1 min read

I’ve been having trouble at work with the available bandwidth running out when I and my co-workers are using Spotify, a very nice piece of software, but just like Skype it tries to split its content through all available nodes and make sure they share it, which includes its users.

So what I did to force Spotify to only connect and fetch data from the Spotify servers was to use the built-in firewall in Windows XP and specify that spotify.exe is only allowed to connect to: 78.31.8.0/22,193.182.8.0/21, mix up some traffic priority rules at the router for connections to those IP:s and Spotify can still be used, and not taking up all available bandwidth.

[… more]

How to get your HP un2400 3G modem to work in Ubuntu on a HP 110c-1020SO netbook

1 min read

I bought a HP netbook this week with the explicit intent to use GNU/Linux on it. I wagered that someone had gotten the built-in 3G modem working and while it was a pain to get installed I was right, someone had made it work!

To help anyone who would be in the same position as I was a couple of days ago I’ve written down the steps I followed to get my modem working on my own wiki and also packed all the files I need to get this working up as a download.

[… more]

How to reactivate calendar notifications on your HTC Hero if they stop working

2 min read

A couple of months back, out of the blue, my HTC Hero stopped notifying me on my upcoming calendar events. It didn’t even show upcoming events on the home screen widget, but it kept syncing new events without a problem.

I tried adding and re-adding the calendars I sync on the phone, turning on/off the notifications but nothing worked. I found a link to a guy who had the same problem, which ended up being caused by him force quitting the alarm service. But I had not done that, and either way it should’ve started working after a reboot if that were the case. Another guy managed to get his notifications working after doing a factory defaults reset.

[… more]

How to disable bold fonts in xterm

Why sometimes repeating yourself really does get the message through

1 min read

I’ve so far in all my travels never found a terminal I like better than xterm, maybe urxvt, but I’ve had a problem disabling bold fonts for a very long time. Update: Seems this is a known bug for xterm.

There are a lot of X resource configuration options that makes you think you can disable bold fonts, but alas, I’ve had no luck with any of them. But if you set the same font for both normal and bold fonts it’ll work! This little gem of knowledge I found as an off-hand remark on a configuration page by Emil Mikulic, thank you!

[… more]