How can I prevent Syncthing from waking up my PC in standby

Hi All

I use Syncthing between my PC and smartphone. No other devices. Al works fine so far. I put my pc always in standby mode so I can awake it remote via WOL with a script. It means I want to use WOL and I dont want to disable it

Unfortenately syncthing on my smartphone is always waking up my PC from standby modus when it’s starting a sync. The really weird thing is that even if I close syncthing on my PC, syncthing on my Phone is still waking up my pc. Of course the sync is not working that moment but it means that the first thing Syncthing is doing when starting a sync is sending a waek up package I guess … Anyone has any experience whit this? What can I try in the settings to stop syncthing to wake up my pc?

Regards Kurt

My guess would be that you have some setting where the router send a WOL packet when trying to reach the turned off computer, and Syncthing is trying to connect there. (Syncthing itself has nothing related to this.)

Hi Jakob.

Indeed you are right … there is no WOL packet involved. I did some more research with a sniffer and if I use my script for waking up the PC I see a broadcast WOL packet on my network (255.255.255.255). Syncthing is NOT sending any WOL broadcasts

When I start Syncthing on my phone, My desktop PC is immediately waking up. I can see a few subnet broadcast packets coming from my phone, probably generated by Syncthing (x.x.x.255) How can this packet awake my desktop then? Anyway, I still don’t have any idea why.

Next thing I will try is to disable WOL completely on my desktop for testing to see what happens. But this is actually not what I want. I really hope to find a solution because I really like Syncthing.

Regards Kurt

For those who have similar problems, I found the solution for my problem. To prevent waking up my desktop pc when syncthing on my phone tries to do a sync, I just had to tick the checkbox on the network interface properties Only allow a magic packet to wake the computer

After that WOL keeps on working and Syncthing is not waking up my PC anymore

Regards Kurt

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.