-
Notifications
You must be signed in to change notification settings - Fork 96
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
Launch service over adb? #34
Comments
Hi. i suppose, it's possible. Give me some time to research this issue |
FWIW, gnirehtet uses a control service with .START and .STOP intents In the meantime, it's a bit ugly but setting the usb config will toggle the interface and start the VPN:
The VPN confirmation dialog can also be detected:
and dismissed:
I need to test a couple different releases to see if the permissions dialog is the same but it looks like it is at least possible. It's a shame that the dialog comes up after every reboot. That said, it would be a lot cleaner if:
|
@pmeenan How are you getting on with this? Have you found any further info, or a suitable workaround? Or anything else relevant? |
I went a different path and updated a fork of vpn-reverse-tether |
Is it possible to start the service directly without requiring physically detaching and re-attaching the USB cable?
In an automated lab environment we may be rebooting devices remotely and managing the state of the device over adb and it is pretty critical to be able to start/stop remotely. It feels like I'm pretty close but may be missing something:
Stopping it remotely (and cleanly) is pretty easy:
The text was updated successfully, but these errors were encountered: