Linux

NVidia Driver on Linux-4.11.1

Problem: after installing linux kernel 4.11.1, the dkms package of the nvidia driver does not compile. You find some cryptic error message about ./Kbuild in  /var/lib/dkms/nvidia-current/375.39/build/make.log Solution: I uninstalled the debian nvidia package and installed the newer driver from the NVidia homepage: aptitude remove nvidia-installer-cleanup ./NVIDIA-Linux-x86_64-375.66.run After this upgrade nvidia and linux 4.11.1 works again Versions: before upgrade jessie […]

NVidia Driver on Linux-4.11.1 Read More »

Firefox Audio is Broken due to PulseAudio Dependency

Problem: Firefox 52 audio does not work without pulseaudio. Discussion: pulseaudio is a bloated audio daemon that often fails. In the last years, when ever audio failed on linux, the quickest solution was to uninstall pulseaudio. But the Firefox developers made the mistake to remove support for the underlying audio driver alsa, and insist on the middle

Firefox Audio is Broken due to PulseAudio Dependency Read More »

Cups PDF Filter Crashes

Problem: for some PDF files cups does not print the page, the web gui just tells “filter failed” and in the cups logfile you find [Job 528] PID 19521 (gs) crashed on signal 11! Discussion: cups on debian uses ghostscript as pdf renderer. The pdf renderer of ghostsciprt crashes on many files. You can test by simply running

Cups PDF Filter Crashes Read More »

Autosave for VIM

I believe that it’s a good idea that vi does not auto save during editing. Think of config files or src files that should never be in an inconsistent state. The programmer or sysadmin should decide when he wants to save data. But sometime auto save is handy, while typing lists like todo lists or

Autosave for VIM Read More »

Rare Connection Resets after Linux Upgrade

Problem: after upgrading from Debian 6 to Debian 8 some of the machines lose their ethernet network connection under heavy load for some seconds rarely. You find lines like these in syslog: [2333099.217735] NETDEV WATCHDOG: eth1 (tg3): transmit queue 0 timed out [2333099.217966] tg3 0000:03:04.1 eth1: transmit timed out, resetting [2333099.384391] tg3 0000:03:04.1 eth1: 0: Host

Rare Connection Resets after Linux Upgrade Read More »

Compiling Sendmail on Debian7

Problem: after compiling sendmail on Debian7 with “./Build” sendmail does not recognize hash .db files. You see the following error message: readcf: map access: class hash not available Discussion: ./Build should detect the berkley DB automatically. When devtools/bin/configure.sh finds libdb.so it adds -DNEWDB as compile option. On Debian7 the libdb.so file moved to /usr/lib/x86_64-linux-gnu/ and configure.sh fails to

Compiling Sendmail on Debian7 Read More »

Generate CSR using openssl

Browsers started to warn users about certificates with Sha1 signature. Sha256 is needed now a days. So it’s time to renew certificates from Thawte, Godaddy, etc You can generate a new Certificate Signing Request with openssl with this command: openssl req -nodes -newkey rsa:2048 -keyout servername.key -out servername.csr -sha256 “servername.csr” is an ascii file you can send

Generate CSR using openssl Read More »

Wget Ignores its Timeout

Problem: wget has an option to configure the timeout for dns, connect, and read or a combined timeout option “-T”. This option usually works, but it does not work during SSL handshake. You can test it with these commands: in one terminal start a dummy tcp service: nc -l 7777 and then try to connect to

Wget Ignores its Timeout Read More »