Whiskey Kilo Linux  •  Exploring GNU/Linux and F/OSS
styline.jpg

Thursday 9th September 2010

drupal member logo

drupal logo

ubuntu logo

gnome logo

opensource logo

intrepid

Connecting to WebDAV with davfs2

Some time ago I wrote about using fusedav to connect to a webdav server. For some reason I could only read from the server. Writing always resulted in an error.

Today I used davfs2 for the first time and writing is working like a charm. Configuration is a little bit of work however. First I installed davfs2 via apt-get, then I ran dpkg-reconfigure to make davfs2 run suid as root. The last step involved an entry in /etc/fstab and creating a directory in /media. Also make sure you are a member of the davfs2 group.

sudo apt-get install davfs2

Comments

Renew SSL certificate for Dovecot

For some reason Dovecot started to complain about an expired ssl certificate. Well, actually my mail client thunderbird complained. In order to renew the certificate I used the following commands:
openssl genrsa -out server.key 1024
openssl req -new -x509 -key server.key -out server.pem -days 1826
cp server.key /etc/ssl/private/ssl-cert-snakeoil.key
cp server.pem /etc/ssl/certs/ssl-cert-snakeoil.pem

The important bit while creating the certificate is the common name. Fill in localhost or your server's domain name.

Comments

Capture video from webcam with ffmpeg

Logitech Quickcam Vision Pro (Mac)I just bought a new webcam, a Logitech Quickcam Vision Pro (Mac version, 046d:09a6) with hardware controlled autofocus. Pictures are really sharp and the autofocus is cool too. Anyway, i needed to capture a small video with sound. Here's the ffmpeg command i used.
ffmpeg -t 10 -f video4linux2 -s 320x240 -r 30 -i /dev/video0 -f oss -i /dev/dsp1 -f mp4 webcam.mp4
No need to compile ffmpeg, this works out of the box!

Comments