Tag Archives: linux

Slow netbooks: How to convert H.264 HD movies to lower quality (but faster) DivX

What if you want to play a HD movie on a netbook? I tried it on my acer 532h, and it’s lagging; mplayer complains about the machine being too slow. The problem maybe isn’t the high quality per se, but … Continue reading

Posted in Linux | Tagged , , , , , , , , | Leave a comment

Backups on an encrypted external hard drive

Here I assume you already filled it with random data. Just one more post documenting my system.. (It might be useful only to myself, who knows). I have a file /root/key with random numbers (just dd if=/dev/random of=/dev/sdb bs=key_size count=1). … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

How to mix Debian testing and unstable

Like me, you might want to use debian testing but¬†occasionally¬†install unstable packages. What happens if you simply put testing and unstable repositories on your sources.list? If you try that, you will notice that your system will always prefer to install … Continue reading

Posted in Linux | Tagged , , | 1 Comment

Script to write random data to a hard drive using openssl

The script I posted on how to write random data to the hard drive was kinda buggy.. Here is a better version, that actually stop when it finishes. It also shows the progress and does some safety checking (It’s weird, … Continue reading

Posted in Linux | Tagged , , , , | 1 Comment

Running your own dns cache on Debian (with djbdns)

Run as root: aptitude install djbdns dnscache-run mv /etc/resolv.conf /etc/resolv.conf.orig echo nameserver 127.0.0.1 > /etc/resolv.conf Then configure your connection to not update /etc/resolv.conf upon each connection (I use pppoe to connect to adsl, so I needed to comment the line … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Partitioning: /boot and dm-crypt/LUKS

This is a continuation to my first post on writing random data to the disk. (Warning: This is setup supposes you already erased the data on the disk, or that you don’t care.) Partitioning is easy. My partition table: # … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment

How to write random data to the hard drive with dd

Note: the script posted here is a bit buggy. There is an improved version on a newer post. Since I bought my netbook (an Acer Aspire One 532h-2514), I’m considering encrypting all my data. After some searching, I found that … Continue reading

Posted in Linux | Tagged , , , , , , , | 5 Comments