[Suggestion] Automatic reconnect
See original GitHub issueCould you please add function to the Android app or to the desktop one, so gnirehtet will be reconnected after was disconnected due to USB cable unplug (Once USB is plugged again I mean). So you don’t need to restart desktop app in order to reconnect your device (I currently haven’t found yet command to reconnect it from the device).
Thank you for great app!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:14
 Top Results From Across the Web
Top Results From Across the Web
I can suggest a auto reconnect feature - Colonist.io
I can suggest a auto reconnect feature - Colonist.io.
Read more >[Update: Not quite] Android Q won't automatically reconnect to ...
During the blacklist period, that network will not be considered for auto-connection, even if the app removes and re-adds the network suggestion ......
Read more >How to avoid automatic reconnect to data sources at startup?
My question is about the following scenario. I close Data Studio (4.1.1 / Linux) with some SQL Script files open that are connected...
Read more >Suggestion: Auto reconnect of WebCam when lost - Yawcam
Suggestion : Auto reconnect of WebCam when lost ... Been using yaw cam for the last week with no issues but found this...
Read more >How to get computer to reconnect automatically after ...
I would suggest you to try the steps mentioned below. Step 1: Use the network troubleshooter in Windows 7. http://windows.microsoft.com/en-US/ ...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

Want to share how I solved problem with client reconnection after usb cable unplugged and then plugged back in:
I added this is piece of code to Main.class so now I can start the server with command ‘java -jar ginerhtet-server.jar relay-reconnect’ and connect my mobile device by usb many times and it gets internet connection automatically. Hope it’ll make your life easier!
@autolainen Thanks to your work, I implemented the feature on the Java version (I will also implement it in rust).
I added two commands:
gnirehtet autostartexecutesgnirehtet starton every new connected device;gnirehtet autorunexecutesgnirehtet autostartin background andgnirehtet relayin foreground.The branch is
wip/autostart. Feedbacks welcome.I’ll merge it in
devonce the Rust version is implemented.