It works, i didn't see this posted
ac68u
asuswrt-merlin 378.55
This is what i did
install debian
I don't think this is required but i do have it installed so if you find it is needed entware
I followed the steps to install syncthing on this page into chroot debian substituting the url for the current arm download link on the syncthing website - Not sure what the difference is but i also installed from inside debian to /tmp, the instructions say to use /opt as dir.
Add iptables rule
edit syncthing listening host
Change this line from 127.0.0.1 to your hostname, this worked on mine
I installed in temp instead of the opt dir in the linked post so modify the path below to install dir and syncthing version
access via browser on computer on lan https://rt-ac68u:8384/
first couple of tests seem to be working,
Data on platter drive connected to usb3 port syncing from router to 1 client (dell venue 8 pro win 10 lan wifi 5g),
1) 10k files 3g ~2 hours to sync
2) 32 files 10g ~30mins to index (i let router fully index before connecting client)
45 minutes into second sync 4.8 gb remaining
speed is steady just above 2 MiB/s
syncthing reports ram usage at 73.8 MiB
run on router
sync completed in about 2.5 hours
todo
syncthing shouldn't run as root
startup script/ auto start - this might be a useful page
run in background
confirm syncing works from wan
ac68u
asuswrt-merlin 378.55
This is what i did
install debian
I don't think this is required but i do have it installed so if you find it is needed entware
I followed the steps to install syncthing on this page into chroot debian substituting the url for the current arm download link on the syncthing website - Not sure what the difference is but i also installed from inside debian to /tmp, the instructions say to use /opt as dir.
Add iptables rule
Code:
nano /jffs/scripts/firewall-start
iptables -I INPUT -p tcp --destination-port 8384 -j ACCEPT
/jffs/scripts/firewall-start
Code:
debian enter
cd $HOME/.config/syncthing
nano config.xml
Code:
<address>RT-AC68U:8384</address>
Code:
cd /tmp/syncthing/syncthing-linux-arm-v0.11.24
./syncthing
first couple of tests seem to be working,
Data on platter drive connected to usb3 port syncing from router to 1 client (dell venue 8 pro win 10 lan wifi 5g),
1) 10k files 3g ~2 hours to sync
2) 32 files 10g ~30mins to index (i let router fully index before connecting client)
45 minutes into second sync 4.8 gb remaining
speed is steady just above 2 MiB/s
syncthing reports ram usage at 73.8 MiB
run on router
Code:
top - 01:52:17 up 17:16, 0 users, load average: 1.44, 1.45, 1.48
Tasks: 93 total, 1 running, 92 sleeping, 0 stopped, 0 zombie
%Cpu(s): 53.6 us, 3.0 sy, 0.0 ni, 33.0 id, 3.8 wa, 0.0 hi, 6.6 si, 0.0 st
KiB Mem: 255732 total, 219948 used, 35784 free, 5440 buffers
KiB Swap: 1572860 total, 3404 used, 1569456 free. 83656 cached Mem
todo
syncthing shouldn't run as root
startup script/ auto start - this might be a useful page
run in background
confirm syncing works from wan