-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internet not working after few days #153
Comments
IIUC, gnirehtet works, but if you disconnect, it does not work immediately when you reconnect, and you have to wait some time before it is connected again. Is it correct? During this time, does If you track devices connections, you should be able to detect when a new device is detected over adb (this is what gnirehtet does) :
Could you also check for relevant logs in the oitput of |
Sure. If it happend again i do it. I can add that when i plug the phone in linux recognize it and show the android phone is plugged. |
It may be problem with the internet conexion. It stop working at the same time in 2 different pc with different SO and different Android Phones but in the same LAN. Its a Optical fiber conexion of 100mb symmetrical and the rest of the webpage working well in the respective pc. Here is the command asked before (while it was't working) echo 0012host:track-devices | nc localhost 5037 | hd
adb logcat
|
Sorry, in fact, you must run it from the beginning, and see if it adds new stuff (updates the device list) when it stops working. This will help to know if the device is disconnected"/"reconnected from |
Ok. Then if i understand the correct sequence is this?
|
Hi, i was using gnirehtet for a few weeks. Sudenly i disconect my phono and try back and now its not working.
I`ve already try restart PC (ubuntu 18) and the phone (samsung S6 edge).
I reintall gnirehtet in another folder and delete the VPN in the phone and keep happend.
My friend try this in his PC and have the same problem after a few days with diferrent OS and diferent Phone. The disconect was generated by me unplugin the phone and change the USB modo to try File-Mode, Picture-Phono or Charge-Mode.
The command line only show this.
./gnirehtet autorun
2018-11-07 14:01:22.372 INFO Main: Starting relay server...
2018-11-07 14:01:22.372 INFO Relay: Relay server started
2018-11-07 14:01:22.372 INFO Main: Checking gnirehtet client...
2018-11-07 14:01:22.491 INFO Main: Starting client...
Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
Broadcast completed: result=0
2018-11-07 14:01:27.279 INFO TunnelServer: Client #0 connected
2018-11-07 14:01:34.509 INFO TunnelServer: Client #0 disconnected
2018-11-07 14:01:36.446 INFO Main: Checking gnirehtet client...
2018-11-07 14:01:36.568 INFO Main: Starting client...
Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
Broadcast completed: result=0
2018-11-07 14:01:39.516 INFO TunnelServer: Client #1 connected
2018-11-07 14:01:48.858 INFO TunnelServer: Client #1 disconnected
2018-11-07 14:01:49.490 INFO Main: Checking gnirehtet client...
2018-11-07 14:01:49.544 INFO Main: Starting client...
Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
Broadcast completed: result=0
2018-11-07 14:01:53.862 INFO TunnelServer: Client #2 connected
After several minutes i try again and its working now.
This LOG is continues to the previus one..
2018-11-07 14:01:53.862 INFO TunnelServer: Client #2 connected
2018-11-07 14:02:25.369 INFO TunnelServer: Client #2 disconnected
2018-11-07 14:13:24.329 INFO Main: Checking gnirehtet client...
2018-11-07 14:13:24.461 INFO Main: Starting client...
Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
Broadcast completed: result=0
2018-11-07 14:13:25.759 INFO TunnelServer: Client #3 connected
2018-11-07 14:13:25.837 INFO TcpConnection: 10.0.0.2:60573 -> 31.13.85.34:443 Open
2018-11-07 14:13:25.937 INFO TcpConnection: 10.0.0.2:56338 -> 34.254.141.81:5223 Open
2018-11-07 14:13:25.978 INFO TcpConnection: 10.0.0.2:54899 -> 31.13.94.14:443 Open
2018-11-07 14:13:26.074 INFO TcpConnection: 10.0.0.2:38388 -> 31.13.94.54:5222 Open
2018-11-07 14:13:26.083 INFO UdpConnection: 10.0.0.2:28237 -> 8.8.8.8:53 Open
2018-11-07 14:13:26.109 INFO UdpConnection: 10.0.0.2:19648 -> 8.8.8.8:53 Open
The text was updated successfully, but these errors were encountered: