Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Help about MediaWiki
FUTO
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Introduction to a Self Managed Life: a 13 hour & 28 minute presentation by FUTO software
(section)
Main Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== 5.3 Add a device to syncthing android app ==== # On the top, you’ll see '''Folders''' and '''Devices'''. # Tap '''Devices'''. # Tap the plus in the upper right corner to add a device. # Tap the QR code next to '''Device ID''' in the upper right. # Go back to the '''Ubuntu Server Syncthing Web Interface'''. #* Open a web browser and navigate to <code>http://192.168.5.5:8384</code> or [http://androidstuff.home.arpa:8384/ http://androidstuff.home.arpa:8384]. # Obtain Device ID and QR Code #* In the web interface, click on the blue gobbledygook of numbers & letters next to '''“Identification”''' under '''“This Device”''' (gear icon) in the top right. #* Select '''“Show ID”'''. #* You’ll see a QR code and the device ID. ''SCAN YOURS. DO NOT SCAN MINE. I SHOWED A PICTURE OF MINE SO YOU CAN SEE WHAT IT LOOKS LIKE.'' # Configure Device Settings on Android #* '''Device Name:''' Enter a recognizable name (e.g., “Ubuntu Server”). #* '''Addresses:''' ''DO NOT CHOOSE DYNAMIC. USING DYNAMIC WILL CAUSE IT TO NOT SYNC WHEN YOU DISCONNECT & RECONNECT FROM YOUR NETWORK. IT WILL WORK THE FIRST TIME, AND THEN NEVER SYNC AGAIN, AND YOU WILL BE PAYING DATA RECOVERY DOUCHEBAGS TO RECOVER YOUR PHONE.'' <blockquote>'''How dynamic failed:''' I used “dynamic” as an example of why it doesn’t make sense to use autodiscovery when you KNOW where your server is. I chose dynamic, and it connected & worked. When I disconnected from my network & reconnected, the ''Devices'' tab in the Syncthing Android app showed me to be ''disconnected'' and the ''Folders'' tab showed the folders to be ''idle'' even though the web GUI for Syncthing said that my folder was ''Out of sync'' and ''Remote Devices'' showed my phone as ''Disconnected''. </blockquote> <ul> <li><p>FILL IN '''“Address”''' when adding a device as follows, if you used the setup I was using within this guide to Syncthing.</p> <pre>tcp://192.168.5.5:22000</pre></li> <li><p>OR</p> <pre>tcp://androidstuff.home.arpa:22000</pre></li> <li><p>The format is <code>tcp://</code>, then your IP address, then <code>:22000</code> for the port.</p></li> <li><p>No need to check “Introduce new devices”.</p></li> <li><p>'''Did you include the <code>tcp://</code> at the beginning, and the <code>:22000</code> at the end for the port? You’d better have!'''</p></li> <li><p>Save and continue.</p></li></ul> <ol start="8" style="list-style-type: decimal;"> <li><p>'''Approve the Connection on Ubuntu Server'''</p> <ul> <li><p>Return to the Ubuntu Server web interface.</p></li> <li><p>You should see a prompt to add a new device.</p></li> <li><p>Verify the Device ID matches your Android device.</p></li> <li><p>Click '''“Add Device”'''.</p></li> <li><p>Set a name for the Android device (e.g., “Android Phone”).</p></li> <li><p>Click '''“Save”'''.</p></li></ul> </li> <li><p>'''Check the Connection'''</p> <ul> <li>On both devices, check that the other device appears as connected. The connection might take a few moments to establish.</li></ul> </li></ol> <blockquote>'''Note:''' Make sure that port <code>22000</code> (or your configured Syncthing port) is open in your Ubuntu Server’s firewall for incoming connections from your local network. B'''y default <code>ufw</code> is not running and blocking things when you first boot Ubuntu Server''' but that may change at a later date, same way they snuck in the suggestion of pre-installing a snap version of Docker. </blockquote> Now you’ve added your Ubuntu Server Syncthing instance to your phone; no open ports, will sync whenever you are on wifi with your VPN on, and continuously back up your phone. Beautiful. :) <blockquote>'''REMEMBER – DO NOT SET “ADDRESSES” TO “DYNAMIC” – TAP “DYNAMIC” AND REPLACE IT WITH''' <code>tcp://youripaddress:22000</code> '''REPLACING “youripaddress” WITH THE IP ADDRESS OF THE VIRTUAL MACHINE THAT IS RUNNING SYNCTHING.''' </blockquote> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxef6_tmp_65626c83.png File:lu55028jxef6_tmp_135ac5ce.png File:lu55028jxef6_tmp_ffc850bf.png File:lu55028jxef6_tmp_23122602.png File:lu55028jxef6_tmp_4468da5a.png File:lu55028jxef6_tmp_a83ae883.png </gallery> <span id="step-6-configuring-syncthing-for-organized-android-backups"></span>
Summary:
Please note that all contributions to FUTO may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
FUTO:Copyrights
for details).
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:
Cancel
Editing help
(opens in new window)