Can't get hotspot to work with vpn (lollipop) - Galaxy S 5 Q&A, Help & Troubleshooting

I recently put rooted Lollipop PB1 on my SM-G900V (verizon), put AFWall+ on it, and thought all was good. However, when I restart my phone I can use wifi and VPN fine, but mobile hotspot tries and fails, even if I manually disconnect VPN first. I restart again and mobile hotspot works fine, but if I disconnect then VPN using native android interface is always "unsuccessful." I've tried OpenVPN client and PIA client instead of the native one but to no avail (I think the PIA one made it so my wifi couldn't come back on until a restart). Yes, VPN, OpenVPN and PIA are enabled in AFwall+ (wifi, mobile, vpn boxes).
It seems like restart is a toggle to use vpn, restart again to use hotspot, but not both. something wacky seems to be going on with the radios.
I suppose if I had to choose I can just restart and just use mobile hotspot and forgot about vpn, but I am just wondering if there's something obvious I've overlooked since it'd be great to be able to use both.
Thanks for reading.

It seems my network stack is messed up. With AFwall uninstalled, I'm getting DNS errors connected to wifi and/or mobile. I've unfrozen all system apps except Peel Remote, and nothing system-related is Greenified.
Changed DNS server from this tip here and rebooted. Wifi and data work now.
How could DNS have gotten corrupted? Should I just do a factory reset?
Testing to see if this fixed original problem.

Ok, the above DNS change did fix the original problem.
I restored AFwall+ from Titanium backup (app + data).
Ran wifi with VPN. Check.
Turned off VPN and ran hotspot. It tried, tried, and worked third time.
Turned hotspot off, enabled wifi, and ran VPN. "Unsuccessful."
Uninstalled AFwall+.
Wifi on, ran VPN. Fail.
Turned off wifi and ran hotspot with mobile. VPN works.
Turned off hotspot, turned off mobile, turned on wifi. VPN fails.
Restarted.
Wifi on, VPN on. "Unsuccessful" once ....then connected.
Wifi off, data on, hotspot on. Success.
Wifi on, data off, VPN? "Unsuccessful"
Try again manually. Success.
So it seems that I did something in AFwall+ that really messed up my network stack.
Is there an easy reset or fix to get things more stable again?

Related

WPA2 WiFi not working on GB

After installing the rooted GB leak, I can no longer transfer data on WPA2 protected WiFi access points. I can successfully connect and receive an IP address, but data just doesn't work. All of my apps say that there is no data connection.
I have tried two different access points from 2 different manufacturers and no luck.
Been working fine for me so far. I use 2 different APs with WPA2 (router at home, and i use my laptop as a wifi bridge to my phone while i'm at work via connectify and i have that set up with WPA2 as well).
Possible Suggestions:
-Toggle airplane mode on/off once to have it reset the wireless, or just reboot. See if that helps at all.
-If that does nothing, go into your wifi settings and tell it to forget those wifi networks (long press on the name). My guess is that something got screwed up there.
EDIT: Oh, and i guess i'll just go ahead and suggest the same answer that seems to fix most other GB related issues at the moment: Make sure you did the Wipe/Factory Reset. Could be some incompatible data lingering from the previous install.
Thanks for the suggestions, but I have tried all of the easy stuff already. I even re-sbf'ed (that is a word isn't it?) wiped and re-installed GB. Still no dice...
Same issue here.
Got into work today and could connect with Cisco WA point but no internet.
Changed the security to wep and then internet works fine.
Will check it tonight with my home setup.
-bob

Re: [=ROM=][5.0-OE1|OG5][900V] OptimalROM R14-4|15 *SILKY SMOOTH*FAST*STABLE* 08/19

Re: [=ROM=][5.0-OE1|OG5][900V] OptimalROM R14-4|15 *SILKY SMOOTH*FAST*STABLE* 08/19
johnnybg00d said:
Hi Bigbot -
I am using your 15-1 beta deodex and found something weird. Actually it happened on previous rom too, but did not verify it on other rom, only found out this time time around. I'm on the latest BOG5 firmware and the only way to fix this is to reboot the phone.
When I have WIFI ON, internet is fine.
When I turn OFF WIFI and use data, internet is fine too.
Turn ON Mobile Hotspot from data, internet is fine too.
BUT...., If I were on WIFI AND internet is fine, I turn ON Mobile Hotspot. I got a warning saying that "turning on Mobile Hotspot will turn off WIFI". I press OK and check internet, it is fine. And this is where it gets weird, if I turn OFF Mobile Hotspot and turn ON WIFI, my WIFI connects but NO INTERNET. Check my router and router said phone is CONNECTED, but phone has no internet. Ping the phone from the other computer connected to the same router return fine. Phone cannot ping anything on the same router or to the internet. The ONLY WAY to resolve the WIFI internet now is to reboot the phone.
BUT.... if I were going from WIFI to Mobile Hotspot by turning OFF WIFI FIRST, WAIT a few second and then TURN ON Mobile Hotspot. When I go back to WIFI, it is FINE. I CAN connect to internet. It is only when I allow the system to turn OFF WIFI by itself to activate Mobile Hotspot will I loose my WIFI internet when I reconnect back to WIFI.
Do you know what is going on? It seemed like if the system turn OFF WIFI by itself to connect to Mobile Hotspot, it is also doing something more that when you turn ON WIFI it won't connect to the internet.
Hopefully you understand what I'm going through. It's been a few weeks like this that I finally find out the culprit.
Click to expand...
Click to collapse
I noticed the same thing yesterday. As a matter of fact, I am currently on jrkruse's OG5 rom and the same thing happens.
Jihoonie said:
I noticed the same thing yesterday. As a matter of fact, I am currently on jrkruse's OG5 rom and the same thing happens.
Click to expand...
Click to collapse
Delete the SPG folder in system/app
Thanks. Not sure how I started a new thread by responding to that post. Dang xda app

[Problem] Wifi Hotspot without internet connection

Since the last official update I'm always having problems when I turn on my wifi hotspot to use my other phone with the Zenfone Zoom Data.
When I turn it on it doesn't work, my connected devices show "no connection" when connected to the wifi hotspot, I manage to get it working always swearing while I reset the wifi and data settings, I turn on and off the data and the wifi hotspot. Sometimes I have to go to the VPN and re-tap on the correct VPN in use (that is already selected) and then the connection will stat working on my connected devices. Often I have to repeat those steps many times.
The other weird thing is that when I'm using the Zoom S as wifi hotspot, the connection on the phone itself stop working. It works only on the connected devices.
Never had those problems with previous android phones I had (several Nexus, a Note 3 and an Ulefone Power). I use the wifi hotspot really often since I still use my Note 3 and this is really frustrating.
EDIT Maybe I posted this in the wrong section. My mistake sorry. If some mod can move this I'll be glad.
try adding ",dun" to the access point types under the APN settings. I had a similar issue that fixed it.
Last week I used my Asus 3 Zoom to give my laptop internet by Wifi hotspot. Worked flawlessly.

[10 (9th gen)] format to stock

I guess I bought the wrong tablet for my kid because the stock tablet family management is terrible and no root. I tried to setup a limited version of my adult account with sideloaded google play and blokada but blokada stopped working and the app icon disappeared(or never appeared and I didn't notice till it stopped working). It seems blokada also broke my wifi settings as the network connects but no internet. I tried to reset to factory but I guess that does not reset whatever blokada changed because the network always has no internet. No vpn settings anymore... guess that got changed. I am able to tether to my phone hotspot and get internet but not my home wifi. I suppose I could change the SSID but then I would have to reconfig 2 dozen devs not fun. How can I get the stock ROM? Or, how do I get my wifi settings reset?
created a guest network with a new ssid but same no internet, it dont like this ap for some reason.
Yep, something buggy with 8.8.8.8 haunting DNS entries. Noticed my phone was giving out ip6 dns so I turned on ip6 for my local network and the crap tablet is working now.

Hotspot Issues

Hi-
Just installed LineageOS 17.1 on my Moto G7. When I enable Hotspot, my phone loses mobile data altogether, and I can't get it back until I reboot. I can still ping google DNS servers (8.8.8.8). When I try to use Private DNS to dns.google, I get "couldn't connect". So, it seems like the hotspot is interfering with the phone's ability to resolve hostnames somehow.
Mobile data works fine all other times, and I spent a couple hours on the phone with my carrier, and there's nothing wrong on their end (phone also reports it's still connected to the LTE network).
Any help would be appreciated.
Thanks!
Update:
Just did the August 16 update -- no change. Here's some more information:
When hotspot has killed internet access on mobile data:
I cannot ping any hostname (I cannot ping websitename);
I can get DNS resolution (I can resolve websitename to 172.217.9.196);
I can ping 172.217.9.196;
BUT, I can't get my browser to load a webpage with 172.217.9.196 (on my phone; it works on my computer).
I also appear to be connected to the local cell towers -- just can't get access to their internet.
None of this goes away when hotspot is turned back off, although if I turn wifi on, I can get access to internet again.
Weird stuff -- especially the DNS resolution that works but doesn't allow me to load a page.
Actually, it looks like I am NOT getting DNS resolution for sites other than google. Instead, I get something about a Canonical name ....

Categories

Resources