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

Friday 30th July 2010

drupal member logo

drupal logo

ubuntu logo

gnome logo

opensource logo

feisty, ubuntu, edgy, gutsy, dapper, hardy, intrepid, jaunty

Conneting to ziggo homedrive with webdav using Ubuntu

Homedrive webdav settingsConnecting to the webdav server of my provider Ziggo is easy. Just use Ubuntu's 'connect to server' function. As you can see from the screenshot you need the following user data:

It is recommended that you create a bookmark (here: Homedrive). This way you can click the bookmark in Nautilus and enter the given directory.

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

Using mencoder to make time lapse video

If you ever need to make a time lapse video of a series of jpeg images, try this:
mencoder -ovc copy -mf w=320:h=240:fps=6:type=jpg 'mf://*.jpg' -o time_lapse-test.avi

I used a bunch of small webcam images made with motion and it worked like a charm.