4 ms·
I've only recently started using Syncthing so I might be wrong, but I think you can not use a discovery server at all. The only requirement is that your Syncthi
by txcwpalpha 7y ago
I've only recently started using Syncthing so I might be wrong, but I think you can not use a discovery server at all. The only requirement is that your Syncthing devices must have static IP addresses configured in their respective settings pages on Syncthing. Once that is done, you can disable both local and global discovery servers in the settings panel.
- em-bee 7y agostatic ip addresses are a blocker. i want my phone to sync to my laptop when i am traveling, connected to whatever wifi is available, without needing to rely on internet working. another comment suggests that it should work with avahi/bonjour. if that's the case, that would solve my problem.
- txcwpalpha 7y agoAgain, not an expert on Syncthing, but I'm pretty sure that Avahi/Bonjour do pretty much exactly what Syncthing's local discovery protocols do. edit: here's a discussion on GitHub about adding avahi support: https://github.com/syncthing/syncthing/issues/5460 https://github.com/syncthing/syncthing/issues/5460 It seems they've dismissed it as unnecessary: >Avahi as far as I understand is essentially the same as Bonjour/mDNS/dns-sd. Regardless, bonjour is just multicast unicast bla bla thingy, same like we do with local discovery, the only difference is that bonjour/mDNS/dns-sd etc has support in the routers to forward the service announcements to other subnets, which they won't do for syncthings local discovery. But that thread does have some other information if you want to continue trying to use avahi/bonjour edit again just to be clear: there's a difference between local and global discovery. Global Discovery is the "discovery server" you're referring to. Local Discovery is simply your device sending an announce packet on your local network with your device ID, so that other Syncthing device's on the same network can see it. Local Discovery does not run a "discovery server". I'm not sure exactly what your requirements are, but I would think that just using local discovery would be what you're looking for, or at least worth looking more into.
- em-bee 7y agoyes, local discovery without needing a server is exactly what i am looking for. thank you! i mentioned avahi/bonjour mainly as a point of comparison for something like it. i don't care about the implementation details as long as it works :-)