Skip to content

Instantly share code, notes, and snippets.

@ysheng26
Last active July 11, 2024 16:56
Show Gist options
  • Save ysheng26/1d7340d548bb268d5aba50fa734d8be3 to your computer and use it in GitHub Desktop.
Save ysheng26/1d7340d548bb268d5aba50fa734d8be3 to your computer and use it in GitHub Desktop.

How to Setup Syncthings with PC and muOS

Terminology

Name Description
Syncthings Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it’s transmitted over the internet.

General Idea

The guide would setup syncthings with a PC and RG35XX Plus running muOS, if your host system is different the concept would be the same however you might need to tweak a few things. I would be syncing my muOS save folder to my PC as a backup method.

  1. Install/Setup Syncthings on your PC
  2. Enable/Setup Syncthings in muOS

Steps

1 Install and setup Syncthings for PC

Download from the here

After installation head to 127.0.0.1:8384, you should see something like the following

PC just setup

1.1 Create a folder to sync that lives in PC

Click "Add Folder" and let's go through some important tabs

PC Setup Folder Tab1

You would need to create a folder label, and set the folder path, note that the path here is what folder do you want to sync on your PC.

Let's go to the File Versioning Tag

PC Setup Folder File Versioning

Here you can setup how back up files are being versioned, I prefer a Simple File Versioning, you can see the details by clicking the Help link

PC Setup Folder Advanced

Here I'm changing the Folder Type to be "Receive Only" because I would only be receiving save files from my muOS, if you want to actually sync between your PC and muOS you can keep it as Send and Receive

2 Enable and Setup Syncthings in muOS

At this point we installed Syncthings in PC and we also setup a folder that would store our backed up save files on PC. Now we need to setup Syncthings in muOS.

First make sure your muOS is connected to WiFi and note down your IP, your IP should look similar to 192.168.1.217, from now on I would use 192.168.1.217 as the muOS IP.

In muOS main MENU -> Configuration -> WebServices -> Syncthings (toggle this to Enabled)

Once Syncthings is enabled in muOS, refresh 127.0.0.1:8384, you should be seeing your PC recognizing a new device on network, add it in by clicking "Add Device", pick a name of your device and click "Save"

PC Add Device

At this point you added muOS in PC, but on PC's "Remove Devices" section you would see "muos" showing as "Disconnected(Unused). Now you need to add PC in muOS

2.1 Add PC to muOS's syncthings

Go to your muOS IP with port 7070, in my case it's 192.168.1.217:7070, you should see the familiar Syncthings web UI, here you should be able to see it recogonizing your PC

muos new device showing up

Click "Add Device"

muos Add Device

Pick a name of the device and click "Save"

Now you need to setup which folder in muOS to sync with your PC, under Folders section click "Add Folder", here it's pretty much the same as how you added a folder in PC, the Folder Label could be anything but the Folder ID needs to be same as the Folder ID you had in PC (wmtcf-gbjgs in this case), and you would need to set the folder path to /mnt/mmc/MUOS/save if you only want to backup the saves. It would be nice to setup File Versioning and change Advances to Send only to make sure the sync is going one way from muOS to PC in this setup

In "Sharing" tab also make sure to check your PC

muos add folder sharing

2.2 Go back to share PC folder with muOS

Go back to https://127.0.0.1:8384/ and click on the folder you created, click on "Edit", go to Sharing tab and click muos (which is the device you are connected to)

PC Add Folder Sharing

The End

At this point your muOS would send your save files to your PC :)

@ysheng26
Copy link
Author

muos new device showing up

@ysheng26
Copy link
Author

muos Add Device

@ysheng26
Copy link
Author

muos add folder sharing

@ysheng26
Copy link
Author

ysheng26 commented Mar 20, 2024

PC Add Folder Sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment