Long-distance train travel often lasts many hours, and having a stable Internet connection becomes critical for many passengers.RZD provides free network access through branded hotspots, but owners of Xiaomi, Redmi and POCO smartphones often face difficulties when trying to log in.
The specifics of the MIUI or HyperOS shell have their own peculiarities of working with security protocols and redirects, which sometimes blocks the appearance of a window for entering a phone number or code from SMS. In this article, we will discuss in detail why the authorization page does not open, how to properly configure network settings and what hidden settings can interfere with the connection.
Technical features of the Russian Railways network and security protocols
The Russian Railways WiFi network works on the principle of Captive Portal, which means forcibly redirecting any browser request to the authorization page. Unlike home routers, where a password is entered once, it requires confirmation through SMS or personal account every time you sign in. Xiaomi smartphones are equipped with an aggressive system of traffic saving and data protection, which can perceive this redirection mechanism as a potential threat.
The problem is often that modern versions of Android and branded MIUI add-ons try to use the secure HTTPS connection by default. The provider's authorization page often works through an unsecured HTTP protocol, causing the browser to block the transition, considering the site unsafe. This is standard security practice, but in the case of public access points, it creates a barrier for the user.
⚠️ Note: When entering a phone number on the authorization page, make sure that the browser address bar contains a domain name belonging to Russian Railways or their partner.
In addition, telecom operators and smartphone manufacturers themselves are implementing Smart Wi-Fi functions, which analyze the quality of the signal. RZD_Free_WiFi If you have a weak signal or unstable ping, Xiaomi can automatically disconnect from it in favor of mobile Internet, interrupting the authorization process halfway.
Preparing the smartphone for connection
Before you try to log in, you need to do basic preparation of the device. Often the cause of failure is accumulated data about previous connections or conflicting DNS settings. The first step should always be to completely forget the network, if you have previously tried to connect to no avail.
To do this, go to the Settings. → Wi-Fi, find the network in the list RZD_Free_WiFi And click on the arrow or the gear icon to the right of the name. In the menu that opens, select "Delete" or "Forget Network" and this action will clear the connection cache and start the process from scratch".
☑️ Checking before connection
It is also critical to disable any VPN-services DNS. In Xiaomi settings it is on the Settings path → Connection and sharing → Private DNS. Make sure it has a value of "Auto" or "Disconnected." If it has an address like dns.google or 1.1.1.1, the authorization page of Russian Railways will never open, as the request will go bypass the local train network.
Step-by-step instructions: login via browser
The most reliable way to log in on Xiaomi devices is to manually call the login page after you’ve connected to the network. RZD_Free_WiFi (The status may be "Connected, no Internet access"), open any browser. It is best to use standard Chrome or built-in. MIUI Browser, as they have the fewest default ad blockers.
In the address bar, enter any site address that does not use forced encryption. HSTS. A good option is an address. http://neverssl.com plainly http://google.com (If the automatic redirect fails, try entering IP-Gateway address or special portal address, if known, but usually a request for any popular resource is sufficient.
- Open your browser and enter http://8.8.8.8 or http://detectportal.firefox.com in the address bar.
- If a page appears warning “Unsafe connection”, click “More” and then “Go to the site (not secure)”.
- Wait for the phone number entry form to load.
- Enter the number, get an SMS code and log in.
Once the code is successfully entered, the system will redirect you to the Russian Railways homepage. From now on, Internet access should be open. If the page remains white or the load indicator turns, try changing your browser. Sometimes MIUI blocks pop-ups in its browser, and switching to Opera Mini or Firefox solves the problem.
What to do if the page is white?
Configure DNS and IP for stable operation
In some cases, the standard settings of the Xiaomi network conflict with the DHCP-server of a restaurant car or a placement car. DNS It can help Resolve requests to go through correctly. To do this, click on the Wi-Fi menu and click on the network name. RZD_Free_WiFi and select "Settings" IP".
Switch mode to C. DHCP Static. Don't change. IP-address and gateway, leave them as the system suggests. scroll down to the fields"DNS 1" and"DNS 2.” As a primary DNS Try to write 8.8.8.8 (Google) or 77.88.8.8 (Yandex) addresses, which often helps to "break through" the redirect lock.
| Parameter | Default Value (DHCP) | Recommended static value | Commentary |
|---|---|---|---|
| IP-address | Automatically. | Leave as is (usually 192.168.x.x) | Don't change it unless you need to. |
| Gateway | Automatically. | Leave as is (usually 192.168.1.1) | Critical for getting online |
| DNS 1 | Automatically. | 8.8.8.8 | Helps with Domain Problems |
| DNS 2 | Automatically. | 8.8.4.4 | Backup server |
Once you save your settings, reconnect. If the Internet doesn't come up right away, run the test page again. It's worth noting that in some regions, coverage can be unstable, and changing the DNS doesn't always guarantee 100% results, but it greatly increases the chances of success.
💡
Use the Incognito mode in your browser to log into WiFi Russian Railways. This will eliminate the influence of cache, cookies and extensions that can block authorization scripts.
Solving Security Certificate Problems
Modern Xiaomi smartphones strictly monitor the validity SSL-When you try to connect to the Russian Railways WiFi, you may see a red warning that “Your connection is not secure” or “Certificate is not valid.” This is because the WiFi provider uses a self-signed certificate to intercept traffic and redirect traffic.
It is safe to ignore this warning in this context, as you are in the process of logging in. MIUI block the transition categorically, you can try the following trick: enter in the address bar http://www.google.com/generate_204. This request is specifically designed to verify that the Captive Portal is available and often forces Android to force the authorization window open, ignoring certificate errors.
⚠️ Note: After successful authorization and the advent of the Internet, it is strongly recommended not to conduct banking operations and not enter passwords from important services on this network. VPN Encrypt traffic after WiFi is fully connected and running.
Another reason for certificate errors is that your device has a time that is down, check if you have a "over the net" time. If the date on your smartphone is 2020, for example, no modern website will open, because the certificates will be considered invalid.
Use of Wi-Fi Assistant in MIUI
In the MIUI shell, there is a smart feature that automatically switches the device between WiFi and mobile Internet depending on the signal quality. On trains where the Russian Railways WiFi signal can be weak or intermittent, this feature works against the user: the phone sees poor Internet on WiFi and instantly switches traffic to 4G, breaking the connection with the authorization portal.
To disable this behavior, go to Settings → Wi-Fi → Wi-Fi Assistant (or Wi-Fi Assistant). You need to turn off the option "Switch to mobile Internet" or "Accelerate Network." It is also useful to disable the function "Select the best network automatically" so that the phone stubbornly holds on to the train network, even if the speed temporarily drops.
Disabling these features can slightly increase battery consumption, since the WiFi module will work in constant search and hold mode, without handing control to the mobile module.
Alternative methods and work through applications
If standard methods don’t work, you can try using specialized WiFi management apps, although current versions of Android have limited options, and a more effective method is using browser apps with built-in traffic compression mode, such as Opera Mini or UC Browser, which let traffic through their servers, which sometimes helps bypass local redirect locks.
There is also a cloning method. MAC-Some RZD access points can "remember" the device and not let it again if the session does not close correctly. In the WiFi settings on Xiaomi (in the advanced settings of a particular network), you can find the option "Type" MAC-Change the meaning of the address"MAC-address of the device" on "Random MAC-It's going to make the router think that a new device has connected to the network, and then it's going to offer authorization again.
⚠️ Note: Do not use third-party apps from the Play Market with names like "WiFi Hacker" or "Auto Connect" RZD". At best, they're useless, at worst, they contain malicious code that steals your data.
If nothing helps, try creating an access point from another device (like a laptop or second phone), connecting to Russian Railways WiFi through it, logging in, and then giving the internet to your main Xiaomi.This is a workaround that often saves in situations where the train's mobile client is locked or not working properly.
💡
The main problem with Xiaomi’s authorization is the conflict between HTTPS security protocol and the portal’s requirement to switch to HTTP, as well as the aggressive traffic saving in MIUI.