r/kde•
flyos

KDE Connect and ZeroTier

I was desperately trying to make KDE Connect work over eduroam and stubbled upon this post and a suggestion from u/Nicholas4132 to use ZeroTier to set up a VLAN, for being able to use KDE Connect even on different networks.

Setting up ZeroTier was relatively easy, I have to enter the IP addresses of the devices on the Android UI (for some reason, I'm not even sure it is actually needed) and managed to actually make the devices see each other on different networks indeed.

However, I'm having a lot of instabilities with this solution, especially, it seems very hard for the desktop clients to talk to the android client (e.g. sending SMS), while the reverse works very fine (e.g. remote control) and the connection between devices is lost quite often on some networks, I have to open KDE Connect on my phone to reactivate it (I suspect this is again an issue with the desktop client talking to the phone).

Anyone has an idea on how to fix these little issues? Something I've had in mind is putting the VLAN IP address of the phone device in the desktop clients (as it's possible on the Android client), but I don't see any interface to do that. Is there a file I can modify for this?

Posted Feb 29, 2020, 8:24 AM UTC

62
nicman24•

Maybe it is not a net problem at all but a battery saving one?

1
flyosOP:opensuse:•

That's what I thought at first, but no. The disconnections were much more frequent than on my home WiFi, despite the phone being connected to a WiFi as well. I also tested making KDE Connect "non optimised" in Android but this didn't change much...

1