Category Archives: Linux

Raspberry Pi (raspbian) drops wireless connection after openvpn is started

Whenever the tap0 or tun0 device came up, my wireless connection would go down within a couple seconds. This was frustrating. I found that there is a file /etc/default/ifplugd that needs to be edited. Make it look like this: INTERFACES=”auto” … Continue reading

Posted in Linux, raspberry pi | Comments Off on Raspberry Pi (raspbian) drops wireless connection after openvpn is started

Install deCSS on Ubuntu 12.04

You’ll need this to play encrypted DVD’s on your linux box. Installing it is easy but I can never remember the trick. sudo apt-get install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh

Posted in Linux | Comments Off on Install deCSS on Ubuntu 12.04

How to use openssl to generate a certificate request

I can never remember how to generate a certificate request (CSR) when doing a one-off certificate. I use a script for my normal certs at work but sometimes I want to make one for personal use or a self signed … Continue reading

Posted in Linux, SSL | Comments Off on How to use openssl to generate a certificate request

500 OOPS: vsftpd: refusing to run with writable root inside chroot()

This is one of the most annoying and frustrating problems I have run into lately. This supposed security fix makes vsftp simply unusable after upgrading to Ubuntu 12.04 from 10.04. No amount of cajoling or messing with options will get … Continue reading

Posted in FTP, Linux | Comments Off on 500 OOPS: vsftpd: refusing to run with writable root inside chroot()

OpenVPN refuses to start in LXC container

I was getting the following error when trying to start openvpn from within an LXC container: Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) This fixed it: mkdir /dev/net mknod /dev/net/tun c 10 200 chmod 666 … Continue reading

Posted in Linux, lxc | Comments Off on OpenVPN refuses to start in LXC container