Skip to content
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

Take a look at gnirehtet #24

Closed
a5m0 opened this issue Apr 15, 2017 · 12 comments
Closed

Take a look at gnirehtet #24

a5m0 opened this issue Apr 15, 2017 · 12 comments

Comments

@a5m0
Copy link

a5m0 commented Apr 15, 2017

I was wondering if you'd taken a look at https://github.com/Genymobile/gnirehtet and if you had an opinion of which project had better implementation/features. Just some friendly cross-pollination, thanks!

@vvviperrr
Copy link
Collaborator

Hi.
Using adb was my first thought, when i started working on SimpleRT. But there already were some implementations (in google play), and they sucks. Most of all, users got issues with adb itself. It should be properly configured, enabled in phone, etc. The main issue - adb reverse command works only in 21 api and higher, while simplert works on 14 api (the first api where vpn service shows up). Second, relay method supports only tcp/udp, when simplert works as virtual interface, u can use any type of traffic. And i suppose, simplert has a higher data transfer rate (in my tests - about 20-30 mbytes per sec), as ip packets transferred via pure usb bulk transfer and injects into system tcp/ip stack. And of course, as SimpleRT implemented on C, u can use it literally anywhere. For instance, i built it for tplink mr3020 router (with openwrt), and got kind of "usb wifi modem" for android :)

So, in my opinion, gnirehtet has only one advantage over simplert - windows support. Now I'm working on windows port, but it is really pain in the ass (im not windows guy). But its quite possible.

@Zero3K
Copy link

Zero3K commented May 10, 2017

Is the Windows port ready yet?

@vvviperrr
Copy link
Collaborator

nope, only compile issues fixed. libusb is not fully supported on windows, thats the main problem. still working on it.

@Zero3K
Copy link

Zero3K commented May 10, 2017

Try the version of libusb located at http://libusb.info/.

@Zero3K
Copy link

Zero3K commented May 10, 2017

Will it work or not?

@vvviperrr
Copy link
Collaborator

i already use this version. in short - windows version of simplert need to be heavy rewritten. now im trying to reduce this work.

@Zero3K
Copy link

Zero3K commented May 11, 2017

How much longer will it take?

@vvviperrr
Copy link
Collaborator

windows version release? don't have any schedule, as windows is not my primary area of interests. maybe 2-3 months, maybe more.

@Zero3K
Copy link

Zero3K commented May 11, 2017

Unless someone decides to help you with making a port for it.

@casper
Copy link

casper commented Dec 25, 2017

Here's another vote for a Windows version.

I just went through 5 different reverse tethering apps and none of them are simple nor work properly without root access. The closest solution for Windows was using OpenVPN, but it's an extremely complex setup, and it still doesn't work very well. This one seems to be the best one so far. Just needs some Windows love.

Did you consider running under Cygwin? Perhaps using that would make the whole setup easier to port.

@casper
Copy link

casper commented Mar 20, 2018

@Biswa96 It was a while ago I did it, but I think it this is the tutorial I was using for that:
http://salutepc.altervista.org/usb-reverse-tethering-no-root-no-adb-android-all-versions-windows-10.html

@robinpaulson
Copy link
Owner

I'm going to close this issue, other than "it runs on Windows", I don't think there's any particular thing we can borrow from gnirehtet. There is a Windows client issue open at #50 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants