[Q] Asking to sign in when no sign in required WiFi - Android Q&A, Help & Troubleshooting

I have a verizon hotspot for the road so I have connection while traveling. It always worked great, however now on Android 5.1, half the time when the phone connects to the hotspot, it asks me to "Sign into network". I click the sign into network, and there is nothing to sign into and it connects.
The problem is, I am trying to make it all automatic. When I lose data from my carrier, Wi-Fi is turned on and connects to the hotspot. That's when the "Sign into network" pops up. If I don't click the the sign into network notification within a couple minutes, Android flags that network as having no internet, and won't automatically reconnect until I forget the network and connect to it again.
Does anyone know why android keeps asking to sign in to the network when there isn't anything to sign into? When I click sign into network, it brings up the sign in activity, shows a loading bar, then the sign activity goes away and I'm connected.
Perhaps there is a way to automatically 'click' the "Sign into Network" notification when it pops up?

I solved it. I'm not sure why Android keeps wanting me to login (perhaps the verizon hotspot is logging every connection, and Android sees that as a captive portal). Every time I got the "Sign into Wi-Fi network", it was when I still had some sort of mobile data connection. Now, because Android switches to mobile data if you need to sign in to a wifi, it never tries to get internet on the wifi until the user actually taps the notification to sign in.
Now, if there is NO mobile data connection (both wifi and mobile signals have an exclamation mark), Android will keep trying to gain access to the WiFi without user interaction. Because of the initial confusion, Android thinks I need to login to the hotspot, but if it would check again, it would see that there is access.
So the solution is to detect if there is a notification for "Sign into Wi-Fi network", and if there is, disable mobile network data until the Wi-Fi network is connected. I did this in a bit of a different way for my application, but the concept is the same.
This is the solution for all of those apps that automate WiFi logins with real captive portals that broke with Android 5. The only downside is they would now require root in order to disable mobile data.

Related

Post-ICS hotspot issues

Running stock, clean install of .12. My Hotspot (which I do pay for, so that isn't the issue) isn't behaving at all. The phone is broadcasting the network and devices can authenticate, but they're not being routed to the Internet once they're in. "Limited connectivity" or "No Internet" statuses on my PC, lack of IP config details on my iPod/Pad.
I called VZW support last night and the guy had me shut the phone off, then he reset something on his end and had me turn it back on again. For an evening it ran like a top. Today I'm right back where I sarted. It *can* work, it just isn't.
Interestingly, when I run Mobile Hotpot, it gives no indication of trouble, but in the Tethering & mobile Hotspot menu in Settings, when i run the Hotspot, I get "Error" showing up in there. Doesn't say what kind of error, no detail/debugging, just "Error."
To recap:
ICS .12, stock
WiFi network ok, Routing not (apparently)
"Error" in settings when Hotspot is on.
Only thing I've seen that sounds anything like this was an APN issue on a different carrier's ICS phones post-update. I'm stumped at this point and like my odds better here than I do calling Verizon again...
I am having the same problem after OTA ICS, I can turn my hotspot on and it says connected to 1 device (my laptop) and when I try to connect to the wifi it takes a while and says "limited connection" and will not work. If I go to my mobile settings it says hotspot...error. usb tethering (internet connection mode) still works but the wifi hotspot doesnt at all, I thought they were supposed to fix this!

Local WiFi and LTE simultaneously.

Hi everyone, I have a question that i can't quite seem to find an answer to any where i look.
I am a recent android convert, i had ios on my iphone and ipads for many years. I use a wireless hard drive that has its own wifi signal, which i connect my devices to. The problem with doing this is that the device thinks then that it should get all of its internet from that wifi connection, which of course, being a hard drive, it does not have.
To get around this what i have done is go in my IOS configuration and remove the "default gateway" or "router" or whatever you want to call it (depending on your networking background), and then iOS knows to go ahead and not use wifi and continue to send any non local traffic over LTE.
My Samsung Note 5 doesn't seem to want to do this. First thing, when i try to remove the router/gateway from the ip address configuration in wifi, the "save" button is grayed, meaning i cannot save a blank gateway. I located an app on the app store called "wifi settings" which was suggested to use to set the router to nothing, but still this did not work, really what it did was save a 1 in the router/gateway field and caused nothing to work, not even local traffic.
The Note 5 has a "smart network switch" option which is apparently to detect a poor wifi signal and switch to LTE, if i enable this, the phone does realize that the wifi connection to the wifi hdd doesn't have an internet connection, but terminates the wifi connection, thus killing my connection to my hard drive.
My question, does anyone know how to configure the wifi on android to access local resources via wifi while still using the 3g/4g connection for internet traffic?
Any help would be appreciated. Thanks much.

Can I get my device to auto-connect to WiFi without internet?

Hi everyone,
I own a Nexus 5 and I am running stock firmware, Android 6.0 MRA58K, unrooted and bootloader locked. I use this device at work and frequently connect to a WiFi LAN that has no internet connection (by design -- I use it to talk to other devices on the network). In older software versions (I believe back in the KitKat days if I recall), I could simply turn on the WiFi slider on my phone, and it would automatically connect to the network, and I could immediately start talking to the devices I need to (this was excellent!). Then when Lollipop first rolled around, it would still connect to the network automatically, but it would realize that there's no internet connection, so it would then prioritize the Cellular Data network, preventing me from communicating with my network devices. So I had to do an extra step by disabling my data connection, then things would work properly again. (Of course, this also meant that when I wanted to jump off the Wi-Fi, I would need to re-enable Cellular Data.)
Nowadays, Android seems to remember that my WiFi network doesn't have an internet connection, so it never joins it by default (very frustrating!). So every time I want to jump on the network, I need to turn on WiFi, then manually select the network to join, then go into the Data section and disable cellular Data, and then things would be working fine. Of course, if I ever walked away from the Wi-Fi range and then came back, I would again need to manually select the network.
And now with this lastest Marshmallow update, a new Notification pops up every time I join the Network that says:
"Wi-Fi has no Internet Access. Touch for options." When touched it says, "This network has no Internet access. Stay connected? Yes/No" There's also a checkbox that says, "Don't ask again for this network". Every time I check that box, and say YES to stay connected. And yet each and every time I connect to the network, this notification appears again! (The checkbox seems to do nothing). I've looked at the Advanced options in the Wi-Fi settings, and nothing there seems to help.
So my question is, is there a way for me to go back to the "good 'ole days", where I can get my phone to automatically join this WiFi network, and still prioritize it over cellular data?
If need be, I'm perfectly fine with rooting/unlocking my phone, if I need to install some custom firmware or whatever.
Thanks in advance for any suggestions you might have!
-Tom

Sign into WiFi prompt??

Maybe a stupid question here but is there anyway to turn on a notification for this? I have to use the guest wifi at work which requires agreeing to terms of service. On my previous phone (S6 Active) once connecting to the wifi I would get a notification to Sign in to Wifi, i could tap it and it would bring up a browser and go to the sign in page. On my S9+ however I don't get any notification to sign in. Looking through the wifi settings I don't see any option for it. Am I missing something?
Wow. No one?
My phone prompts me when Xfinity wifi or otherwise is nearby and requests me to do so. Check wifi settings. Click on wifi, advanced, and it's in there.
Ciloteille said:
My phone prompts me when Xfinity wifi or otherwise is nearby and requests me to do so. Check wifi settings. Click on wifi, advanced, and it's in there.
Click to expand...
Click to collapse
I get prompts for nearby wifi's and I see that option. That is not what I am talking about though. The guest wifi at work is saved in my phone so when i get there it connects automatically but I don't have internet access until i agree to terms on the sign in page. On my S6 Active, after connecting, I would get a prompt telling me that i need to sign into the network, I would tap it and it would bring up the sign in page. I am no longer getting that prompt. On my S9+ it connects and thats it. There is no visible indicator of not having internet access.
The reason this is an issue for me is because the guest wifi disconnects sessions after a set amount of time. Both phones automatically reconnect but on my old phone i would have that notification, on this phone I don't.

[Question] Forced VPN connection shows Wifi "no internet" notice (with internet)

[Question] Forced VPN connection shows Wifi "no internet" notice (with internet)
Hello,
I've setup Android 9.0 (LineageOS) with an always on VPN (with OpenVPN),
https://i.imgur.com/yGm9knQ.png
and configured AFWall to ensure internet only through VPN.
https://i.imgur.com/Y6aacHr.png
While everything is working correctly (internet works, even with mobile data off), Wifi shows a "no internet" notice. Is there a way to correct this?
https://i.imgur.com/yTRlsp1.png
If not, it's not a big deal as it's really an aesthetics issue, functionally it works.
Thank you for any advice.
Edit: Also noticed, if I disable Wifi and leave mobile data on, mobile data will then have a "no internet" notice (while internet still works).

Categories

Resources