Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 51

Thread: [howto] Mount your Box.Net account using WebDAV

  1. #41
    Join Date
    May 2007
    Beans
    5

    Re: [howto] Mount your Box.Net account using WebDAV

    I have a strange problem with mounted box.com + rsync.
    Apparently, I succesfully uploaded (rsync'ed) 25GB of photos, but when I go to the web frontend (box.com), I see all the folder trees, some images, but most folders (the most recently uploaded) are empty.
    Even stranger, on my local machine I can open and view the images in the mounted (/media/box.com) device.

    I'm not a rsync expert, so maybe there's something I'm missing... can you help me?

    Thanks
    Federico

  2. #42
    Join Date
    May 2007
    Beans
    5

    Re: [howto] Mount your Box.Net account using WebDAV

    Quote Originally Posted by grana View Post
    I have a strange problem with mounted box.com + rsync.
    Apparently, I succesfully uploaded (rsync'ed) 25GB of photos, but when I go to the web frontend (box.com), I see all the folder trees, some images, but most folders (the most recently uploaded) are empty.
    Even stranger, on my local machine I can open and view the images in the mounted (/media/box.com) device.

    I'm not a rsync expert, so maybe there's something I'm missing... can you help me?

    Thanks
    Federico
    edit: solved... Too stupid to be true!

  3. #43
    Join Date
    Nov 2010
    Beans
    102
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: [howto] Mount your Box.Net account using WebDAV

    Thank you!

    works like a charm

    unfortunately, the Box.Net service is forever slow as it has always been, but that's a discussion for another topic



    Quote Originally Posted by rudametkin View Post
    I just setup my box.net and wanted to share the steps with anybody having trouble. I suppose you've installed davfs already.

    Create a mount point:
    Code:
    mkdir ~/box.net
    Add this to /etc/fstab (correct the details for your user):
    Code:
    http://www.box.net/dav /home/user/box.net davfs rw,user,noauto 0 0
    (Just as a note, https didn't work for me. It mounts but copied files never showed up. I saw something on their site about 256bit SSL encryption being available when you upgrade to business.)

    To allow your your user to mount without being root you want to say yes to this:
    Code:
    sudo dpkg-reconfigure davfs2
    Then add user to davfs2 group
    Code:
    sudo adduser $USER davfs2
    Let's configure davfs in your home directory
    Code:
    mkdir ~/.davfs2
    cp /etc/davfs2/davfs2.conf ~/.davfs2
    Add this to ~/.davfs2/davfs2.conf:
    Code:
    use_locks       0
    To avoid typing your login and password every time:
    Code:
    sudo cp /etc/davfs2/secrets ~/.davfs2
    sudo chown $USER ~/.davfs2/secrets
    Add your login and pass to ~/.davfs2/secrets:
    Code:
    http://www.box.net/dav	username@mail.com	password
    And finally mount:
    Code:
    mount ~/box.net
    I hope I didn't miss anything. I used some stuff originally found in french here: http://doc.ubuntu-fr.org/davfs2




    I've been running rsync for a little while and ever since I got the configuration correct (i.e., nolocks, http) I haven't had any trouble.

    On the other hand, I want better synchronization so instead of rsync (or even Unison) I'm thinking of using something like dvcs-autosync or SparkleShare because they use a git backend and provide version control (among other features), but I haven't figured out how to set it up so that I can put the "central" .git repo on my box.net. (Maybe it's really simple.) Also, lots of my files are photos & music and I'm not sure if using git on them is a good idea.

    http://www.syncany.org/ might be an interesting option, they say they provide synchronization for local folders (including nfs and fuse mounts) out of the box, but the project doesn't seem very mature yet.

    Any ideas?

  4. #44
    Join Date
    Jun 2012
    Beans
    4

    Hey guys I couldnt agree more...

    Thank you! works like a charm unfortunately, the Box.Net service is forever slow as it has always been, but that's a discussion for another topic Quote: Originally Posted by rudametkin I just setup my box.net and wanted to share the steps with anybody having trouble. I suppose you've installed davfs already. Create a mount point: Code: mkdir ~/box.net Add this to /etc/fstab (correct the details for your user): Code: http://www.box.net/dav /home/user/box.net davfs rw,user,noauto 0 0 (Just as a note, https didn't work for me. It mounts but copied files never showed up. I saw something on their site about 256bit SSL encryption being available when you upgrade to business.) To allow your your user to mount without being root you want to say yes to this: Code: sudo dpkg-reconfigure davfs2 Then add user to davfs2 group Code: sudo adduser $USER davfs2 Let's configure davfs in your home directory Code: mkdir ~/.davfs2 cp /etc/davfs2/davfs2.conf ~/.davfs2 Add this to ~/.davfs2/davfs2.conf: Code: use_locks 0 To avoid typing your login and password every time: Code: sudo cp /etc/davfs2/secrets ~/.davfs2 sudo chown $USER ~/.davfs2/secrets Add your login and pass to ~/.davfs2/secrets: Code: http://www.box.net/dav username@mail.com password And finally mount: Code: mount ~/box.net I hope I didn't miss anything. I used some stuff originally found in french here: http://doc.ubuntu-fr.org/davfs2 I've been running rsync for a little while and ever since I got the configuration correct (i.e., nolocks, http) I haven't had any trouble. On the other hand, I want better synchronization so instead of rsync (or even Unison) I'm thinking of using something like dvcs-autosync or SparkleShare because they use a git backend and provide version control (among other features), but I haven't figured out how to set it up so that I can put the "central" .git repo on my box.net. (Maybe it's really simple.) Also, lots of my files are photos & music and I'm not sure if using git on them is a good idea. http://www.syncany.org/ might be an interesting option, they say they provide synchronization for local folders (including nfs and fuse mounts) out of the box, but the project doesn't seem very mature yet. Any ideas?
    Hey guys,

    I couldn't agree more. I really don't get why more people just don't get it.

    Great post, keep it up.

    Cheers!

  5. #45
    Join Date
    Jun 2012
    Beans
    4

    Hey guys I couldnt agree more...

    Thank you ! Very nice Btw, Is there somethg else than box.net is there any good concurrents to this program ?? Pat' - I tried; works great !! I added -o rw but still cannot drag & drop (copy) from rox filer ... Is it normal ?? Thx
    Hey guys,

    I couldn't agree more. I really don't get why more people just don't get it.

    Great post, keep it up.

    Cheers!

  6. #46
    Join Date
    Jun 2012
    Beans
    4

    Hey guys I couldnt agree more...

    is this script safe? (sorry, I'm newbish).
    Hey guys,

    I couldn't agree more. I really don't get why more people just don't get it.

    Great post, keep it up.

    Cheers!

  7. #47
    Join Date
    Jun 2012
    Beans
    4

    Hey guys I couldnt agree more...

    Quote: Thank you ! Very nice Btw, Is there somethg else than box.net is there any good concurrents to this program ?? Pat' - I tried; works great !! I added -o rw but still cannot drag & drop (copy) from rox filer ... Is it normal ?? Thx Hey guys, I couldn't agree more. I really don't get why more people just don't get it. Great post, keep it up. Cheers!
    Hey guys,

    I couldn't agree more. I really don't get why more people just don't get it.

    Great post, keep it up.

    Cheers!

  8. #48
    Join Date
    Jan 2008
    Beans
    Hidden!

    Re: [howto] Mount your Box.Net account using WebDAV

    Has anyone taken the extra step to use encfs with this? I'm trying, but apparently the davfs doesn't like filenames beginning with a period (i.e. ".foo"). Encfs uses a hidden file to store information and it fails silently when setting it up. I just happened to try creating a hidden file in my box.com directory and discovered this was the issue:

    PHP Code:
    cd box.com
    touch 
    .foo
    touch
    cannot touch `.foo': No such file or directory 

  9. #49
    Join Date
    Jul 2011
    Beans
    3

    How to solve the davfs2 error: "...authenticate to server: rejected Basic challenge"

    To All-

    I wated to take a moment and post this solution since I was working on the problem for most of the day today.

    When I would type:

    Code:
    mount box.com
    I would get this response:

    Code:
    /sbin/mount.davfs: Mounting failed.
    Could not authenticate to server: rejected Basic challenge
    This was the solution:

    gksudo gedit /etc/davfs2/davfs2.conf

    Add the following to davfs2.conf:

    dav_group users
    use_locks 0

    Then type:

    Code:
    sudo addgroup <yourusername> users
    Then do:

    Code:
    sudo apt-get update
    sudo apt-get install cadaver
    Then do:

    Code:
    cadaver -t https://www.box.net/dav
    Login with your Box.com Username and Password once you sucessfully authenticate type 'quit' to exit from the session.

    Finally, you will be able to sucessfully do:

    Code:
    sudo mount box.com
    That is it! The bottom line is that most of the toutorials miss adding your name to the user group and finally installing cadaver. I do not understand why davfs2 requires cadaver, I suspect it calls to the cadaver module in the backgroud and if it is missing davfs2 has no way to authenticate ssl.

    My system is Kabuntu 12.10 32-bit just in case another user requires this informtion. Thank you for having this thread available to us!

  10. #50
    Join Date
    Dec 2007
    Beans
    34

    Re: How to solve the davfs2 error: "...authenticate to server: rejected Basic challen

    Anyone notice that when box.net is mounted via webdav that it shows you have 26GB of storage with 13GB already used?

    On their website it shows that I have 50GB on only 8.5MB in use

    Why the difference?

    Code:
    % df -h
    .
    .
    .
    https://www.box.com/dav     26G   13G   13G  50% /media/box.net
    .
    .
    .

Page 5 of 6 FirstFirst ... 3456 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •