Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old June 24th, 2006   #1
pingflood
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 9
[howto] Mount your Box.Net account using WebDAV

Hello!

You can mount your Box.Net account to easily upload/download files.

First, install davfs2:

Code:
# apt-get install davfs2
Now, create the mount directory:

Code:
# mkdir /media/box.net
and mount:

Code:
# mount -t davfs http://www.box.net/dav /media/box.net
Insert your username and password and it's done!

You can also put your username/password in /etc/davfs2/secrets

Code:
echo "http://www.box.net/dav   username   password" >> /etc/davfs2/secrets
So, mount will not ask for username/password.

Also, Konqueror can access Box.Net directly using the WebDAV protocol:

Code:
webdav://www.box.net/dav
(I think the protocol is just "dav://" in Nautilus)

If you want a Free Box.Net account,
Box.Net

Tested in Kubuntu Dapper Drake 6.06

More info and options:
Code:
$ man mount.davfs
Regards,
Ping Fløød
#356111
pingflood is offline   Reply With Quote
Old July 3rd, 2006   #2
patrick295767
Chocolate Ubuntu Mocha Blend
 
patrick295767's Avatar
 
Join Date: Sep 2005
Beans: 1,876
Send a message via ICQ to patrick295767 Send a message via Yahoo to patrick295767
Re: [howto] Mount your Box.Net account using WebDAV

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
__________________
How to install LINUX for Newbies, here my Website !!
cvscedega quick install [4]
Debian Stable, Etch = High Stability and no bugs
Ubuntu (based on sidux, unstable Debian) for a quick introduction to Linux

Last edited by patrick295767; July 3rd, 2006 at 01:49 PM..
patrick295767 is offline   Reply With Quote
Old July 3rd, 2006   #3
tcort
First Cup of Ubuntu
 
Join Date: Oct 2005
Location: Williamstown, VT, USA
Beans: 11
Ubuntu 8.04 Hardy Heron
Send a message via ICQ to tcort Send a message via AIM to tcort Send a message via MSN to tcort Send a message via Yahoo to tcort Send a message via Skype™ to tcort
Re: [howto] Mount your Box.Net account using WebDAV

Wow, Box.net is really cool. Thanks for posting the howto.
tcort is offline   Reply With Quote
Old July 3rd, 2006   #4
joakim2
Just Give Me the Beans!
 
Join Date: Mar 2005
Location: Los Angeles
Beans: 51
The Feisty Fawn Testing
Send a message via MSN to joakim2
Re: [howto] Mount your Box.Net account using WebDAV

Hmm.... this seems to be doing some really strange things... Copying a picture into the /media/box.net/ folder seems to work, using mv to move the picture it has suddenly disappeared (though it's now showing in the web interface but without a name...) I would be careful with this service
joakim2 is offline   Reply With Quote
Old July 3rd, 2006   #5
naked
Gee! These Aren't Roasted!
 
naked's Avatar
 
Join Date: Jul 2005
Beans: 184
The Feisty Fawn Testing
Re: [howto] Mount your Box.Net account using WebDAV

I was trying to do this via "Connect to server" in the places menu and kept having trouble, how should I put the settings in there? I'd like the keyring to manager my password for this and also auto connect for me.

Is this possible?

L
naked is offline   Reply With Quote
Old July 4th, 2006   #6
patrick295767
Chocolate Ubuntu Mocha Blend
 
patrick295767's Avatar
 
Join Date: Sep 2005
Beans: 1,876
Send a message via ICQ to patrick295767 Send a message via Yahoo to patrick295767
Re: [howto] Mount your Box.Net account using WebDAV

Quote:
Originally Posted by naked
I was trying to do this via "Connect to server" in the places menu and kept having trouble, how should I put the settings in there? I'd like the keyring to manager my password for this and also auto connect for me.

Is this possible?

L
For the autoconnect, I guess the regular /etc/fstab would work ...
then, you can play with permissions.


And, to mount the google box, is it the same way ?
__________________
How to install LINUX for Newbies, here my Website !!
cvscedega quick install [4]
Debian Stable, Etch = High Stability and no bugs
Ubuntu (based on sidux, unstable Debian) for a quick introduction to Linux

Last edited by patrick295767; July 4th, 2006 at 07:56 AM..
patrick295767 is offline   Reply With Quote
Old July 5th, 2006   #7
gThree
Just Give Me the Beans!
 
Join Date: Jul 2006
Beans: 60
Re: [howto] Mount your Box.Net account using WebDAV

@naked | anyone else:

Nautilus File Browser >> File >> Connect To Server
or
Start Menu >> Places >> Connect To Server

then

Code:
Service type = Secure WebDAV (HTTPS)
Server = www.box.net
Port = [leave blank]
Folder = dav
User Name = [optional, log-in will prompt for it]
Name To Use For Connection = ["boxnet" or whatever label you prefer]
note:
Like joakim2 had very mixed experience with above in Ubuntu Dapper/Power PC (G4). Had error with davfs2. Worked great with Kubuntu Dapper/Konqueror on same machine ... faster than Box.Net web access, split-pane interface, notifications ... suddenly a very useful service. Bookmarked. Used following to access:

Code:
webdavs://box.net/dav [certificate throws error]
or
webdav://box.net/dav
Haven't used Box.Net long enough to comment on quality of service itself, but so far so good.

@patrick295767:
When I checked around a month or so ago, Box.Net looked like best free option in terms of space, access and single upload size.

Hope that helps ....
gThree is offline   Reply With Quote
Old July 7th, 2006   #8
gThree
Just Give Me the Beans!
 
Join Date: Jul 2006
Beans: 60
Re: [howto] Mount your Box.Net account using WebDAV

Add:

Had best results in Ubuntu with Cadaver, a command-line webDAV client. Fast, simple. Could only get it to work with HTTP access.
gThree is offline   Reply With Quote
Old September 28th, 2006   #9
twelve17
5 Cups of Ubuntu
 
Join Date: Sep 2006
Beans: 17
Cool Re: [howto] Mount your Box.Net account using WebDAV

I was having trouble mounting dav shares as a local user:

Code:
/usr/lib/mount.davfs-2.6: Can't get root permissions, maybe program is not setuid
I verified that the folders I created for the local mount points are readable by the user. I would prefer to not have to make the program SUID, but I had to in order for it to allow normal users to mount:

Code:
foo@myhost:/$ sudo chmod u+s /usr/lib/mount.davfs-2.6
I couldn't think of any other ways to do this, as the man page states that the files are owned by the user who mounted the resource, which would mean that root would always own them.
twelve17 is offline   Reply With Quote
Old October 1st, 2006   #10
PartickThistle
5 Cups of Ubuntu
 
Join Date: Apr 2006
Beans: 37
Re: [howto] Mount your Box.Net account using WebDAV

Quote:
Originally Posted by pingflood View Post
Hello!

You can mount your Box.Net account to easily upload/download files.
Are you donating the money from your referrals to Ubuntu/Open Source projects?
PartickThistle is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:02 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry