establishing VPN connection not possible from wifi - Huawei P20 Pro Questions & Answers

Hi,
at first sorry for my english, it's not my main language. At second, I searched but didn't find anything here about my issue.
I set up 2 vpn connections in my P20 Pro (one to work, one to my home). Both vpn connections are working if I am connecting from mobile network connection. But the connection won't establish when trying to connect from a Wi-Fi (doesn't matter which, tried several different Wi-Fi's). The ports are open, the credentials etc. are correct and it's working from Wi-Fi on another Smartphone without problems.
I go to the vpn-menu, hit connect and 1 second later I get the message "not successful" for both connections.
Does anyone have an idea what could be the problem? Is it a known problem?
Thank you in advance
Best
Sefari

what were the vpn that u hv tried?
Sefari said:
Hi,
at first sorry for my english, it's not my main language. At second, I searched but didn't find anything here about my issue.
I set up 2 vpn connections in my P20 Pro (one to work, one to my home). Both vpn connections are working if I am connecting from mobile network connection. But the connection won't establish when trying to connect from a Wi-Fi (doesn't matter which, tried several different Wi-Fi's). The ports are open, the credentials etc. are correct and it's working from Wi-Fi on another Smartphone without problems.
I go to the vpn-menu, hit connect and 1 second later I get the message "not successful" for both connections.
Does anyone have an idea what could be the problem? Is it a known problem?
Thank you in advance
Best
Sefari
Click to expand...
Click to collapse

Sefari said:
I set up 2 vpn connections in my P20 Pro (one to work, one to my home). Both vpn connections are working if I am connecting from mobile network connection. But the connection won't establish when trying to connect from a Wi-Fi (doesn't matter which, tried several different Wi-Fi's). The ports are open, the credentials etc. are correct and it's working from Wi-Fi on another Smartphone without problems.
I go to the vpn-menu, hit connect and 1 second later I get the message "not successful" for both connections.
Does anyone have an idea what could be the problem? Is it a known problem?
Click to expand...
Click to collapse
I had the same issue. VPN connection was correctly set up to an AVM Fritzbox 7490.
Always used to work with my previous phone, stopped working when I started using my new P20.
When I read your comment a few minutes ago, the VPN connection (no settings changed) all of a sudden worked when I checked.
You may want to retry and check if it works. I don't know if some firmware update fixed the problem in the meantime, but now it works on my device.
Oliver.

I'm using Tunnelbear VPN on my Pro, and so far no problems with using it on wifi. Maybe just restart your Pro.

osu_gmx said:
You may want to retry and check if it works. I don't know if some firmware update fixed the problem in the meantime, but now it works on my device.
Oliver.
Click to expand...
Click to collapse
I have to correct myself here.
Unfortunately it looks like after a fresh reboot the VPN connection over WIFI works. Then after a couple of hours, it fails. Whereas the VPN connection over mobile data works a few seconds after the failed WIFI attempt.
Rebooted - VPN connection over WIFI successful again.
Pretty annoying.
Oliver.

Hi,
sorry, I forgot to post here. For me it worked after turning off "WiFi-Calling" and restarting the phone. I also would like to have WiFi-Calling because of bad cell reception at work but VPN is more important for me.
To be clear, this issue only persists when using integrated android VPN functionality. I didn't try other VPN-Apps from the play-store or somewhere else because I don't use 3rd party VPN-connections.
I didn't try to enable Wifi-Calling and testing VPN after the last upgrade (last week or so). Maybe they fixed it?
Best
Sefari

Sefari said:
...To be clear, this issue only persists when using integrated android VPN functionality. I didn't try other VPN-Apps from the play-store or somewhere else because I don't use 3rd party VPN-connections...
Click to expand...
Click to collapse
Interesting; I didn't know Android now has built-in VPN; going to check it out. (Awhile ago, I decided to go with either Tunnelbear or OpenVPN because they seemed to be the only VPNs that had independent security audits done.)

Related

The massive wifi problem that many experience

