syncthing / syncthing-android

Wrapper of syncthing for Android.
https://syncthing.net/
Mozilla Public License 2.0
3.22k stars 369 forks source link

Not syncing over phone's flight mode active and reverse tethering on usb #1623

Open pf4rootdog opened 3 years ago

pf4rootdog commented 3 years ago
what happened:

Reason: not configured to sync on WiFi nor mobile data

what you expected to happen instead:

Expected the app to go to the main dashboard screen enabling me to add devices and add folders, etc.

any steps to reproduce the problem:

Version Information

App Version: 
Syncthing Version: 1.14.0
Android Version: Android 10
Catfriend1 commented 3 years ago

Hi, did I get it right the tool generates a VPN tunnel on the phone side? Then this might not fall under Android's category of a connected "wifi" or "flight mode". Usually Android sees tethering as hotspot, VPN inherits Android's connection guess of the underlying connection. I suspect the problem here is, Android does not report any connection type to our Syncthing App because your just using "usb software protocol / adb" as transport which is not an IP/PPP based connection type the OS recognizes.

pf4rootdog commented 3 years ago

Hi CatFriend1.

You are correct.  It does appear to generate the VPN. This does make sense; VPN is like it's own "cord" to the Internet (like the ethernet cable, but it is through USB; independent of any radio-like communications. Plus this is a reverse-tethering. The desktop provides the Internet connection.

As for gnirehtet itself, I'm unsure if it is following the IP/PPP protocol. -- Sent with Tutanota, the secure & ad-free mailbox: https://tutanota.com

Mar 25, 2021, 02:15 by @.***:

Hi, did I get it right the tool generates a VPN tunnel on the phone side? Then this might not fall under Android's category of a connected "wifi" or "flight mode". Usually Android sees tethering as hotspot, VPN inherits Android's connection guess of the underlying connection. I suspect the problem here is, Android does not report any connection type to our Syncthing App because your just using "usb software protocol / adb" as transport which is not an IP/PPP based connection type the OS recognizes.

— You are receiving this because you authored the thread. Reply to this email directly, > view it on GitHub https://github.com/syncthing/syncthing-android/issues/1623#issuecomment-806393110> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/ATLX3UCKIEMZNCPDK4ONQBDTFLIIRANCNFSM4ZU6OJHQ> .