Blog Archives

How to add a hard disk to hddtemp and read the temperature

http://commons.wikimedia.org/wiki/File:Crystal_128_harddrive.pngHddtemp is an application for reading the temperature sensor of hard disks with S.M.A.R.T support. In case the software doesn’t recognize your hard disks sensor, but you are sure that your disk has one and is also S.M.A.R.T enabled, you can manually add the correct parameters for your disk to the hddtemp database. I will show this based on my INTEL 530 Series mSATA Solid-State drive in the second part of this post, .
Read the rest of this entry

How to enable and use Wake on LAN

https://commons.wikimedia.org/wiki/File:Utp_patch.png#fileIn this article I will describe how to enable Wake-on-LAN (WOL) and how to use it to start-up a system remotely. In order to use Wake-on-LAN your systems hardware and network driver needs to actually support this technology. You will also need to know the MAC address of the systems ethernet card.
Read the rest of this entry

How to trim disk images to partition size

I’ve recently been playing with my Raspberry Pi and Arch Linux when I encountered the following problem:

I’ve downloaded the Arch Linux image from the Raspberry Pi download page and used dd to copy it to a 8GB SD card. Read the rest of this entry

How to mark books as read in Calibre

How to mark books as read in CalibreIn this article I will describe how to mark/flag books you have already read in Calibre. Calibre is probably one of the best open source E-book library management application out there. It comes with many great tools and features and it’s easy to customize. By default there is no prebuild possibility to mark books you have already read in your library, but that’s where Calibres possibilities of customization come in handy. You can achieve this by simply adding a new column to your library. Just follow these simple steps:
Read the rest of this entry

How to install ClockworkMod Recovery and CyanogenMod on Samsung Galaxy S (GT-I9000)

Screenshot: CyanogenMod loading on GT-I9000In this article I will describe how to install ClockworkMod Recovery and CyanogenMod on the Samsung Galaxy S. By installing CyanogenMod your device will also be rooted. I have written this post while I was installing ClockworkMod Recovery and CyanogenMod on my friends Samsung Galaxy S GT-i9000 (International). I provided the specific software download locations for the GT-i9000 and also the general download links in case you have an other model of the SI. Make sure to have enough battery life throughout the whole installation procedure and to read the disclaimer before starting to follow this guide!

Read the rest of this entry

How to install Privoxy and combine it with Tor

In this post I’ll show you how you can improve your privacy and anonymity while you are browsing on some websites. For this purpose I’ll use Privoxy and Tor. Privoxy is a non-caching web-proxy with filtering capabilities for enhancing privacy. Tor uses an overlay network of volunteers and relays your traffic through the Tor network to it’s destination. It also encrypts your data, so no Tor node (except the exit node) can read your data.

This is not a high-security setup, but it should improve your privacy and anonymity.

1. Privoxy
2. Tor
3. Combine Privoxy and Tor
4. Appendix
Read the rest of this entry

How to set up a stateful firewall with iptables

My old post to set up a small rules set for iptables is deprecated so I decided to update this post and improve some rules.
This time I tested this iptables setup on my Raspberry Pi. I connected to my Pi via SSH and the first time I tested the rules order I locked myself out and I had to connect the monitor and keyboard to fix this. The rule order in this post worked for me to set everything up via SSH.

I also tried this setup on a virtual machine and made a screencast of it. You can find the video at the end of this post.

1. Kernel modules
2. Important Rules
3. Chain Policies
4. Port Rules
5. Logging
6. Saving Rules
7. Appendix (Script and video)
Read the rest of this entry

How to extract video URLs from YouTube

I know there are many tools out there that allow you to download videos from YouTube, like the Video Download Helper for Firefox, even online tools that convert the audio to mp3. The reasons I’m writing this article are a) because sometimes you just need the URL, for example to watch a video with a much less ressource consuming player like VLC or ffplay, b) because sometimes you just want to listen to the audio and save up even more ressources by not decoding the video and c) because I can ūüėČ
Read the rest of this entry

How to install ClockworkMod Recovery and CyanogenMod on Samsung Galaxy S3

Screenshot: CyanogenMod loading on GT-I9300In this article I will describe how to install ClockworkMod Recovery and CyanogenMod on the Samsung Galaxy S3. By installing CyanogenMod your device will also be rooted. I have written this post while I was installing ClockworkMod Recovery and CyanogenMod on my own Samsung Galaxy S3 GT-i9300 (International). I provided the specific software download locations for the GT-i9300 and also the general download links in case you have an other model of the S3. You may also consider taking a look at the tutorial from the CyanogenMod website for your specific device. Also make sure that you have enough battery life throughout the whole installation procedure and to read the disclaimer before starting to follow this guide!

Read the rest of this entry

How to install Bumblebee on Arch Linux

In this article I will describe how to install Bumblebee on Arch Linux. The Bumblebee-Wiki provides the following description for the software: “Bumblebee is an effort to make Nvidia Optimus enabled laptops work in GNU/Linux systems. Such feature involves two graphics cards with two different power consumption profiles plugged in a layered way sharing a single framebuffer”. Please be extremely cautious throughout the whole installation procedure, depending on your system you may end up with a messed up driver or system configuration! This “How To” is based on my system, here are the most relevant specs:

  • Lenovo ThinkPad T420s
  • CPU: Intel Core i7 – 2620M with integrated GPU
  • Graphics: NVIDIA 4200M Optimus Graphics (NVIDIA GF119M)


0. Preparations
1. Installation
2. Important and useful commands
3. Troubleshooting
Read the rest of this entry