I typically mount the "drive" in question in Windows with an http://1.2.3.4/sharename
address. In Linux (Ubuntu 10.04), I tried adding the following entry to /etc/fstab to no avail:
http://1.2.3.4/sharename /mnt/sharename cifs username=myusername,password=mypassword 0 0
When I mount /mnt/sharename
, I see this error:
mount, wrong fs type, bad option, bad superblock on http://1.2.3.4/sharename
How can I mount this path in Ubuntu 10.04?
Best Answer
http:
is usually used for WebDAV shares, so:If you use Ubuntu, you'll probably have GNOME or KDE. Both accept URLs like
dav://host/path
in their file managers.(GNOME also lets you
gvfs-mount dav://address
from terminal.)If you want to skip the GVFS and Kio layers, you will want davfs.
(
cifs
, which you are trying to use, is purely for the Windows file sharing protocol.)