![]() |
Mounting as mass storage over WiFi?
Since there is no DropBox, LiveMesh, etc. implementation on Maemo Is there a way to sync a folder on my desktop to my n810 over WiFi? I'm thinking of something like MS's SyncToy, but that requires mounting the IT as mass storage.
What I envision is this: When I join my home network my n810 mounts as mass storage and files are synced or copied automatically. Even if it's just one way, it would be nice to have access to my work files and research papers while away from a wireless access point. If there's already a solution for this I'd love to hear about it. |
Re: Mounting as mass storage over WiFi?
You can try Conduit. However it's still in development (beta) and I haven't gotten it to work myself (but others have).
|
Re: Mounting as mass storage over WiFi?
Unison is a good one, I'm not sure if it has been ported to Maemo.
|
Re: Mounting as mass storage over WiFi?
You should be able to do this over ssh. Install openssh-server on your tablet, and you can connect to the tablet and mount it as a drive. You may need extra software to do this from Windows (I use Linux, which has the capability built in, so I don't have any recommendations). After that, any software that can sync folders will do the rest.
Conduit would probably be better, but that package is out of date and missing dependancies, and I can't find a new one. |
Re: Mounting as mass storage over WiFi?
It doesn't look like Unison is available for OS2008 (but is for '06), and Conduit doesn't look complete enough to mess with.
SSH seems like a good option. I don't know if it's possible to automatically mount when I'm on my home network, but I could always get it to be a one-click solution. Thanks. |
Re: Mounting as mass storage over WiFi?
For Windows users, check ExpanDrive (39$). In combination with OpenSSH on the tablet, this works perfectly.
|
Re: Mounting as mass storage over WiFi?
You can use sshfs on the tablet to mount network drives on the tablet, but I haven't really tried it the other way around. I've always seen the tablet as a much better client than server. But there's no reason why you can't use sshfs the other way around on another Linux machine to mount tablet directories.
|
Re: Mounting as mass storage over WiFi?
Quote:
|
Re: Mounting as mass storage over WiFi?
Conler + rsync sounds like it would handily do the one way sync you described.
|
Re: Mounting as mass storage over WiFi?
Quote:
|
Re: Mounting as mass storage over WiFi?
Okay, quick (or not so) compiled Unison for Maemo. Works, but no program menu item for now so start it from console or with some kind of run (like osso-statusbar-cpu). In time I'll add a menu item and try to hildonize it (which may be problematic since this thing is written in Ocaml+LablGTK). Requires ssh/rsh to run.
Screenshot of a configured two way sync between N800 and my Eee. http://www.bundyo.org/maemo/unison/unison.png Console version: http://www.bundyo.org/maemo/unison/u...57-2_armel.deb 1.3mb GTK version /can work like console too/: http://www.bundyo.org/maemo/unison/u...57-2_armel.deb 1.6mb Have fun :) P.S. Just to mention to those who don't know - you need installed Unison 2.27.57 on the other side to successfully connect. P.P.S. On a side note - Tear gave me the chance to save the file instead of sending the request, but it seems that the request was still sent... Maybe the Content-Type of the response confuses it. |
Re: Mounting as mass storage over WiFi?
Unison need not run on the tablet with a Linux system it only need run on the desktop PC. For example when you connect the tablet via USB both the internal and removeable drive are mounted as folders which Unison should be able to sync with. The main 256KB storage of the tablet wouldn't be available this way. Using WiFi to mount folders may create others issues relating to WiFi power saving and transactions initiated from the PC. You would likely need to disable power saving when performing a synch from the PC. This would still leave open the requirement for NFS on the tablet which may already be available.
|
Re: Mounting as mass storage over WiFi?
Hrm.. I installed Unison in Ubuntu, do I need it on the tablet too? I have a folder called Sync on the laptop and I want it to sync with a folder called Sync on the Nokia n800. But when I try to use the ssh (I have a key with passwordless entry) it just errors out.
|
Re: Mounting as mass storage over WiFi?
You should have Unison on both places if you want to sync through ssh. In fact Unison works by logging in through ssh/rsh and running its remote executable to gather and return the remote file stats. Then it probably uses scp/rcp to copy them after you confirm. You can also do the sync automatically, assign specific merger for different files or special action on others. Check its documentation - its a rather powerful tool.
|
Re: Mounting as mass storage over WiFi?
interesting application manager said it is an incompatible package.
|
Re: Mounting as mass storage over WiFi?
Nice to see there are options out there.
Does anyone know if there's something like this for bluetooth? In getting BlueMaemo working on my laptop I've found it connects nicely. If there was an automated way to copy or sync files to the tablet then proximity to the laptop would be even better than having to be on the on the home network. |
Re: Mounting as mass storage over WiFi?
wifi-connection handler and rsync should get the job done.
|
Re: Mounting as mass storage over WiFi?
Quote:
|
Re: Mounting as mass storage over WiFi?
Quote:
rsync -avz -e ssh user@192.168.1.103:/media/mmc1/Sync/ /home/vforviktor/Sync/ I have that working now, I'm guessing once I get it working I'll just throw it onto a crontab or wifi-connection handler For example: I have a notecase file on my tablet and my laptop. I want rsync to copy whichever file is newer over to the other one. So if the tablet is newer, copy to laptop. If latpop is newer, copy to tablet. Edit: And Bundyo could you get Unison working for me? I've been reading up on various literature. Rsync does support multi directional sync in both ways but only by modification date. So if I edit the file on both sides, it still only does it by the latest date with the -u option. Unison on the other hand uses rsync but keeps other data (I guess hash size?) and can tell when both files have been editted. In that case it apparantly asks you what you want to do. Edit: Got it working (two way rsync...though it's not ideal, it's basically running two rsync commands). Edit3: Now the question is to get rsync over ssh to work from my tablet to my laptop (say via wifi-connection handler do I need to install openssh server on my laptop?). Or can I do it with the tablet being the server and the client being the laptop? |
All times are GMT. The time now is 00:28. |
vBulletin® Version 3.8.8