[Solved] Can't Connect To Sync On Raspberry Pi Over Lan


Mrath

Recommended Posts

I followed the instructions to install Sync on Raspberry Pi on the blog. wget fails as I believe the Amazon link in the blog entry to the ARM build is dead, so I downloaded 1.4.103 ARM build from getsync.com.

 

I got it to install on my RPi, confirmed by the CLI entry "BitTorrent Sync forked to background. pid = 2372. default port = 8888". But when I use the browser on my Linux Mint desktop to go to 192.168.1.219:8888/gui , I get a "Unable to connect" error. I have confirmed that the IP is correct by double-checking ifconfig on my RPi, and I am successfully running Sync on my Linux desktop with other machines on the LAN.

 

Any tips?

Link to comment
Share on other sites

That blog post is over 18 months old, and Sync has evolved since then!

 

Now, Sync will only listen on the loopback interface "0.0.0.0" by default. Attempting to connect on any other IP will fail.

 

If you wish Sync to listen on a different IP address, i.e. 192.168.1.219, you will need to specify this in the config file

Link to comment
Share on other sites

I'm a newbie, so I don't know what "loopback" is :P

 

I gather I need to enable the WebUI so I can control Sync on my (headless) Raspi? Reading through the FAQ in your sig, should I add the following to my btsync config file?

 

./btsync --webui.listen 0.0.0.0:8888

 

If so, where is that file located, and what IP should I use to connect to the WebUI using my desktop? The IP doesn't really matter to me, so whatever works is fine :)

Link to comment
Share on other sites

Got it to work! Starting with the command

 

./btsync --webui.listen 0.0.0.0:8888

 

worked, as long as you are in the btsync folder on your Pi. For me that is ~/.btsync

 

Another option is starting with the sample config file using command

 

 ./btsync --config ./btsync.config
 

, and that works as well. Incidentally the sample config file I received by running command

 

./btsync --dump-sample-config >btsync.config

 

has webUI enabled by default.

 

Thank you!

 

Now I have to figure out how to change permissions to the external HDD on RPi, as folder permissions are a nightmare in Linux.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.