![]() |
Mini WebDAV HowTo
The WebDAV services being provided by knetconnect.com have so far focused on browser access.
Browser access because that works on Linux, Mac, and Windows. For users running Linux, the WebDAV remote directory may be mounted into your filesystem tree. The following is adapted from: http://www.thetechrepo.com/id=537 In the following, only the sub-domain, domain, folder, username, password, uid and gid have been changed from that used by the current members. (I left the puncuation alone.) So substitute your actual values in the following example for: Domain: Konnect.con Folder: ourbox Remote username: myname Remote password: mypass LocalUID: itsme LocalGID: itsme Install the davfs2 package for your distribution. That is the package's most common (Debian/Ubuntu) name. It should be available in all Linux distributions. If not found in your distribution and you are using an rpm package based system, search rpmfind.net for davfs2. There where 58 flavors to choose from there yesterday. Make a local directory to serve as a mountpoint: Code:
mkdir -p /home/itsme/ourboxYou will need the UID and GID names of that directory. Use stat to find them: Code:
stat ourboxWith a text editor, as the "superuser", edit /etc/davfs2/secrets by appending the line: Code:
sudo nano /etc/davfs2/secretsCode:
sudo nano /etc/fstabTo use the remote directory as if it was part of your system file tree: (assuming you put the folder in your home directory as shown above) Code:
sudo mount ~/ourboxdavfs2 does a lot of local caching, it takes it a noticable amount of time to sync with the remote. The service on knetconnect.com implements file locking (as MySQL locked transactions). You should not have problems mentioned on the 'net associated with WebDAV systems that do not support file locking. Remember that this is a SHARED remote directory and the only controls (other than access control) is common sense. So make a sub-directory of the shared directory for things specific to your use (like putting your EclipseCDT workspace on it). Other than your read/write speeds being limited by your Internet connection (KnetConnect.com is on 10Gbs fiber, IPv4/IPv6) this mounted remote will work the same as any of your local directories. It will be a rare program that can tell the difference between the local and remote directories. This service does not support all of the fancy features of a true "Cloud", such as www.box.com, but it doesn't have the monthly fees either. Yes, Virgina, you can do the same on your Kindle if you don't mind changing system file contents. |
Thanks! I think I'll stick with using Nautilus for now.....
|
Quote:
It just describes another way of using it. If using a browser works for you, do it that way. |
*intrigue* I too connect with Nautlius but this is great info! Thanks
|
Failure message notes for dav2fs setup
Using an intentionally mis-configure WebDav 'kloud' -
Bottom line: It makes a difference if the server is set to auto-strip the 'www.' from the URL (KnetConnect.com is, others of mine are not). Code:
core2quad ~ $ mount ~/k3brokeCode:
core2quad ~ $ sudo chmod u+s /sbin/mount.davfsCode:
core2quad ~ $ mount ~/k3brokeCode:
core2quad ~ $ usermod -a -G davfs2 mszickCode:
core2quad ~ $ sudo usermod -a -G davfs2 mszickCode:
core2quad ~ $ idCode:
core2quad ~ $ mount ~/k3brokeBefore: Code:
# dav_user davfs2 # system wide config file onlyCode:
# dav_user davfs2 # system wide config file onlyCode:
core2quad ~ $ mount ~/k3brokeCode:
# /etc/fstab: static file system information.Code:
# /etc/fstab: static file system information.Code:
core2quad ~ $ mkdir -p kindle/kpw2davCode:
core2quad ~ $ mount kindle/kpw2davDirections are part of the configuration file. You must be 'root' to read or write to this file. Code:
**THIS ONE IS WRONG**Code:
**THIS ONE IS WRONG**Code:
core2quad ~ $ sudo less /etc/davfs2/secretsCode:
core2quad ~ $ mount kindle/kpw2dav |
Ha! So that was the reason for the 301 ;). Thanks :).
|
Quote:
I will have strong words with that web-master, next time I see him in the mirror. |
Kpw2 Mini-Kloud
:end:Both NiLuJe and I have experienced kernel filesystem deadlocks when using the davfs2 driver on series 3.x kernels.
Users might want to use that as a read-only driver until the problem is found. NiLuJe and I both use Konqueror (yes, you can install Konqueror on a non-KDE desktop system). Note: Konqueror expects the scheme to be webdav:// rather than http:// but other than that, it 'just works'. npoland is using whatever thingy that comes standard with MacOSx (Apple has great built-in support for WebDav). |
errr. I tried earlier (The 1st time I woke up) but was unable to remember my password.
3.8 kernel here. However the last time I tried my computer kept locking up (as you know) |
Quote:
You might have to stick with your favorite browser that does WebDav (Nautilus? Konqueror? Something else?) Will send you your credentials again - your going to want to see that tool chain and reference manuals (at least). |
right.
I'll go in via web for now. it was Nautilus / (pacmanFM?) I think on mint |
| All times are GMT -4. The time now is 05:53 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.