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

Tunneling unsuccessful #57

Open
tuxayo opened this issue Jul 11, 2021 · 5 comments
Open

Tunneling unsuccessful #57

tuxayo opened this issue Jul 11, 2021 · 5 comments
Labels

Comments

@tuxayo
Copy link

tuxayo commented Jul 11, 2021

Hi :)

There is the VPN prompt in the phone. I have mobile network enabled. curl example.org works via adb. But as soon as I accept the prompt, curl freezes, no result.

With version 1.0 from F-Droid (could #37 cause an issue? #37)
PC counterpart : 20190906_9b63526-1

cli.log.txt
ip-route.txt
ip-show.txt

@tuxayo
Copy link
Author

tuxayo commented Jul 11, 2021

It doesn't work with app https://github.com/vvviperrr/SimpleRT/releases/tag/1.1

But it does work with this one!
https://github.com/iteratec/SimpleRT/releases/tag/v1.2.3

Should commits from this fork be integrated in this repo?

@robinpaulson
Copy link
Owner

@tuxayo I will be investigating commits from a few forks, including @iteratec and @CandySunPlus. If there are any in particular you would like to see added, please mention them.

@robinpaulson
Copy link
Owner

I put out a new version this week, at least #37 is now fixed.

@tuxayo
Copy link
Author

tuxayo commented Nov 23, 2022

@robinpaulson problem still there, with 1.1.1 from F-droid it doesn't ask me to use simple rt app for this usb accessory.
Neither to allow it to work as a vpn app. It tells me no installed app is compatible with this USB accessory.

With this: https://github.com/iteratec/SimpleRT/releases/tag/v1.2.3 it works as expected.

PC counterpart version: 20211207_e9760dd (current master)

phone: Samsung Galaxy S4
OS Android 7 (LineageOS for microG 14.1)

@SSD2019
Copy link

SSD2019 commented Dec 19, 2022

Increasing the version number in the server version code fixed the issue for me. This repo and the current 1.1 version in F-Droid.

diff --git a/simple-rt-cli/src/adk.c b/simple-rt-cli/src/adk.c
index 7631151..45b2b45 100644
--- a/simple-rt-cli/src/adk.c
+++ b/simple-rt-cli/src/adk.c
@@ -233,14 +233,14 @@ accessory_t *probe_usb_device(struct libusb_device *dev,
             .request_type = LIBUSB_ENDPOINT_OUT | LIBUSB_REQUEST_TYPE_VENDOR,
             .bRequest = AOA_SEND_IDENT,
             .wIndex = AOA_STRING_VER_ID,
-            .data = "1.0",
+            .data = "1.1",
         },
         {
             .str = "url",
             .request_type = LIBUSB_ENDPOINT_OUT | LIBUSB_REQUEST_TYPE_VENDOR,
             .bRequest = AOA_SEND_IDENT,
             .wIndex = AOA_STRING_URL_ID,
-            .data = "https://github.com/vvviperrr/SimpleRT",
+            .data = "https://github.com/robinpaulson/SimpleRT",
         },
         {
             .str = "serial number",

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

No branches or pull requests

3 participants