When I turn on my phone at work, the wireless connection (open unsecured) connects and works for a few minutes. After some time, it disconnects and without rebooting my phone, I cannot establish a wlan connection.
This is oly the case at work. At home it works flawlessly, but it is another network kind.
Anyone found a solution to this problem? I saw a lot of threads about this but no good answers.
I am using duttys v3.
Not sure. Perhaps there is some sort of time out on your work network for inactive devices, or dhcp ip releases or something weird and "networky" like that?
Or perhaps your phone is going into a power save mode if you are not using it?
Just general ideas, I don't have this particular problem
I dont think many people have this issue! you must not have a setting correct, try downloading KaiserTweak and adjusting the timeout and also take a look at the routers settings I find it strange that a business would have an open network for security issues
austinsnyc said:
I dont think many people have this issue! you must not have a setting correct, try downloading KaiserTweak and adjusting the timeout and also take a look at the routers settings I find it strange that a business would have an open network for security issues
Click to expand...
Click to collapse
I work at the university, and the network is unsecure. You have to enter login and pass at a webpage to gain access.
I cannot reconnect at all once ive been disconnected. So it should have anything to do with kaisertweak or timeouts.
I have tried every setting and combination. I have tried to select work/internet settings. Ive tried to tell the phone its a hidden network / not hidden network. I have tried to use power save / performance mode. Ive tried to turn off 3g, bluetooth, phone (everything basically).
When I tap connect, it says connecting and then it immediately goes to "active" and tries to connect to another network (which I dont have access to).
solwretep said:
When I turn on my phone at work, the wireless connection (open unsecured) connects and works for a few minutes. After some time, it disconnects and without rebooting my phone, I cannot establish a wlan connection.
This is oly the case at work. At home it works flawlessly, but it is another network kind.
Anyone found a solution to this problem? I saw a lot of threads about this but no good answers.
I am using duttys v3.
Click to expand...
Click to collapse
I have worked out the problem.. first if its a WPA enterprise connection, make sure its set to WORK and not INTERNET setting. it will work. my only works with schaps versions not duttys
on my old pda (Acer N50 premium) I had the same problem with my unis network... it would only work (if at all) for a few minutes then nada... but at home it was absolutely fine, quick stayed on and totally responsive... I wonder if it has something to do with the rubbish way unis run their IT...?
Wasted thread
Many do not have this issue.
According to what's being said here by the indiviuals with issues, you're having problems connecting to a certain network...not all networks.
If it were all networks; your device, settings, equipment or rom would be the common denomenator. Since it's one network, it's that network.
Just because a network is or appears to be available, that doesn't mean that you can connect to it.
dwny said:
Wasted thread
Many do not have this issue.
According to what's being said here by the indiviuals with issues, you're having problems connecting to a certain network...not all networks.
If it were all networks; your device, settings, equipment or rom would be the common denomenator. Since it's one network, it's that network.
Just because a network is or appears to be available, that doesn't mean that you can connect to it.
Click to expand...
Click to collapse
no, it could be the phone software. Lets says that a string is added to the registry if the network you are connected to disconnects you; a string that makes the phone cancel connections to the network. And lets assume that the network disconnected you because there is a hidden firewall in the phone software that blocks ping requests, thus making the network believe that the connection is lost and thus disconnecting you. Then we have a moment 22, which is basically something wrong with the phone.
As some readers already pointed out in this "wasted thread", when changing the rom (in one case) or when changing settings from "internet" to "work" (in the second case) there is a great possibility that this problem in fact has to do with phone software and not network.
In my case, it just happens to be neither of the mentioned solutions or any solution that I have found in other threads.
One thing you may want to check is that your wifi is set to max performance. The issue may also be that there is a DNS cache issue, in most cases it can be resolved by manually reconfiguring the connection.
I have been successful in configuring my phone's WLAN to connect to everything from open APS's, WEP, WPA, RADIUS and AP's with proxy redirects, so I can tell you that as with most cases, it's human error.
I have tried max performance.
How do I resolve a dns cache issue? Manually reconfiguring the network did not help (only thing that helps is a reboot).
seattleweb said:
One thing you may want to check is that your wifi is set to max performance. The issue may also be that there is a DNS cache issue, in most cases it can be resolved by manually reconfiguring the connection.
I have been successful in configuring my phone's WLAN to connect to everything from open APS's, WEP, WPA, RADIUS and AP's with proxy redirects, so I can tell you that as with most cases, it's human error.
Click to expand...
Click to collapse

[Q] VPN issues

Hi All,
I am having issues when trying to connect to my work VPN. I need VPN access in order to check my work email and browse an internal website.
Now, the VPN always connects, either on 3G (in UK) and wifi.
However, even if it says "connected", I am not able to download emails orbrowse the intranet unless when connected to my home wifi and sometimes on mobile internet.
If connected through other wifi networks (recently tried on a hotel free wifi, in the states and on a private home network, in Croatia), the connection itself seems to go through some sort of bottleneck, and no emails or browsing is then available.
I am blaming the phone itself, since my colleague had no problems whatsoever on his iPhone.
I am on Galaxy Note, non rooted, Vodafone UK.
Please help, this issue is making my Galaxy Note almost useless.
ponch10 said:
Hi All,
I am having issues when trying to connect to my work VPN. I need VPN access in order to check my work email and browse an internal website.
Now, the VPN always connects, either on 3G (in UK) and wifi.
However, even if it says "connected", I am not able to download emails orbrowse the intranet unless when connected to my home wifi and sometimes on mobile internet.
If connected through other wifi networks (recently tried on a hotel free wifi, in the states and on a private home network, in Croatia), the connection itself seems to go through some sort of bottleneck, and no emails or browsing is then available.
Click to expand...
Click to collapse
just FYI I'm also on UK Vodafone and I can connect fine with openVPN to my home network ... tested on 2G,3G/H+ and also on various public & private WiFi networks - always connects fine, only issue I have is that my server .ovpn tells the phone to use my home router as it's default gateway (so that I can browse securely on public wifi). This doesn't work out of the box - I need to use the openVPN app's "fix DNS" option.
ponch10 said:
I am blaming the phone itself, since my colleague had no problems whatsoever on his iPhone.
I am on Galaxy Note, non rooted, Vodafone UK.
Click to expand...
Click to collapse
errr ... I'm an android noob, but AFAIK you need root for openVPN to work? I never tried running openVPN on my note BEFORE I rooted it, but anything I've ever read says root is required?
_pigro_ said:
just FYI I'm also on UK Vodafone and I can connect fine with openVPN to my home network ... tested on 2G,3G/H+ and also on various public & private WiFi networks - always connects fine, only issue I have is that my server .ovpn tells the phone to use my home router as it's default gateway (so that I can browse securely on public wifi). This doesn't work out of the box - I need to use the openVPN app's "fix DNS" option.
errr ... I'm an android noob, but AFAIK you need root for openVPN to work? I never tried running openVPN on my note BEFORE I rooted it, but anything I've ever read says root is required?
Click to expand...
Click to collapse
What APN do you use?
I have to switch everytime to something called MyLan to connect over 3G.
I am using the stock VPN client, did not adventure myself into OpenVPN. Would that work with an encrypted VPN?
Ah, sorry - I somehow managed to read the thread title "[Q] VPN issues" as "OpenVPN issues" .. case of my eyes seeing what they wanted to rather than than what was actually there. You are of course right, the stock VPN options don't need root (and of course openVPN client will only work to talk to an openVPN server).
I did set up a PPTP server on my WinXP home machine and tested that with the note's inbuilt PPTP VPN client - it worked OK although I needed to turn off encryption, and I didn't do anything with it beyond just connecting as I was only dong it out of interest.
re. the APN - I don't actually know where to see that on the note (noob, as I said!) - when I do settings->wireless & network-> mobile networks, which claims to allow setting APN's, there is no info or settings re. the APN other than the "network mode" and "network operators" items, neither of which seem to show the APN used for vodafone data access.
Anyway, sorry for the bum steer, hope you get it sorted
_pigro_ said:
Ah, sorry - I somehow managed to read the thread title "[Q] VPN issues" as "OpenVPN issues" .. case of my eyes seeing what they wanted to rather than than what was actually there. You are of course right, the stock VPN options don't need root (and of course openVPN client will only work to talk to an openVPN server).
I did set up a PPTP server on my WinXP home machine and tested that with the note's inbuilt PPTP VPN client - it worked OK although I needed to turn off encryption, and I didn't do anything with it beyond just connecting as I was only dong it out of interest.
re. the APN - I don't actually know where to see that on the note (noob, as I said!) - when I do settings->wireless & network-> mobile networks, which claims to allow setting APN's, there is no info or settings re. the APN other than the "network mode" and "network operators" items, neither of which seem to show the APN used for vodafone data access.
Anyway, sorry for the bum steer, hope you get it sorted
Click to expand...
Click to collapse
Oh, never mind
Under mobile networks you have to go under Access Point Names, but most likely you will only have one APN, which is the regular from Vodafone.
So most likely is the encryption causing problems?
D'oh ... I thought that was a heading, didn't realise it was a clickable item! my APN is wap.vodafone.co.uk (APN type is "internet+mms").
IDK if encryption is anything to do with your issues ... I doubt it if you can consistantly connect from home wifi and sometimes from 3G - if encryption were the problem I'd imagine it would consistantly connect (or not) rather than be variable.
Maybe worth trying to ping your internal mail/intranet servers when connected and then talking to your work IT guys in case there are firewall/routing settings that you are somehow falling foul of?
Yes we are doing that, however that fact that iPhones can connect really makes me wonder!
Thread Moved To Q&A​
This is a question, and as such belongs in the Q&A Section​
there are lots of third party vpn tools and free available you can use those
Wilsonj,
Can you please suggest one third party vpn tools that works well on PPTP, with encryption?
I am not looking at OpenVPN, since it doesn't suit my needs.
Thanks!

No connection over WiFi

Hello,
I got the 2.2.1 SuperBled Rom installed on my G1.
Since a few days i cannot use the connection over WiFi.
after turning it on it finds all the access points around and also builds up a connection to my router. i get an ip from my router and everything seems fine.
but i cant use that connection, nothing is working, no market, nothing through the browser, no mails etc. the connection is displayed as connected all the time.
i have not changed any settings on the phone nor on the router.
it worked fine before. it also doesnt work with any other access points like at my uni or friends place.
i can still use the internet through mobile networks.
any suggestions what the problem might be ?
thanks in advance
cheers
I am having the exact same issue but a Rooted Nexus S with CyberGR v10.

Not working: 802.1X / WPA2 / PEAP TTLS MSCHAPV2

Hi,
I'm trying to connect to a WiFi network that is protected with WPA2 with PEAP / TTLS.
It simply is not working. No problems connecting with my HTC Desire though.
Anybody experiencing the same bug? I already installed the required root certificates, tried various combinations of user account / password. The thing is, that the network is provided by my university (Eduroam if you are familiar with that) and it is very annoying that I have to fall back to HSDPA consuming my data quota.
Cheers,
chross
Normally with eduroam wifi there isn't wpa2 or other key. Just connect your phone to it, open your browser and you will be redirect to the website of your university and then you can log with your id.
Envoyé depuis mon XT890
Yes!! This is the exact same problem I'm having with my university wifi
http://forum.xda-developers.com/showpost.php?p=33962871&postcount=2
I'd configure the settings on my uni wifi choosing PEAP and then MSCHAPV2 and put in my log in username and password according to the instruction and as soon as press connect or save it looses the signal immediately to very low and never connects. We also have eduroam as an alternative they tried that and same problem just doesn't want to connect.
It works perfect on my htc one x. I'm beginning to believe the phone has a bug.
It does have a bug. It doesn't connect to 802.11 n!
My problem was solved by reconfiguring my AVW Fritz!Box 7270 to 802.11 b+g only and limit the phones wifi frequency to 2,4ghz only. You can find that in advanced wifi configuration.
I'm lucky i only recognized this bug in my own wifi network and not others i don't have admin rights for...
eduroam works for me with PEAP/TTLS but I guess it's 802.11g
I'm on the 40002 rom, but worked also on the 31006
After receiving the 4.0.4 update yesterday, WiFi now works flawlessly.
Cheers,
chross
Hi there,
I got the same problem with my university network in hamburg. I updated the razor to android 4.0.4 (Stock-Rom: 81.5.40002.XT890.Retail.en.EU), also the phone is rooted but still not working. Our IT advices to use WPA2 Enterprise TTLS/PAP authenthication in combination with a t-com root certificate. Every time i safe these setting the wifi signal drops as told by previous posters and the connection fails. When i enter the settingspage again, all settings are reverted to default. This also happens, while trying to connect to eduroam
any further advices?
Thanks in advance!
I have no problems connecting to eduroam at Braunschweig and other citys. Maybe you can visit the IT Desk at your university?
jagwar1 said:
I have no problems connecting to eduroam at Braunschweig and other citys. Maybe you can visit the IT Desk at your university?
Click to expand...
Click to collapse
Yep, me and and a fellow student went there and told them about the problem. But they also gave up, after trying about an hour or so. It seems to be a general problem in the used android build, at least there are a lot of post reporting this at the google code repo -> code.google. com /p/android/issues/detail?id=15631 (sorry for that but I'm to new here to post links). I'll try the provided tips like changing the wpa_suplicant file tomorrow and report the results. Seems to be strange issue, if it works for you (and probably others), because a fellow student got the same Phone and has the same issues
Thought I'd just give an update as I have the same issue
Motorola knows about it, it's been reported to them before and said it'll be fixed with the next update.
Working smooth here with WPA2-Enterprise, PEAP and MSCHAPv2. Using it every day.
But I'm not using TTLS, you might want to disable that if you don't have a valid certificate for your mobile/user.
Also important, fill out the "anonymous user" field with your username. Depending on the RADIUS configuration of your IT this might be required.
[edit]
Just checked my mobile. I don't use a Phase 2 authentication, only EAP = PEAP, no certificates.
Got it working!
After 2 hours of searching the web and playing around, I got it working now, following this guide posted on google code repo:
Razr I (XT890), retail eu, running android 4.0.4 (stock), no root
after endless hours of trying i was able to connect to my university network a couple of minutes ago with the combination of two apps.
1. WiFi Connection Manager
Enter SSID manually
Security "802.1x EAP"
EAP Method "PEAP"
Phase 2 authentication "MSCHAPV2"
Identity "your identity"
Anonymous identity "your identity"
password "your password".
2. WiFi Advanced Configuration Editor
Check Hidden SSID
Key Management: unselect IEEE8021X, select WPA_EAP
AUTH Protocols: select LEAP
Enterprise configuration: make sure Identity and Anonymous Identity are set to your identity, Enter your password
check whether the settings are saved in WIFI Advanced Configuration Editor. If not switch of stock WiFi and repeat step 2 (!!!). Now it should work.
Turn WiFi on and connect to network (Stock WiFi; don't care about settings there, phase 2 authentification is still not saved)
After switching the device off and back on it did still work. Same when leaving and returning to WiFi area.
hopefully it will keep on working. i just tested the browser and play store. didn't discover any problems so far.
Click to expand...
Click to collapse
Connection is stable, but there seem to be some problems regarding to the speed. Whatever it's usable for stuff you do regularly @university.
Hope that helps others, thanks to klemens
hey.qb said:
Hope that helps others, thanks to klemens
Click to expand...
Click to collapse
Thank you for sharing, this made me so happy!
It's those two apps which made my connection possible.
My eduroam configuration is quite different, but the apps did the trick. I fiddled with advanced wifi config editor alone for hours without any result.
Now I just hammered the config into those two apps and what can I say - proxydroid reported a connection a few seconds later.
I dont't know what Moto's Problem with 802.1X is.
Defy latest stock rom - no connection. With CM -> no problem.
Milestone 2 with stock rom - no connection. With CM -> no Problem.
Rarz I no connection with stock wifi manager . . .
My fellow students with their samsung devices seem so have no problem at all. ^^
(even Win Mobile 6 works, thats a little bit depressing)
btw, speed is fine here. 16Mbit up&down is more than I need on a phone.
Greetings from Kiel.

VPN connecting issues

Well ... it seems that i have some issues connecting to a VPN server (manual connection, from Network Connections -> More Network Connections -> VPN).
I cannot connect to it from Note 8, while i can succesfully connect from Note 4 (same networks, same router, same configurations).
On Note 8 i am on N950FXXU1AQI1 fw.
I had even Factory reset it and tried again, but without success.
I am adding server log for both note 8 (red) and note 4 (green).
Can someone try to see if it works (manual VPN, PPTP type)?
-------------------
Later update: tried AnyConnect as well (to a eneterprise VPN that i use) and it DOES NOT work as well (connection failed), while on Note 4 it works without a hickup.
So it seems, that at least for me, i cannot connect to ANY VPN network, which is an major issue for me.
I've had issues with my note 8 vpn as well. I usually have VyprVpn and PureVPN. The connection is a hit or miss really. And when it does connect, it starts with no connection and then network speeds up but slowly.
Hope this helps.
i understand, but i am forced to use that VPN app as i a company constraint (AnyConnect is CISCO VPN - weidly spread in companies).
While the Android Default VPN should work out of the box ...
VPN
I use pulse secure to vpn to the company intranet.
well ... factory reseted one more time, and all is working ... really strange ..
Turn off power saving
I know this is an old thread, but I just ran across this issue myself and found that if I turn off power saving the VPN works well. I hope you had already found this or another solution.
mcorzine said:
I know this is an old thread, but I just ran across this issue myself and found that if I turn off power saving the VPN works well. I hope you had already found this or another solution.
Click to expand...
Click to collapse
Save my life

Categories

Resources