i have created similar post before but since then no working solution have found .
updated to the latest firmware. but the same problems persisted… whenever i start or restart the syncthing . AXT-1800 internal firmware auto change my mount into “ro” readonly.
doesn’t matter i use root or syncthing in /etc/config/syncthing or /etc/init.d/syncthing
non of them got my synching working.
keep kindly help me with this. i really need to use syncthing.
just updated to the new 4.1 firmware …like all the new available new functions …
but in regard of the synching. it’s still behave the exact same way …but this time at least I can easily got the log for it …
long story short …after the upgrade reinstall the synching 1.18 on the repo…
/etc/config/syncthing as synching user don’t have permission to do anything so I changed into “root”
it’s succesfully add the shared folder and synced a few MBs …then it’s stoped …
I checked with command cat /proc/mounts. found out that the file system automatically put it on readonly mode for some reason .
aarrrr…I primary use Mac and linux (pi, truenas, ubuntu)… installing/maintaining fuse for my all others Mac/linux would not be ideal and comes with whole others set of issues. (read only, performance, write issues even if it’s works, sometime…)
I got 500-700g of video editing files using synching, every 2ish months. accessing it thru fuse would be pain in the butt.
I do have some windows in VM only run occasionally thro …but sharing it thro VM smb to Mac host , again …not very stable in my experince.
I don’t know what’s going on, but if your storage device on the router stays with the router, it doesn’t matter to any of the client what file system the storage is using.
Personally I would use ext4 over NTFS on the router’s storage device, and set the options in Syncthing on all devices to ignore / not sync permissions and ownership data etc.
I’m not sure about your problem, but I’ll probably end up back in this thread soon as I’m planning to set up Syncthing on my AXT-1800 whenever I can find the time & energy.
Just to be clear on the terminology: it’s not really a plugin; it’s a standalone program that runs on the router (instead of your PC for example).
This assumes Slate AX firmware 4.4.6-release1 (GL GUI → System → Upgrade). You’ll need to
Have a storage device/target already mounted (in my case it is /mnt/sda1)
have a directory on said storage target ‘owned’ by the syncthing user
in my case all Syncthing data/‘folders’ are under /mnt/sda1/syncthing
mkdir /mnt/sda1/syncthing
chown -R syncthing:syncthing /mnt/sda1/syncthing
Set the first (OpenWrt Linux) Syncthing configuration file to match the storage target & enable the Syncthing Web GUI
nano /etc/config/syncthing
match my values as needed per the below output example
adjust option nice to a higher number (eg: 15) so Syncthing runs with less impact/performance on the CPU/SOC for more critical running programs/processes as desired
There’s another conf (/mnt/sda1/synchting/conf.xml) that can be editied but it should be enough to use the web GUI instead. Just be sure to match the storage target dirs/paths to the syncthing-owned directory.
root@slateax:~# ls -l /mnt/sda1/
drwxr-xr-x 6 root root 4.0K Jan 9 17:12 .
drwxr-xr-x 1 root root 296 Jan 9 18:27 ..
drwx------ 7 syncthin syncthin 4.0K Jan 12 20:35 syncthing
root@slateax:~# cat /etc/config/syncthing
config syncthing 'syncthing'
option enabled '1'
# option gui_address 'http://127.0.0.1:8384'
option gui_address 'http://0.0.0.0:8384'
# Use internal flash for evaluation purpouses. Use external storage
# for production.
# This filesystem must either support ownership/attributes or
# be readable/writable by the user specified in
# 'option user'.
# Consult syslog if things go wrong.
option home '/mnt/sda1/syncthing'
# Changes to "niceness"/macprocs are not picked up by "reload_config"
# nor by "restart": the service has to be stopped/started
# for those to take effect
option nice '10'
# 0 to match the number of CPUs (default)
# >0 to explicitly specify concurrency
option macprocs '0'
# Running as 'root' is possible, but not recommended
option user 'syncthing'
option logfile '/var/log/syncthing.log'
option log_max_old_files 7
# Size in bytes
option log_max_size 1048576
# # CLI options with no value should be defined as booleans and theirs
# # names should be prefixed with '_'.
option _no_default_folder '1'
# # Extra settings
# list _ 'verbose'
root@slateax:~# ps -w | grep syncthing; service | grep syncthing
2894 syncthing 1376 S /usr/bin/syncthing
/etc/init.d/syncthing enabled running
You’ll probably want to review this HOW-TO before digging into Syncthing if you’ve never used SSH or edited text/conf files on Linux:
If it’s that complicated, I have absolutely no chance lol.
I was hoping that I could just log in, turn it on and point it to the various devices/folders. I have managed to set up Syncthing on my pc running Batocera and also my phone and my tablet but I wanted to get all my game saves onto a usb plugged into the axt1800 so I can access them away from home.
It’s little more than editing a text file. This is no more difficult than tweaking a .ini for Windows-based gaming of whatever new flavor/fad of the week is being shilled by those washouts on YouTube.
You can handle the power of embedded Linux; you’ve already made a solid start with Batocera Linux.
I have read so many things online over the last few days.
I am pretty sure I read that once you download the Syncthing plug in, it just replaces (takes control) of the default network sharing?
But if that is the case, should my plugins page say Syncthing or does it remain the same?