Dropbox Replacement With BtSync on a Edison IoT

Introduction: Dropbox Replacement With BtSync on a Edison IoT

What you need:


  • Intel Edison Arduino IoT
  • 12v power supply, optionally with battery backup. This may not be needed.
  • microSD card, recommended 8GB or larger.
  • USB drive (optional)
  • WiFi connection


  • Current Yocto or Ubilinux
  • BTsync (downloaded directly)
  • SSH client on desktop system (ssh native on most linux, Putty on windows)

This Instructable assumes you have a basic knowledge of ssh, assembled the Edison, updated Linux, and connected it to the WiFi.

Step 1: Setting Up BTSync

After ssh into your Edison, create the directory for BTSync and move into it

  • mkdir -p /share/MD0_DATA/.qpkg/btsync/
  • cd /share/MD0_DATA/.qpkg/btsync/

Download BTSync and move it into the new folder

Extract the file

  • tar -xzf bittorrent_sync_i386.tar.gz

You can test BTSync with command, or move on to the next step.

  • ./btsync --webui.listen

You can now browse to the Edison at port 8888 via your web browser.

Step 2: BTSync Start on Boot

Create directory

  • mkdir /etc/init.d/

Create and edit the file

  • vi /etc/init.d/bt.sh

Add these lines into the file

  • #!/bin/sh
  • killall btsync*
  • /share/MD0_DATA/.qpkg/btsync/btsync --webui.listen

Make the file executable and update the start up

  • chmod +x /etc/init.d/bt.sh
  • update-rc.d bt.sh defaults

You should get a message like this

"Adding system startup for bt.sh..."

Step 3: Optional USB Storage

The USB stick can be mounted and used for storage before BTSync starts so that it can be used for storage.

Open the fstab file for editing

  • vi /etc/fstab

Add the this line to the end

  • /dev/sda1 /media/share vfat auto,rw,umask=000 0 0

Step 4: Use the GUI

Use the GUI at http://(your Edison's address here):8888 to set up your shares, and Enjoy!

This setup process also works for Ubilinux

Be the First to Share


    • Origami Speed Challenge

      Origami Speed Challenge
    • Woodworking Contest

      Woodworking Contest
    • Home and Garden Contest

      Home and Garden Contest


    Hello, I'm working on Intel Galileo Gen 2 with windows embedded and i
    need to connected to the net using the Intel wireless n-135, i mated to
    install the wif driver and i get "Driver is running" but i can't
    connect the cart to the net, i trite many solution with no result, does
    any one have a proposition and thks.