Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.34k stars 581 forks source link

Not working after reconnecting the cable #462

Open simonferndriger opened 2 years ago

simonferndriger commented 2 years ago

It works fine in general, however, when I disconnect the cable from the phone and plug the cable in the phone again, gnirehtet is not working most of the times. Then, I have to stop gnirehtet on my phone so that it can restart when plugin in again, after which it works again.

This is very inconvenient, since I unplug my phone constantly because I only plug the cable in the sync it. Any good workaround for this?

Roms384 commented 1 year ago

I had the same problem, you can apply the following patch and rebuild (it automatically closes the client when disconnected from the server): https://github.com/Genymobile/gnirehtet/compare/master...Roms384:gnirehtet:master

simonferndriger commented 1 year ago

Thank you. Unfortunately, I am unable to make a build myself. Wouldn't it be possible to make an official build with a new version?