Difference between revisions of "Dropbox Syncing"

From WebOS Internals
Jump to: navigation, search
(How to install)
Line 2: Line 2:
  
 
== Overview ==
 
== Overview ==
Dropbox is a service that allows syncing files/folders across many computers.  This is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has dropbox installed and syncs the files to that PC's dropbox folder.
+
Dropbox is a service that allows syncing files/folders across many computers.  This is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.
  
 
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info.]
 
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info.]
Line 19: Line 19:
  
 
- A dropbox account with client running on a Windows PC<br>
 
- A dropbox account with client running on a Windows PC<br>
- Need to know the IP address of the PC with dropbox client<br>
+
- Need to know the local IP address of the PC with dropbox client<br>
 
- Helps to know how to setup Windows print/filesharing<br>
 
- Helps to know how to setup Windows print/filesharing<br>
 
-- though the wizard walks you through setup
 
-- though the wizard walks you through setup
Line 44: Line 44:
  
 
- dbx) Dropbox Menu
 
- dbx) Dropbox Menu
 +
 +
Find the IP address of the computer with dropbox before continue.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.
  
 
- dbi) dropbox initial setup
 
- dbi) dropbox initial setup
  
more later
+
Once installed, run a manual sync.
 +
 
 +
- plg)
 +
 
 +
- dbx)
 +
 
 +
- dsn) dropbox sync now
 +
 
 +
== Where to find your files on webos ==
 +
 
 +
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.
 +
 
 +
webos inbox and outbox locations:<br>
 +
/media/internal/dropbox/inbox<br>
 +
/media/internal/dropbox/outbox
 +
 
 +
Drop a file on webos outbox and it will appear on Windows inbox.<br>
 +
Drop a file on Windows outbox and it will appear on webos inbox.<br>
 +
 
  
 
== Details on what is setup ==
 
== Details on what is setup ==
 
These are the configuration files involved if you want to make manual changes.
 
These are the configuration files involved if you want to make manual changes.
  
 +
On the webos device: <br>
 +
 +
This is where to drop off or pickup dropbox files on webos:<br>
 +
/media/internal/dropbox/inbox <br>
 +
/media/internal/dropbox/outbox<br>
 +
 +
Edited:<br>
 
/etc/fstab<br>
 
/etc/fstab<br>
 
/etc/hosts<br>
 
/etc/hosts<br>
 
/var/spool/cron/crontabs/root
 
/var/spool/cron/crontabs/root

Revision as of 18:50, 31 January 2010

Page under construction

Overview

Dropbox is a service that allows syncing files/folders across many computers. This is a way to sync a webOS device to Dropbox. This is not a native dropbox client. It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.

Signup free here or see for more info.

How this method works

This uses Xorg Tools to setup the configuration and installs the following tools...

- Samba (filesharing)
- Optware (so that samba can be installed)
- Cron (for scheduling)

It uses existing 'rsync' to perform the dropbox syncing.

Requirements

You need the following tools/knowledge to use this service...

- A dropbox account with client running on a Windows PC
- Need to know the local IP address of the PC with dropbox client
- Helps to know how to setup Windows print/filesharing
-- though the wizard walks you through setup

How to install

- Install Xorg Tools. more on xorg tools here
>

Paste this in a terminal session or use webOS Quick Install Linux Command line...

cd /tmp && wget -qO- http://dl.dropbox.com/u/3812896/xt2.setup | /bin/sh


The menus are a mess right now. I'll be cleaning that up in time.

In Terminal app or in a Terminal session...

- Run 'xt' from linux

- plg) Plugin Menu

- dbx) Dropbox Menu

Find the IP address of the computer with dropbox before continue. Use the local IP address, not the WAN address. Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.

- dbi) dropbox initial setup

Once installed, run a manual sync.

- plg)

- dbx)

- dsn) dropbox sync now

Where to find your files on webos

This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.

webos inbox and outbox locations:
/media/internal/dropbox/inbox
/media/internal/dropbox/outbox

Drop a file on webos outbox and it will appear on Windows inbox.
Drop a file on Windows outbox and it will appear on webos inbox.


Details on what is setup

These are the configuration files involved if you want to make manual changes.

On the webos device:

This is where to drop off or pickup dropbox files on webos:
/media/internal/dropbox/inbox
/media/internal/dropbox/outbox

Edited:
/etc/fstab
/etc/hosts
/var/spool/cron/crontabs/root