Tuesday, April 10, 2007

Question Mark Box Super Mario Template

Webdav access web.de Linux command line

My Linux version:
c't VDR: 1.4.1-1ctvdr4 / Kernel: 2.6.16-ct-1 / This is a Debian Linux.

Web.de offers only SSL - encrypted access to (which was also good:)). So I had to first install SSL support. OpenSSL is free software and does this.

install OpenSSL. You may also work the Debian package, but I have compiled my own.

- http://www.openssl.org/source/openssl-0.9.8e.tar.gz
wget - tar xfvz openssl-0.9.8e.tar.gz
- cd openssl-0.9.8e
- Installation under INSTALL - File

is now used neon. Since I apt-get could not find any packages with ssl support I have compiled my own.

- wget http://www.webdav.org/neon/neon-0.26.3.tar.gz
- neon-0.26.3.tar.gz tar xfvz
- cd neon-0.26.3 /
-. / configure - with-ssl = openssl - with-libs = / usr / local / ssl
(without the libs - path there was in me an error message)
- make install

Now the actual client webdav. I use cadaver (nice name)

- wget http://www.webdav.org/cadaver/cadaver-0.22.5.tar.gz
- cadaver-0.22.5.tar.gz tar xfvz
- cd cadaver- .
0.22.5 - /
configure the end should come out something like this:
configure: Configured to build cadaver 0.22.5: Install prefix
: / usr / local
Compiler: gcc
Neon library: library in / usr / local (0.26.3)
XML parser: using whatever neon
uses SSL library: SSL is supported by neon
Internationalization: Not built
GNU readline support: enabled
Then another:
- make
- make install

A connect looks like this:
vdr: ~ # cadaver https: / / webdav.smartdrive.web.de
WARNING: Untrusted server certificate presented for `webdav.smartdrive.web.de ':
Issued to: WEB.DE GmbH, Karlsruhe, Baden-Wuerttemberg, DE
Issued by: Certification Services Division, Thawte Consulting cc, Cape Town, Western Cape, ZA
Certificate is valid from Thu, 19 Oct 2006 20:02:04 GMT to Tue, 19 Oct 2007 20:02:04 GMT
Do you wish to accept the certificate? (Y / n) y
Authentication required for Please, enter the user data for the WEB.DE-Account, on the WEB.DE smart drive you want to access. webdav.smartdrive.web.de on server `':
User Name: *************
Password:
dav: /> ls Listing collection`
/': succeeded.
Coll: My Pictures 0 Apr 6 00:51
Coll: My Documents 0 Apr 6 12:51
Coll: My Music 0 Apr 6 00:51 Coll
My Videos 0 Apr 6 12:51
Coll: New file systems 0 Apr 6 00:51
dav: />

------------------------------------- ------------------------------------------------ As
so far everything has worked reasonably well I will try all
as a file system in order.

Before beginning read the INSTALL - read file in the package!
Here is the example again neon and of course, SSL functionality is needed.
It also provided additional file system is required (coda or fuse).

neon and ssl work already through the top installation.
I have included on the coda FS modules. See here
The module was present on my system already.

Now the installation of the driver:
- http://mesh.dl.sourceforge.net/sourceforge/dav/davfs2-1.2.0.tar.gz
wget - tar xfvz davfs2-1.2.0.tar.gz
- cd davfs2
-1.2.0 -. / configure
-
make - make install

Wed,
- you get enough information mount.davfs
you to use (even in German!). Different rights for root and normal users note.

The Group and the User davfs2 needed.
- groupadd davfs2
- useradd-g-m davfs2 davfs2
- passwd davfs2

davfs2 If other people have to use, you must also in this group:
- adduser knut davfs2

A first test (works only under root)
- mount.davfs https: / / webdav.smartdrive.web.de / var/lib/video.00/data/web.de /

Please enter the username for the server https: / / webdav. smartdrive.web.de to, if you will not specify, press Return.
Username:
*********** ******** Please enter the password of the server https: / / webdav.smartdrive.web.de to
, if you want to specify any , press Return.
Password:
mount.davfs: we trust the certificate does not
Exhibitor: Certification Services Division, Thawte Consulting cc, Cape Town, Western Cape, ZA
Owner: WEB.DE GmbH, Karlsruhe, Baden-Wuerttemberg, DE
Name: webdav.smartdrive.web.de
fingerprint: ************************************* **********
you should accept the certificate only if you checked,
agrees that the fingerprint. The server could be spoofed or
an attacker could have intervened in the connection to the server.
I accept the certificate for this session [j, N]: j
- cd / var/lib/video.00/data/web.de /
- ls lost + found
My Photos My Documents My Music My Videos New File Systems

- cd ~
- umount.davfs / var/lib/video.00/data/web.de /
umount.davfs: wait until mount.davfs (PID 4407) the files in the cache has secured
.. OK

configure now got all normal for a user. This is an entry in / etc / fstab necessary and provides for me like this:
https: / / webdav.smartdrive.web.de / var/lib/video.00/data/web.de davfs rw, user, noauto 0 0

can now "kissing" with
- mount / var/lib/video.00/data/web.de
and
- umount /
var/lib/video.00/data/web.de cheerfully work .

------------------------------------------------ -------------------------------------

I would like to take this opportunity to thank the developers of the Software packages thanks!