Category Archives: Linux

Canon i-Sensys MF8030Cn on Ubuntu 10.10

Post migrated from my old site:

Driver for Linux can be found here:

Some more help might be found here:

MPlayer and MEncoder to the rescue!

For those of you that have not discovered MPlayer and MEncoder yet. If you find yourself trying to combine dozens of codecs, converters, etc. and nothing works, to convert a movie, try MPlayer and/or MEncoder. Every time I have problems converting MEncoder proves to be the solution.

Postfix on KPN Direct ADSL


I had a lot of trouble setting up Postfix so that it would relay my mail (sending only). I am using KPN Direct ADSL and have documented some tricks here for Ubuntu 12.10.

KPN’s support answer is somewhat useful but not that much:

The three different addresses they are mentioning for the relayhost, confused me a lot. The right relayhost to use is:

My /etc/postfix/ looks like this:

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = <hostname>
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = <externaldomain>, <hostname>, localhost
relayhost = []
mynetworks = [::ffff:]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
default_transport = relay
relay_transport = relay
inet_protocols = all

Please make sure that you replace <hostname> and <externaldomain> with your machine’s hostname and external domain URL.

The last I found with to get my external ip address and to get your external domain URL:

host <ip-address>

Notice that I had to change the default_transport and relay_transport to error to:

default_transport = relay
relay_transport = relay

The other thing I had to do is to set the following to change rewrite the from field as KPN does not accept the <user>@<hostname> that your Ubuntu machine provides:


To set up your sender_canonical file, follow these instructions:

Useful background information can be found here:

Spotify on Precise Pangolin (Ubuntu 12.04LTS)

Good instructions to install Spotify using apt-get on Ubuntu 12.04LTS Precise Pangolin can be found here:

If you get an error about invalid keys, the solution is here (post by dubbe):

Have fun.


Postfix malfunctioning on Ubuntu 11.10

In case Postfix is complaining about /etc/postfix/ missing in your Ubuntu 11.10 Oneiric Ocelot too, follow this link for the solution:

Ubuntu 11.10 (Oneiric Ocelot): PHP dynamic library problem


I noticed that my Ubuntu 11.10 Oneiric Ocelot machine was complaining about:

$ php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/' - /usr/lib/php5/20090626/ cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/' - /usr/lib/php5/20090626/ cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch (cli) (built: Feb 11 2012 03:26:01) 
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

To resolve this issue, take a look at this thread. It works:

Password less login on Linux

Instructions for password less authentication on Linux can be found here:

Apt-get behind a proxy in Ubuntu 11.10

When you are behind a proxy on Ubuntu 11.10 and would like to update your system:

  1. Edit the file /etc/apt/apt.conf.d/02proxy
  2. Add the following line to this file (Of course replace the username, password and proxy ip address)
    Acquire:http:Proxy "http://username:password@proxy:80";
  3. And of you go:
    apt-get update
    apt-get upgrade

Thanks to:

If the above does not work, you could try the above in /etc/apt/apt.conf. This sometimes works with the above doesn’t.


Excellent tool on many platforms for note taking:

Disk load monitoring tool: iotop

iotop is a nice disk monitoring tool for Linux in case your hard disk is bugging you with high load and you want to find out what it is causing it (like mine).