feisty, ubuntu, edgy, gutsy, dapper, hardy, intrepid, jaunty
Posted by Wim Koorenneef on 2010-03-28 09:07 CEST
Connecting 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.
Posted by Wim Koorenneef on 2009-03-01 08:05 CET
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
Posted by Wim Koorenneef on 2009-02-21 21:04 CET
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.
Posted by Wim Koorenneef on 2008-12-31 17:27 CET
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!
Posted by Wim Koorenneef on 2008-12-28 11:00 CET
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.