Answer the question
In order to leave comments, you need to log in
How to display an authorization window when connecting to a wi-fi network?
The task is that when you connect to a wi-fi network, a browser opens with an authorization page.
Using this article - How Windows determines the presence of an exit in ... and this one - How Windows determines an Internet connection
1. Closed any access except for a proxy
,
192.168.1.1:8080 network, the browser does not open, the system generally does not consider that it does not have access to the Internet, as if nothing had happened.
If you go into the browser and type any site, the redirect to the authorization page goes through without any problems. This is not suitable, since the user must immediately understand that he does not have the Internet, since the browser is not always needed, and the system does not tell him about it.
Where would you recommend looking? How does Windows still understand that there is or is not the Internet? Why does she think that there is access to the Internet?
Below are the results of the checks:
SQUI redirect to the authorization server:
192.168.1.72 TCP_DENIED/302 350 GET http://www.msftncsi.com/ncsi.txt - HIER_NONE/- text/html
192.168.1.72 TCP_DENIED/302 350 GET http://www.msftconnecttest.com/redirect - HIER_NONE/- text/html
Microsoft Windows [Version 10.0.18362.356]
(c) Корпорация Майкрософт (Microsoft Corporation), 2019. Все права защищены.
C:\Users\ynnek>ping www.msftconnecttest.com
Обмен пакетами с 4-c-0003.c-msedge.net [13.107.4.52] с 32 байтами данных:
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.
Статистика Ping для 13.107.4.52:
Пакетов: отправлено = 4, получено = 0, потеряно = 4
(100% потерь)
C:\Users\ynnek>ping www.msftncsi.com
Обмен пакетами с a1961.g2.akamai.net [88.221.132.25] с 32 байтами данных:
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.
Статистика Ping для 88.221.132.25:
Пакетов: отправлено = 4, получено = 0, потеряно = 4
(100% потерь)
>
> dns.msftncsi.com
Server: UnKnown
Address: 192.168.1.1
Non-authoritative answer:
Name: dns.msftncsi.com
Addresses: fd3e:4f5a:5b81::1
131.107.255.255
Answer the question
In order to leave comments, you need to log in
As far as I know, Windows checks for the presence of an Internet by DNS request ...
It is necessary to dig in the direction of the pop-up window where the network is, authorization (intervention) of the user is required. Browser will not automatically open
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question