Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.13k stars 565 forks source link

Can't run it. Device 'd:' not found #1

Closed ewoks closed 7 years ago

ewoks commented 7 years ago

// I wrote following line in terminal, next 3 lines are output written by ghirehtet: ./gnirehtet rt Starting gnirehtet... 'adb' -s 'd:' reverse tcp:31416 tcp:31416 error: device 'd:' not found // Dialog should appear but it doesn't

Siera macOS 10.12.4, adb 1.0.39 Android 5.0.1, Samsung (I know, I am sorry)

// If I manually install, than execute: adb reverse tcp:31416 tcp:31416 adb shell am startservice -a com.genymobile.gnirehtet.START // => Dialog appears as expected

rom1v commented 7 years ago

It seems that you executed the command with an additional argument having value d::

./gnirehtet rt d:

Did you do that?

EDIT: OK, I reproduced the problem on MacOS. Thanks for the report. I'm working on it.

ewoks commented 7 years ago

not really, that is why I am surprised as well where 'd:' is coming from

ewoks commented 7 years ago

Tested with other non Samsung device (N5): Same error

rom1v commented 7 years ago

Commit ee407b9e44fa907eb7f964b71f021255f853affd should fix the issue.

You can download the updated version of the script: gnirehtet.

Please confirm that it solves the problem for you :wink:

ewoks commented 7 years ago

I can confirm that problem is not there anymore on macOS and stdout is showing: 2017-03-31 13:15:36.122 I Main: Starting server... ticket can be closed and new script packed in the latest release ;) thanks