Connectivity check and network assessment question - General Questions and Answers

Hello,
I hope you can help me with the following questions:
When you connect to a WLAN, Android automatically determines whether it has an internet connection.
If no internet connection is detected, you are still connected to the WLAN (or a message is displayed that there is no internet connection and whether the connection should be maintained), but the data traffic is routed exclusively via the mobile network.
Now I have a network device that sends out its own WLAN but does not have Internet access itself. When I connect to its WLAN, I still cannot access the device because it recognises that no Internet connection is possible via this WLAN. Only when I explicitly switch off the mobile data can I access the device via the WLAN.
So I did some research to find out what mechanism underlies this behaviour.
What I have already been able to find out is the following:
When connecting to a WLAN, Android checks the accessibility of https://connectivitycheck.gstatic.com/generate_204. If this URL is accessible, data is also sent.
If this URL is available, data traffic is also routed via the WLAN.
So I reproduced the URL using these instructions and made it accessible locally via a redirection at my DNS server.
Now a connection to the device is actually possible via the WLAN without having to explicitly switch off the mobile data.
However, Android still recognises that no internet access is possible via the WLAN.
As I understand it, this should not be the case, since I am simulating existing access via the reconstructed connectivity check URL.
So there seem to be other mechanisms here that check the internet connection.
How exactly is connectivity checked on Android?
Can anyone tell me what other mechanisms exist here and how they can be simulated?
The second question I have also concerns the WLAN.
When I am connected to a Wi-Fi network, Android sometimes reports that the quality is low even though the Wi-Fi reception is excellent and the signal strength is also displayed as "very good".
I don't have any network rating provider active in Android.
How does Android determine that the quality is low and how can I prevent this check?
What criteria are used to rate networks without a network rating provider set up?
For completeness:
In the developer options of my smartphone, the setting "Mobile data usage always activated" is of course active.

Related

Question about Wi-Fi

Hi. I'd like to keep my phone connected to a local Wi-Fi network so that I can access a server on that network. However that network doesn't have a working internet connection. Can I keep my phone connected to Wi-Fi but let it use 3G for internet connection? Thank you
Normally when the WiFi is connected to a network the data is automatically disabled so I'd say no to your question.
But Super Download might help.
Could WiFi always scanning be used in this case perhaps? Try it by disabling your WiFi but leaving that option enabled under the Advanced settings.
Of course it wont work to use always scanning. It even says scanning in the name, meaning it simply allows the locations service to turn on wifi briefly in order to see local networks so it can use them to locate you.
What OP is asking for is not natively supported, and would probably require a bunch of modifications on a deep level.

connect to wifi device without losing cellular data

ok so im working on a wireless project, and there is 1 thing i need to check into...
let me start by saying what i have, and the goal....
1. I am using a "Router/Wifi AP" that has no internet, but it has a laptop connected to it... side note: Laptop has DHCP service..
2. Laptop produces a camera feed.. that streams to a IP (android cellphone) over UDP inside the "internet-less local area network";
ok, so the goal is to "connect to the wifi device without losing cellular data (to access google maps and other APIs)"
PROBLEM: when i connect to WiFi(internet-less local area network) on android device,, it does not use Cellular data to connect to internet/APIs
is there any special network ranges that allow the android device to connect to cellular data when connected to a wifi(with no internet)?

Service / URL to test WiFi connectivity

I'm trying to find the URL and/or process used to detect if a Android (7.1.1/7.1.2) has connectivity to the internet.
For instance, I'm connected to wifi at a airport, and confirmed that I have authenticated, however, Android detects that it isn't connected to the internet. What does Android connect to in order to verify if it has internet access, and what service is it using?

[APP][WiFi][India&Brazil]Free WiFi is My WiFi

My WiFi is a FREE application for anyone who wants to tap onto your nearest WiFi connection at ease. An added feature that My WiFi provides is a speed test which allow users to test their connecting speed range so that they are able to gain access to the Internet through a secured and flexible manner
Search "My WiFi" on Google Play and get the orange logo app
I am new here so I shall upgrade my account to devBD later ​
===== Key Features =====
Free WiFi Connection
No matter where you are, My WiFi is an all-inclusive WiFi Finder application that will be able to detect the nearest WiFi signal that is available to you, allowing you to tap onto that Free WiFi Network and surf the net as you wish for FREE. What’s more, that particular WiFi connection will be stored in your mobile device for future use if you are out and about.
WiFi Speed Test
Upon connection of a WiFi, users are able to do a simple test of how strong or weak that connection is. You will be able to see metrics such as download and upload speeds for that connected network, Furthermore, My WiFi is smart enough to recommend suggestions to you pertaining to the current online activities that you are able to do with the current network e.g. messaging, gaming, or video streaming.
Secured WiFi Connection
During the Speed test process, My WiFi is also intelligent enough to detect and deter any SSLStep attach or WiFi interception or WiFi Hijacking that may compromise the security of your phone and the contents within it. My WiFi will alert you immediately if a specific network has such an issue and prompt you to disconnect from it.
HotSpot Detection
Once the connection is successful, you are able to view and monitor the quality of your WiFi. If your personal WiFi is turned on, there will be many users that are out to connect to your hotspot, which means you need to do a password change for your current router to improve the security of your WiFi and keep the connection consistent and fast without having to compromise the speed.
Users in India & Brazil are Supported, other countries are on the go.
Download
http://play.google.com/store/apps/details?id=com.smartech.mywifi

Using internet while connected to local WIFI

I have an RV that allows me to control everything their their app as long as I am connected to the RV's local WIFI network (which doesn't provide internet).
It is obviously a terrible design as I cannot access the internet if I want to stay connected to it.
I know that about the "Switch to mobile data" option, but this doesn't work as this disconnects me from that WIFI connection. So that means I actually have to put the connection as a "Network exception" if I want it to stay connected.
Is there any work around to stay connected to a WIFI connection, but use mobile data when on that connection?
(Samsung note 10+ Android 12)
Always thought
a carrier's cellular network ( a radio network distributed over land ) is used when sending / receiving mobile data,
an internet service provider's network ( accessable via router / access point ) is used when sending / receiving data to / from internet.
All Android apps have a default network. The system decides which should be the default network.
It depends on app's configuration what connections - if available - are to be used - even simultaneously.

Categories

Resources