Mounting box.net account on Ubuntu

For those who don't know, box.net is offering 50GB of free storage to iPad and iPhone users for a limited time. I signed up for an account and wanted to access this 50GB from my headless linux box. Box.net offers access through WebDAV so the first thing I tried was mounting via davfs2. Mounting worked but I was unable to access any of my directories. File access was fine but creating a directory resulted in an html file instead. 

As a workaround, I stumbled across a FUSE filesystem called boxfs. Mounting my box.net account via boxfs works great and everything is working as it should. Here's how I got it working:

  1. Install dependencies: $ sudo apt-get install libxml2-dev libfuse-dev libcurl4-gnutls-dev libzip-dev fuse-utils
  2. Compile and install libapp: 
    • $ git clone http://github.com/drotiro/libapp.git
    • $ cd libapp
    • $ make
    • $ sudo make install
  3. Compile and install boxfs:
    • $ svn co http://boxfs.googlecode.com/svn/trunk/ boxfs
    • $ cd boxfs
    • $ vi Makefile (add -D_FILE_OFFSET_BITS=64 to the end of the FLAGS line)
    • $ make
    • $ sudo make install
    • $ sudo ldconfig
  4. Create box config file ($ vi ~/.boxfs) and add the following info:
  5. username = email@domain.com
    mountpoint = /mnt/box.net
    verbose = yes
    secure = yes
    password = password
    largefiles = yes
  6. Change permission of config file: $ chmod 600 ~/.boxfs
  7. Create the mountpoint you specified in the config file: $ sudo mkdir /mnt/box.net
  8. Mount the directory: $ boxfs -f ~/.boxfs

Meta

Published: Oct. 25, 2011

Author: Jared Hobbs

Comments:  

Word Count: 217

Next: New site for my Python code

Previous: Install OS X Client as a guest inside VMWare Fusion 4

Bookmark and Share

Tags

50gb box.net boxfs davfs2 free fuse linux

Comments powered by Disqus
  • From our blogs...

    • No solo cuando es conveniente para ti...
    • Updated: Aug. 5, 2011, 1:53 p.m.

      Ya no me voy a estresar mas por problemas de nadie. Como dice Jared: "Solo enforcarme en mi familia" ...

    • 26 going on 62.
    • Updated: Aug. 4, 2011, 9:33 p.m.

      No creo que soy la unica que ha deseado verse mas adulta cuando era mas joven. Por alguna razon nadie me tomaba muy enserio aunque yo estaba casada po...

    • Ya.
    • Updated: July 11, 2011, 6:43 p.m.

      Siempre hay gente con una mala vibra. Gente que no se cansa de hablar caca, mi hermana por ejemplo escribiendo que yo me busque una vida porque yo nad...

    • Pictures of us at Sam and Kiley's Wedding.
    • Updated: July 7, 2011, 5:59 p.m.

      Jacob and Shauna took some pictures of us at the temple for Sam's wedding.  Today, Jacob sent me these beautiful pictures of us but I didn't get ...

    • Hola otra vez.
    • Updated: July 2, 2011, 11:45 p.m.

      Hoy me siento mucho mejor. No creo que tener malos sentimientos o pensar en venganza sea mi estilo.  Aunque yo quiera no soy una de esas personas...

    More posts...

  • Tag Cloud


  • Twitter updates

    • Jared
    • Finished the first episode of Downton Abbey. Not bad.

      posted about 2 days ago

    • Jenny
    • Jared and his boys reading a bed time story http://t.co/x78m9Q5n

      posted about 79 days ago

  •  

    Copyright © 2012 Jared Hobbs. All rights reserved.