Hi all,
I have a HiDrive at Strato.com (100 GB, a paid one so I have a several connect options).
I can upload files if I login at hidrive.strato.com and it also worked for me to use FTP, but i would like to mount a folder and that should be possible with webdav. Because then its safe and simple to drag and drop files.
But unfortunately, after hours of try this and that, i did not succeed in mounting it yet
At Strato i have downloaded this script:
#!/bin/sh
mkdir -p /mnt/webdav.myfolder
mount -t davfs https://webdav.hidrive.strato.com/ /mnt/webdav.myfolder
Then i read at Strato that davfs2 has to be installed. Since iam not familiar to install tar.gz i searched for the davfs2.pet and found it here:
http://www.smokey01.com/jemimah/pet/
So i installed the davfs2-1.4.6-i486.pet file.
After installing this file and running the script, the folder /mnt/webdav.myfolder was made.
I expect a popup will appear where name and password can be entered, but that does not appear.
So i added this in the script:
mount -t davfs https://webdav.hidrive.strato.com/ /mnt/webdav.myfolder -o user=myusername pass=mypassword
Unfortunately it does not mount yet.
My knowledge ends here at the moment....
Hopefully someone can help me.
Kind regards, Kees
HiDrive mount (From Strato)
- DutchPuppy
- Posts: 46
- Joined: Sun 14 Aug 2011, 15:47
- Location: Vlaardingen, South-West of Netherlands
wow ! i would have thought that file system things have to be compiled with the kernel but after reading http://en.wikipedia.org/wiki/Davfs2 it should work with fuse .
for kernel things i would reboot after installing and
mount -o user=$USER,pass=$PASS <_ use the comma !
for kernel things i would reboot after installing and
mount -o user=$USER,pass=$PASS <_ use the comma !
- DutchPuppy
- Posts: 46
- Joined: Sun 14 Aug 2011, 15:47
- Location: Vlaardingen, South-West of Netherlands
Ok, so there is fuse.
I found fuse 2.7.0 pet and installed it, rebooted
Should that be ok?
Then tried to mount
mount -t https://webdav.hidrive.strato.com/ /mnt/webdav.myfolder -o user=$username,pass=$password
But then the result is that i get all the mount options.
[edit] i searched more on fuse and think i should user fusermount?
Iam sorry that iam not familiar with this yet!
I found fuse 2.7.0 pet and installed it, rebooted
Should that be ok?
Then tried to mount
mount -t https://webdav.hidrive.strato.com/ /mnt/webdav.myfolder -o user=$username,pass=$password
But then the result is that i get all the mount options.
[edit] i searched more on fuse and think i should user fusermount?
Iam sorry that iam not familiar with this yet!
is fuse kernel module loaded ?
USER='DutchPuppy'
PASS='DutchPuppy's password'
maybe the puppy mount script does not work ?
it should mount-FULL :
what happens if you
mount-FULL -t davfs -o user="$USER",pass ....
-t http: should result in error
maybe its -t dav2fs or -t davfs2
btw reading the man page of mount :
-t vfstype
The argument following the -t is used to indicate the file sys-
tem type. The file system types which are currently supported
include: adfs, affs, autofs, cifs, coda, coherent, cramfs,
debugfs, devpts, efs, ext, ext2, ext3, hfs, hfsplus, hpfs,
iso9660, jfs, minix, msdos, ncpfs, nfs, nfs4, ntfs, proc, qnx4,
ramfs, reiserfs, romfs, smbfs, sysv, tmpfs, udf, ufs, umsdos,
usbfs, vfat, xenix, xfs, xiafs. Note that coherent, sysv and
xenix are equivalent and that xenix and coherent will be removed
at some point in the future -- use sysv instead. Since kernel
version 2.1.21 the types ext and xiafs do not exist anymore.
Earlier, usbfs was known as usbdevfs. Note, the real list of
all supported filesystems depends on your kernel.
maybe davfs not supported by mount-FULL binary ?
also i only find the user and users option (without '=') , no password option ..
probably needs
_netdev
The filesystem resides on a device that requires network
access (used to prevent the system from attempting to
mount these filesystems until the network has been
enabled on the system).
my man page is from 2004 and likely not up to date
USER='DutchPuppy'
PASS='DutchPuppy's password'
maybe the puppy mount script does not work ?
it should mount-FULL :
what happens if you
mount-FULL -t davfs -o user="$USER",pass ....
-t http: should result in error
maybe its -t dav2fs or -t davfs2
btw reading the man page of mount :
-t vfstype
The argument following the -t is used to indicate the file sys-
tem type. The file system types which are currently supported
include: adfs, affs, autofs, cifs, coda, coherent, cramfs,
debugfs, devpts, efs, ext, ext2, ext3, hfs, hfsplus, hpfs,
iso9660, jfs, minix, msdos, ncpfs, nfs, nfs4, ntfs, proc, qnx4,
ramfs, reiserfs, romfs, smbfs, sysv, tmpfs, udf, ufs, umsdos,
usbfs, vfat, xenix, xfs, xiafs. Note that coherent, sysv and
xenix are equivalent and that xenix and coherent will be removed
at some point in the future -- use sysv instead. Since kernel
version 2.1.21 the types ext and xiafs do not exist anymore.
Earlier, usbfs was known as usbdevfs. Note, the real list of
all supported filesystems depends on your kernel.
maybe davfs not supported by mount-FULL binary ?
also i only find the user and users option (without '=') , no password option ..
probably needs
_netdev
The filesystem resides on a device that requires network
access (used to prevent the system from attempting to
mount these filesystems until the network has been
enabled on the system).
my man page is from 2004 and likely not up to date
- DutchPuppy
- Posts: 46
- Joined: Sun 14 Aug 2011, 15:47
- Location: Vlaardingen, South-West of Netherlands
Gutentag Nachbar! (hi neighbor)
I slept yesterday, only today i saw you are from Germany...
The suggested commands with davfs did not work and honestly speaking i do not know if the kernel supports the things I want. Iam using Slacko 5.3 btw.
Karl, anyhow thanks a lot for your time until now, but i did not succeed yet.
Tonight read that sshfs is needed, so i searched and installed it.
After you asked me whether the fuse was loaded, i searched how to load it and found modprobe fuse.
So at the command line :
modprobe fuse
Then i tried:
sshfs myusernam@webdav.hidrive.strato.com:/users/mydomain/ /mnt/webdav.myfolder
but that results in connection reset by peer...
I use Puppy quite a long time and in fact i cannot without it, its a kind of addiction, pretty weird, but i have to learn a lot regarding this kind of things...
Iam going to browse this forum to see if there is more information about fuse. Iam sure you pushed me in the correct direction.
If I found it, i will certainly write and any hints are still welcome of course!
Vielen Dank, thanks a lot,
Kees
I slept yesterday, only today i saw you are from Germany...
The suggested commands with davfs did not work and honestly speaking i do not know if the kernel supports the things I want. Iam using Slacko 5.3 btw.
Karl, anyhow thanks a lot for your time until now, but i did not succeed yet.
Tonight read that sshfs is needed, so i searched and installed it.
After you asked me whether the fuse was loaded, i searched how to load it and found modprobe fuse.
So at the command line :
modprobe fuse
Then i tried:
sshfs myusernam@webdav.hidrive.strato.com:/users/mydomain/ /mnt/webdav.myfolder
but that results in connection reset by peer...
I use Puppy quite a long time and in fact i cannot without it, its a kind of addiction, pretty weird, but i have to learn a lot regarding this kind of things...
Iam going to browse this forum to see if there is more information about fuse. Iam sure you pushed me in the correct direction.
If I found it, i will certainly write and any hints are still welcome of course!
Vielen Dank, thanks a lot,
Kees
I had french and english at school and denmark is my neighbor .. but there is
"Friedrichstadt" associated with dutch in my county ; but i have never been there .
Lower saxony may know more about
http://nl.wikipedia.org/wiki/Kruistocht ... Stedingers
i know because of
http://www.militaerundgeschichte.de/hef ... nr-37.html
i once bought because of the article about the "vow" .
I like
http://en.wikisource.org/wiki/1911_Ency ... ,_Claudius
who had given the roman empire (big city) some defeats .
For everything else i wish you good luck .
"Friedrichstadt" associated with dutch in my county ; but i have never been there .
Lower saxony may know more about
http://nl.wikipedia.org/wiki/Kruistocht ... Stedingers
i know because of
http://www.militaerundgeschichte.de/hef ... nr-37.html
i once bought because of the article about the "vow" .
I like
http://en.wikisource.org/wiki/1911_Ency ... ,_Claudius
who had given the roman empire (big city) some defeats .
For everything else i wish you good luck .
- DutchPuppy
- Posts: 46
- Joined: Sun 14 Aug 2011, 15:47
- Location: Vlaardingen, South-West of Netherlands
I made some progress, anyhow i can see the contents of my hidrive in my local folder. Iam not sure if iam having the ideal setting but at least i see the content, can read, copy, paste and delete files. I only get errors when copying from the local to the hidrive, but i guess that still got something to do with permissions on the remote drive.
Summary; i am using Slacko 5.3. Installed fuse-2.7.0.pet and
sshfs-fuse-2.2.pet
Made a new directory /mnt/hidrive
And changed permissions executable, read, write
In terminal
sshfs mydomain@rsync.hidrive.strato.com:/users/mydomain/ /mnt/hidrive
Then is asks for the password. After entering the password the content is shown in /mnt/hidrive
So far so good.
to unmount
fusermount -u /mnt/hidrive
Anyhow i still get errors if I want to copy files from the local drive to the hidrive remote disk. But it does place the files on the remote drive despite the errors.
Now hope i can get it automatically mounted with a script....
Summary; i am using Slacko 5.3. Installed fuse-2.7.0.pet and
sshfs-fuse-2.2.pet
Made a new directory /mnt/hidrive
And changed permissions executable, read, write
In terminal
sshfs mydomain@rsync.hidrive.strato.com:/users/mydomain/ /mnt/hidrive
Then is asks for the password. After entering the password the content is shown in /mnt/hidrive
So far so good.
to unmount
fusermount -u /mnt/hidrive
Anyhow i still get errors if I want to copy files from the local drive to the hidrive remote disk. But it does place the files on the remote drive despite the errors.
Now hope i can get it automatically mounted with a script....
- DutchPuppy
- Posts: 46
- Joined: Sun 14 Aug 2011, 15:47
- Location: Vlaardingen, South-West of Netherlands
Fount a script in the forum to connect the remote drive like this:
echo 'mypassword' | sshfs mydomain@rsync.hidrive.strato.com:/users/mydomain/ /mnt/hidrive -o workaround=rename -o password_stdin
But if i unmount it with umount /mnt/hidrive or fusermount -u /mnt/hidrive and want to mount it again with mount -t /mnt/hidrive and entering the above mentioned script again, it does not show content. Then if i change the permissions on the /mnt/hidrive folder with chmod 777 /mnt/hidrive it sometimes shows the contents, but sometimes also not. I am sure i miss something or do something wrong, but i did not find out yet what.
Is there someone who might know?
Unfortunately i do not know yet how to handle tgz2pet and wonder if there is someone who has the most actual fuse 2.8.x and sshfs-fuse 2.3 available in a pet?
replies are much appreciated!
echo 'mypassword' | sshfs mydomain@rsync.hidrive.strato.com:/users/mydomain/ /mnt/hidrive -o workaround=rename -o password_stdin
But if i unmount it with umount /mnt/hidrive or fusermount -u /mnt/hidrive and want to mount it again with mount -t /mnt/hidrive and entering the above mentioned script again, it does not show content. Then if i change the permissions on the /mnt/hidrive folder with chmod 777 /mnt/hidrive it sometimes shows the contents, but sometimes also not. I am sure i miss something or do something wrong, but i did not find out yet what.
Is there someone who might know?
Unfortunately i do not know yet how to handle tgz2pet and wonder if there is someone who has the most actual fuse 2.8.x and sshfs-fuse 2.3 available in a pet?
replies are much appreciated!
- DutchPuppy
- Posts: 46
- Joined: Sun 14 Aug 2011, 15:47
- Location: Vlaardingen, South-West of Netherlands
Solved for me at the moment
Ok, it works for me now in Slacko 5.3:
Installed fuse and sshfs ( right now the available fuse-2.7.0.pet and sshfs-fuse-2.2.pet )
From the command line:
echo 'mypassword'|sshfs mydomain@sftp.hidrive.strato.com:/users/mydomain ~/hidrive -o password_stdin
Where mydomain is the name of the hidrive domain and ~/hidrive is the folder in the root directory.
That worked. The hidrive folder was mounted and showed content of the remote server at Strato.
Now had to automate it so it will auto mount when the pc is switched on.
In the folder my-documents i made a new script:
#!/bin/sh
echo 'mypassword'|sshfs mydomain@sftp.hidrive.strato.com:/users/mydomain ~/hidrive -o password_stdin
saved the script as "mount-hidrive" and copied it to the startup folder in root. After switch on the pc the ~/hidrive folder is mounted automatically and can work with it.
The only thing is that if copying files to the hidrive folder error messages are shown like
cp: failed to preserve ownership for `/root/hidrive/filename': Permission denied Failed to copy '/mnt/sda2/filename'
It does not really matter because files are copied, but have to find out how to get rid of the error message.
Installed fuse and sshfs ( right now the available fuse-2.7.0.pet and sshfs-fuse-2.2.pet )
From the command line:
echo 'mypassword'|sshfs mydomain@sftp.hidrive.strato.com:/users/mydomain ~/hidrive -o password_stdin
Where mydomain is the name of the hidrive domain and ~/hidrive is the folder in the root directory.
That worked. The hidrive folder was mounted and showed content of the remote server at Strato.
Now had to automate it so it will auto mount when the pc is switched on.
In the folder my-documents i made a new script:
#!/bin/sh
echo 'mypassword'|sshfs mydomain@sftp.hidrive.strato.com:/users/mydomain ~/hidrive -o password_stdin
saved the script as "mount-hidrive" and copied it to the startup folder in root. After switch on the pc the ~/hidrive folder is mounted automatically and can work with it.
The only thing is that if copying files to the hidrive folder error messages are shown like
cp: failed to preserve ownership for `/root/hidrive/filename': Permission denied Failed to copy '/mnt/sda2/filename'
It does not really matter because files are copied, but have to find out how to get rid of the error message.