tested with Debian 6