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

Android 9 pie compatibility ? #46

Closed
M86xKC opened this issue Nov 23, 2018 · 17 comments
Closed

Android 9 pie compatibility ? #46

M86xKC opened this issue Nov 23, 2018 · 17 comments

Comments

@M86xKC
Copy link

M86xKC commented Nov 23, 2018

Hi there

I'm on android pie now,
If I route the connection through the pre-configured system hotspot into the VPN Hotspot app it does not load anything in the computer connected, but dns works fine. weird ?

but when I create a temporary hotspot directly in the app the connection works and everything load from the connected computer.

when I was on android 8.1 I'm pretty sure it all worked just fine, but I really don't know what is the issue causing this !

@holwell
Copy link

holwell commented Nov 27, 2018

I also have the same problem and i'm also on Android pie.

When i create the pre-configured system hotspot,it will show a interface that “Modify the prompt”.While i create atemporary hotspot it won't show anything and work well.So i think they maybe worked via different ways.

Because the problem exsists,i should type the temporary password every time.😂

hope the author to have times and energy to solve this problem!

@M86xKC
Copy link
Author

M86xKC commented Nov 27, 2018

I've gone back to oreo because of the this bug till it gets fixed.
I depend on this tool (VPN Hotspot) as a primary tool that I can't live without, so kudos to the developer for working hard on this awesome foss project!

i should type the temporary password every time.joy

I also tried that, but I have half a dozen of devices so can't do that anymore

@Mygod
Copy link
Owner

Mygod commented Nov 27, 2018

Hey, thanks everyone for the support.

hope the author to have times and energy to solve this problem!

Just a quick announcement that I'm currently occupied with other work (more about this at XDA). I'll get back to these issues when I got time.

Just for a quick update, this app is tested thoroughly on Android Pie, in fact I'm using it on a daily basis on an Android 9 phone, so it's probably not caused by incompatibilities with Android 9.

@pupyc Thanks for the very nice comments. Please attach debug information.

@FebruaryVey I believe you are talking about an entirely unrelated issue. Please open a separate issue to elaborate on your issue. Also does turning on system hotspots via system's UI show you that interface as well?

@M86xKC
Copy link
Author

M86xKC commented Nov 27, 2018

I've installed a clean installation of pie.

if you need anymore logs please let me know

also I did not change any default configuration in the app settings.
I'm using the OpenVPN for Android

in fact I'm using it on a daily basis on an Android 9 phone

did you change any settings (Upstream network interface, Fallback upstream interface ...etc)

@M86xKC
Copy link
Author

M86xKC commented Dec 5, 2018

@Mygod what client are you using on your Android phone for the VPN? (OpenVPN for android, me)

and can you please send settings configuration, so I can make sure that it is not a problem with my configuration?

@Mygod
Copy link
Owner

Mygod commented Dec 5, 2018

I believe I have tested both OpenVPN (de.blinkt.openvpn) and Shadowsocks (com.github.shadowsocks). And based on stats from Google Play, >1k users are using this on Android 9 (more than people using it on 7.1) so I believe it is likely to be a device-specific issue.

Here's a brief documentation of all the settings:

Upstream

  • Upstream network interface: leave blank for auto detect. Put none to suppress tethering VPN. Put your interface name for tethering WireGuard.
  • Fallback upstream: fallback is used when some VPN leave certain routes fallback to default network interface. Leave blank for auto detect. Put none to forbid falling back. Put other interface name if you feel like it.
  • IP Masquerade: Source address/port from downstream packets will be remapped. Leave on if you don't know what it does. I find turning this option off sometimes works better for dummy VPNs like ad-blockers and socksifiers (like Shadowsocks). But you should never turn it off for real VPNs like OpenVPN, WireGuard, etc.

Downstream

  • Disable IPv6 tethering: Turning this option on will disable IPv6 for system tethering. Useful for stopping IPv6 leaks as this app currently doesn't handle IPv6 VPN tethering (see IPv6 tethering #6).
  • Fallback DNS server[:port]: Only used when a DNS server isn't found on the upstream interface.
  • Enable DHCP workaround: Only used if your device isn't able to get your clients IP addresses with VPN on.

@M86xKC
Copy link
Author

M86xKC commented Dec 5, 2018

so I believe it is likely to be a device-specific issue.

Me too, but don't know why it is working on oreo and not pie

@M86xKC
Copy link
Author

M86xKC commented Dec 6, 2018

I've test another vpn app (orbot (tor)) just for the sake of testing, and it works fine,
but for some reason when I try to connect to my own VPN server through (OpenVPN for android) it does not work, also note that I've tested other servers along with mine,
but it seems the problem is the way I configure OpenVPN,
So I tried a fresh installation again and did not change any OpenVPN settings, and still it does not work!

So now my question is Do you use OpenVPN for android and a client for your VPN ?
if yes, can you please send me your particular configuration to duplicate it here and see if the issue still persists?

@M86xKC
Copy link
Author

M86xKC commented Dec 18, 2018

after a little bit of tinkering with the options and toggles I found out that, this issue is cause by
Settings > System > Developer options > Networking (Section) > Tethering hardware acceleration

Disable the options to solve the problem (by default it was on for me).

@M86xKC M86xKC closed this as completed Dec 18, 2018
@Mygod
Copy link
Owner

Mygod commented Dec 19, 2018

This app should warn you if you have that option on. Did you see that warning before?

@M86xKC
Copy link
Author

M86xKC commented Dec 19, 2018

@Mygod no

@Mygod
Copy link
Owner

Mygod commented Dec 19, 2018

Huh if you turn the option back on, can you see the warning in the app?

@M86xKC
Copy link
Author

M86xKC commented Dec 21, 2018

@Mygod no notification , no warning .
Maybe adding that to "Q & A" section will be better.

@Mygod
Copy link
Owner

Mygod commented Dec 22, 2018

screenshot_20181222-122058_vpn_hotspot
Here's how the warning should look like. I guess the check doesn't work for everyone either. I'll update readme about this.

@M86xKC
Copy link
Author

M86xKC commented Dec 22, 2018

Hah I thought it was a pop-up or a pop over, will clear data and check again.

@Mygod
Copy link
Owner

Mygod commented Dec 22, 2018

I made it this way to make it less annoying. There's no need to clear data (or restart app).

@Mygod
Copy link
Owner

Mygod commented Dec 26, 2018

Documentation in #46 (comment) has been moved to README and will be maintained there.

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

3 participants