Box.net via WebDAV on Fedora 16


I was lucky enough to get a free 50GB box.net account. 50GB is alot!. However, the catch, individual files can’t exceed 100mb each. lol

I mainly use my box.net to hold eBooks for later access on my Laptop and Android devices.

There is no free client for Linux so I use WebDAV instead. It’s slower but it works.

Start by installing davfs2.
# sudo yum install davfs2
Create your Box.net directory
# mkdir ~/Box.net
Create the davfs2 config directory. It’s in your home dir so it’s not system wide.
# mkdir ~/.davfs2
Disable locking. Causes issues sometimes.
# cd ~/.davfs2
# echo "use_locks 0" > davfs2.conf

Create a secret file to hold your box.net login details. Make sure to “chmod 600 the file”
# echo "https://www.box.net/dav [you box.net login] [your box.net password]" > secrets
# chmod 600 secrets

Backup and update your /etc/fstab file to include your box.net directory.
# cp /etc/fstab /etc/fstab.ori
# echo "https://www.box.net/dav /home/danesh/Box.net davfs rw,user,noauto 0 0" >> /etc/fstab

Mount and you should be able to list ~/Box.net
# mount ~/Box.net
# ls -l ~/Box.net

This is the hard way to do this. I will post a simpler method using Nautilus in a future post.

  • anand vamsi

    Hi danish.

    The tip was really useful. you can use the same in the nautilus too using connect to sever option under file tap

© 2008-2012 The Danesh Project
Powered by Wordpress and made by Guerrilla. Hosted at ServerFreak