Xiaomi Mi router pro r3p setup

Installing OpenWRT and FreeRADIUS on a Xiaomi R3P router [Xiaomi Mi WI-FI router Pro (r3p)]

Configuring WI-FI WPA2-Enterprise with FreeRADIUS running on the router (for providing individual WPA2-Enterprise keys), SQLite (for storing these keys) and SQLite Web Admin (for easy editing of user accounts)

You can also install OpenWRT on any other router and configure WPA2-Enterprise according to the instructions from point: 5. The first full-fledged firmware setup and beyond.

First of all, I recommend that you familiarize yourself with the table of contents, since this instruction can be read by different people: someone just bought a router, someone has already deleted the basic firmware, and someone has already “OPENED” this is a miracle of Chinese router construction: D (without a grain of sarcasm, cool fast router)

P.S. For those who are only here to restore bricks (yes, this is easier than it seems), you are here: 4.2. Restoring a router from a brick state

You do all the actions described below at your own peril and risk. The author is not responsible for the possible failure of your router, as well as for the termination of support for basic router packages (referring to those who tried to configure freeradius normally, which does not have backward compatibility even among versions of the same release). The Author did not have power outages directly during the firmware of the router (not during the installation of packages), but even if they or any critical breakdowns of basic packages happen to you, do not worry, you can always flash the kernel again via UART: 4.2. Restoring a router from a brick state

�� Xiaomi Mi Router PRO, PPPoE настройка роутера на китайском

A brief overview of the main features of the router

xiaomi, router, setup

The characteristics of the router allow you to run even full-fledged web services on it:

Parameter Value
Wi-Fi class AC2600
Maximum speed and 2.4 GHz standards 802.11 b / g / n, 800 Mbps
Maximum speed and standards 5 GHz 802.11 AC / b / g / n, 1733 Mbps
LAN port speed 1000 Mbps
CPU MT7621A MIPS Dual Core 880MHz (4 threads)
Built-in memory 256M SLC Nand Flash
RAM 512MB DDR3-1200
Wi-Fi processor MediaTek MT7615E

If you turn on the router for the first time, then it will distribute an open WI-FI with the name Xiaomi_XXXX_XXXX

Connect to this WI-FI and go to 192.168.31.1

[text] Please read the “User License Agreement” and choose whether to agree

[checkmark] Join the User Experience Improvement Program

Press the big blue button and get to the menu of the first settings of the router

Or, if a cable with the Internet is not plugged into the router (I put it on a laptop to translate Chinese)

We select the upper operating mode and get to the menu above

It is logical that the name of the WI-FI network (SSID) and its password are selected here, here I did not uncheck the box (responsible for some firewall settings, we still erase the firmware, so it doesn’t matter) and pressed the big blue button.

Here the password for the admin panel of this firmware is selected. If you click the checkbox, then the same password will be selected as for WI-FI. What is the difference between “Family”, “Company” and “Customizes” I did not understand, well, it doesn’t matter, let it be by default (“Family”), we don’t have to use this firmware for a long time.

We are waiting for the router to load. On it, the orange light will change to blue when everything is complete. By the way, the router can still blink red if you try to flash it via USB with such firmware that it basically cannot eat.

I think it’s obvious where to press. Just don’t forget to connect to the new Wi-Fi network)

We get into such a menu. Here we enter the password from the router and press the arrow. The first time you log in, the router will offer to make some settings. There is a blue button there. DO NOT CLICK ON IT. Instead, click on the underlined text below the button. This will skip the guide for this firmware. Click on the empty spaces to go through the imposed introduction to the firmware interface. Everything, from this moment you can start configuring the router to install custom firmware.

Preparing the router for installing custom firmware

Some of the instructions in this chapter were taken from open source: https://openwrt.org/toh/Xiaomi/xiaomi_r3p_pro

Or use a copy of it on github miwifi_r3p_firmware_daddf_2.13.65.bin, because it can be removed from open sources.

Then we connect via cable or WI-FI to the router and go to http://192.168.31.1

Log in and find the page where you can update the firmware (look for the big yellow dot with an “i” inside).

Here you select manual firmware update.

You will see the version number of the router and at the bottom there is a button where you can download the file. Download miwifi_r3p_firmware_daddf_2.13.65.bin (developer firmware), press the blue button and wait a few minutes.

Next, you will be prompted to erase all user settings. Personally, I checked the box and erased it. And I recommend that you do this, because it is not known what other new firmware will be installed in the routers from the factory, and how they will be compatible with the data of the old firmware. It remains only to wait for the end of the firmware. the blue light comes on.

Remember that our next task is. get a personal (there are individual ssh passwords) upgrade of a router with ssh from the Xiaomi website.

If this is the first time you are installing developer firmware on a router, then you will be shown this window. If this window is not there, and instead of it there is a window with an entrance to the admin panel, then it’s okay, just go further according to the instructions. To configure your router, you need a special application. Install the Android “Mi Wi-Fi” app from https://play.google.com/store/apps/details?ID=com.Xiaomi.router on your phone / tablet (there is also an iOS app).

Open the application “Mi Wi-Fi”, then log into your Xiaomi account (If you do not have one, then first create on the website https://www.Mi.com/).

The router will be detected and added to your account (provided that you are connected to the router’s WI-FI in 2.4G mode and the router’s WAN port is connected to the Internet). Click “Configure a router”, in the next menu, select a password and the configuration is complete.

At this stage, personally, my application always hangs, although I connected to the desired WI-FI, but it doesn’t matter, we close it, but don’t delete it, we still need it.

Be sure to connect to our Wi-Fi and go to http://192.168.31.1

We will be greeted there by the already familiar menu with a login. We enter the admin panel, skip unnecessary acquaintance with the firmware by PRESSING the blue button.

On a PC, go to https://d.miwifi.com/rom/ssh and log into your Xiaomi account. You will be taken to a page that should display your router, root password, and a download button. Click the button to get miwifi_ssh.bin and save the password. (If the download page with redirection http://d.miwifi.com/rom/ssh?userId=SOME_NUMBER doesn’t work, try typing “http: //” instead of “https: //” before “d.miwifi.com” and vice versa)

If a new router has appeared, then you are just lucky. If your luck is at my level, the registration of the router was not successful.

Open the “Mi Wi-Fi” application. If you are logged into your Xiaomi account, you will have access to an interface, at the top of which there will be a drop-down menu. Click on it, and then click on “Add Router”. Again, I emphasize that it is important to be connected to the desired router via WI-FI in 2.4G mode. A picture will appear prompting you to “Pair your router”. We agree. We will be asked to enter the administrator password. If you followed my instructions, then this is the same password for WI-FI. After correct pairing, the router will be displayed in the list of your devices, and the site https://d.miwifi.com/rom/ssh will display your router in the list after all the same manipulations with “https: //”.

Find the required router in the list and save the root password somewhere. those 8 characters after the word root and the characters. Then click on the corresponding button on the right.

We accept the agreement that has been translated especially for you. And the download should start. Yeah, it should. You will have to sleep “http: //” and “https: //” again and the download will start. The result will be the file: miwifi_ssh.bin

At this stage, you will need a FAT32 flash drive (IMPORTANT!). If you don’t have one, then format some flash drive in this format. It’s not for me to tell you that formatting erases files, so back them up to your computer if you need them. If you are a Windows 10 user, then you may need separate programs to format your partitions. Personally, I used the guiformat program, but I can’t vouch for it, so you can download any of your choice.

After that, you need to copy the miwifi_ssh.bin file to the root of the flash drive (there should be no folders on this flash drive, only this file).

Power off the router, insert the USB stick into the router, press and hold the reset button (recommended with a paper clip, although I personally used a needle and awl), turn on the router (while holding reboot). When the router starts blinking amber (10-12 seconds will pass), release the reset button. Wait until the router reboots and you (finally) have no SSH access.

Next, you need to connect to the router either by cable or by WI-FI.

Checking for access in Windows 10 (and in popular linux distributions) can be very simple, there is an ssh client out of the box. If you have another version of Windows without ssh client, install it separately.

Then we will be asked for a password. We enter the same password that we wrote down and we are in the router, ready to install the firmware.

If you see something like this (Windows 10), you need to delete all previous sessions from the file:

After that you can register ssh root@192.168.31.1 and see a successful login.

From this moment, not the safest zone begins. Yes, there is nothing dangerous in this firmware from Xiaomi, but you already literally have the opportunity to erase the kernel. If you somehow managed to break everything on this firmware, then point 4.1 will help you

4.1. Moving from Xiaomi Firmware to OpenWRT Basic Firmware

We take out the USB flash drive from the router, we will need it.

For those who started reading from this point on. it must be in FAT32 format (IMPORTANT!)

Next, copy the file to the root of our flash drive so that only it remains on the flash drive. Xiaomi will create a bunch of files there, just delete them and copy the file.

We insert the USB flash drive into the router. And in the console ssh root@192.168.31.1 we write (it is better to enter the commands one by one so that there are no problems.ash):

READ  How much weigh Xiaomi redmi 8

cd / extdisks / SD. may be different if you pull out and insert the stick, but cd should go to any version.

mv openwrt-ramips-mt7621-xiaomi_mir3p-squashfs-factory.bin factory.bin. shorten the name of the firmware file.

dd if = factory.bin bs = 1M count = 4 | mtd write. kernel1

dd if = factory.bin bs = 1M skip = 4 | mtd write. rootfs0

After these commands, the address of the router should change from 192.168.31.1 to 192.168.1.1 and the ssh command will look like ssh root@192.168.1.1

Interestingly, by default it is absent for the root user, you can install it in the web gui or via passwd root inside the ssh console, but if you open the 192.168.1.1 address in the browser, nothing happens, because the web gui package is not installed.

If you see something like this when trying to connect via ssh (Windows 10), you need to delete all previous sessions from the file:

Then you can register ssh root@192.168.1.1 and see a successful login.

Next, install the web gui so that you can continue working in it.

4.2. Updating the kernel (or restoring a router from a brick state)

This item is mandatory for everyone. If you do not have a suitable kernel version, then sysupgrade from 4.3 will only lead to the inoperability of the router as a router (WI-FI distributes, but does not see the Internet, and also the web gui and ssh do not work).

It is important to note that the warranty for the router is lost after the router is disassembled; to check this, one bolt with a sticker is provided on it.

Of course, you can completely disassemble the case by unscrewing 4 bolts from under the rubberized legs,

Picking out the plastic inserts with a knife from the sides,

Обзор роутера Xiaomi Mi Router Pro (R3P)

And get out the router board (with a huge heatsink).

But why do we need all these difficulties, because we only need access to the UART connector?

Just unplug the router from the power supply, gently pry the right plastic wall with a knife,

We now have access to the connector. You can even solder wires to it, we need RX, TX and GND. Do not touch 3.3 v power supply.

But I do not want to solder the board, so I just connect the cable to the router and to the UART-Serial converter, but I recommend that you solder.

TX and RX voltage should be 3.3 volts (THIS IS IMPORTANT!)

You need a terminal for the Serial port. On linux, this is done with one command, but Windows users can download putty from the official site or from the link on my gita: putty

We launch the application. Select “Serial” from the bottom left, then set everything up as in the picture. We select the COM port according to your converter.

It can be found in Device Manager.

If your application is running on Windows, but when connected, it just makes a sound and does nothing (it happened to me), then go to the directory with the unpacked putty.exe and run:

.\ putty.exe.serial COM4.sercfg “115200,8, n, 1,”. just enter your COM port instead of COM4.

The serial port window will open. Then we supply power to the router and catch the moment when the “Please choose the operation” menu appears

Here we press 2 in the window with a serial port. Next, we do what the system asks for. I recommend not to change the IP addresses, but you need to enter your own file name (hereinafter it will be indicated) and DO NOT press enter. First you need to connect via ethernet cable to the router to raise DHCP.

To do this, you need to open “Network Connections”, find your wired adapter. Right mouse button, its properties.

There you need to select the item “IP version 4.”, its properties, and then select “Use the following IP-address” and configure everything as in the sample. Then click on the “OK” buttons. Congratulations, you have DHCP and your new address is 192.168.1.3, but the router address remains 192.168.1.1.

Kernel firmware is done via TFTP. Program for raising TFTP server

Save this file to a convenient location, for example, “C: \ router”. For convenience, I’ll rename the “openwrt-ramips-mt7621-xiaomi_mir3p-initramfs-kernel.bin” file to “linux.bin”. This is the very core that the router is asking for now.

Turn off Wi-Fi and leave only one connection. over that cable with DHCP. Set up the path to our folder “C: \ router”, select the desired “Server interface”. should be our IP in its own DHCP. TFTP server program started automatically.

Go to the serial port window and check the data. If the addresses and name are correct, press Enter and the boot process will begin.

If the download process goes well, you will see this picture. I managed to flash the core without disassembling the case and soldering.

By the way, do not forget to turn off DHCP, to do this, go to the already familiar “Network Connections” menu and change the operating mode to “Obtain an IP address automatically”.

Along with this kernel, there are several basic packages, but this is far from the final firmware. Next, you need to download the update file for this kernel. It will set up the file system. openwrt-ramips-mt7621-xiaomi_mir3p-squashfs-sysupgrade.bin

We go through the authorization process without a password (just click “Login”) and quickly go to “System”. “Backup / Flash Firmware”. Select the file (select our openwrt-ramips-mt7621-xiaomi_mir3p-squashfs-sysupgrade.bin). “Flash image.”, DO NOT uncheck “Keep settings”, this is important.

Frankly speaking, we only need this firmware so that the system partitions are mounted correctly. Otherwise, there will be literally no place to install even basic packages for configuring partitions (there will be nowhere to install), and such applications are not included in the bundle.

In this menu, click “Proceed” and the download process will begin. In a minute, you will have a completely working configuration of an OpenWRT router with problematic WI-FI and security protocols. Next, you need to patch the assembly with custom firmware in paragraph 4.3.

Everything is configured and configured in it for the functioning of drivers for WI-FI, as well as advanced security protocols.

Downloading and updating. To do this, enter the 192.168.1.1 router and log in (by default, the password is empty)

We pass “System”. “Backup / Flash Firmware”

Then click “Browse.”, Select the file “OpenWRT-19.07.1-MiR3P-sysupgrade.bin” and click Upload, unchecking the “Keep settings” checkbox, this is important. We want a configured system with internet on our file system partitions.

After downloading, we receive a warning about the version: “Xiaomi, mir3p”! = “Xiaomi, mir-3p”. In fact, this is the same router, so we click the checkbox on “Force upgrade”, re-download the file and click “Continue”, and in the next menu, “Proceed”.

It is important that now you do not turn off the light, because otherwise you will need to first go through paragraph 4.2, and then go through 4.3 first. The download process may take a long time.

After the download is complete, you will have access to the web gui, ssh and many more packages. Already at this stage, you can finish, because WI-FI is working, and security protocols are installed, and the file system is configured, but why do we need some kind of WPA2-PSK on such a cool router, if, in addition to WPA3, we can raise a real masterpiece of security. WPA2-Enterprise.

It is important to add that sometimes at this stage an error occurs with the network, due to which the Internet does not work through the cable. To solve it, just restart the router, this error will not occur again.

P.S. the root password in that firmware. “1234567890”

First full-fledged firmware setup

We enter the system, the default password. “1234567890” (without quotes). And we’d better immediately change the password to a convenient one. To do this, go to “System”. “Control”. “Router password”

Everything is simple there. we set the password from the router to your taste.It is important that this is not a password from WI-FI. This is the password from the root user and from the admin panel on the router

Now you can change the name of the router’s machine. I recommend choosing a name that matches the WI-FI name.

Next, we configure DHCP so that there are no problems with redirection during long-term data streaming.

First, with this we will expand the scope of allocated addresses, changing the subnet mask to 255.0.0.0 and apply (“Save and apply.”).

We start the lease with “192.0.0.0” and end with “256 ^ 3”, which is equal to “16777216”. Set the rental time to “infinite”. Apply the settings again (“Save and apply.”).

It is not recommended to change the address of the router from “192.168.1.1”, because because of this, the network (specifically the Internet, not the LAN) falls off for Samsung smartphones for sure, maybe all smartphones do too.

Then turn off Adblock. And, yes, this router has built-in Adblock, KMS server, NAS and much more. The problem is that Adblock can cut the speed of communication with the network, although it works just fine, hides ads, and sites think that Adblock is not installed, and do not throw out a request to disable it. It can be disabled quite simply. In the off state, the button should say “Enable”.

Only after disconnecting, you need to reboot the router and make sure that the “Adblock State” status will be empty. For some reason, the service does not want to turn off just like that.

Next, we need to configure the WI-FI configuration, at the same time we will check how WI-FI works. For the most part, this firmware is already set up, but you can dig in and change everything to your taste.

Attention, if you are going to go through step 6. Installing FreeRADIUS and raising WPA2-Enterprise, then you can skip the WI-FI configuration, click “Save and apply.” And connect to the router via ssh root@192.168.1.1. but it is important that you choose the correct name of the router’s machine, because it will be the name of WI-FI in the future.

In the “Network” menu. “WI-FI” can set up WI-FI. It is necessary to set everything as in the photo (some of the settings are taken from https://w3bsit3-dns.com/forum/index.php?showtopic=810698st=3200#entry82315996)

First, let’s set up 2.4G (don’t forget to click “save”)

After setting the settings, apply them with the button: “Save and apply.”

It is also important to add that if you set everything up for use with WPA2-Enterprise, you need to disable “802.11w Management Frame” and enable “Enable 802.11b”. If you install the firmware on Xiaomi R3P, setup.ash will do it for you in the future.

At this stage, you can get out of the beautiful web gui and dive into the console, a la a real programmer. (well, or almost: p) I remind you that this is done via ssh root@192.168.1.1. and the password. the same password from the web gui admin panel.

Congratulations, we’re on the router. Now you can start installing packages.

Installing FreeRADIUS and raising WPA2-Enterprise

Further, it is important to understand whether we have the Internet or not. Yes, it is configured, but there may simply not be a cable with the Internet nearby, so it was decided to install the packages as convenient as possible. However, if you are installing everything on a different router, a separate installation file is created for you. I can’t guarantee it will work, but it’s worth trying.

If you have internet, you can do opkg update. however, it is not recommended to do this for correct installation of all packages locally. If you have already done it by accident. Then you have to do everything again from paragraph 4.3.

You need to download the repository (master branch) to your OpenWRT-Xiaomi-WI-FI-R3P-FreeRADIUS computer and unpack it, or you can clone this repository, only in this case you will also have to clone the indecently large git folder (200 MB, taken from nowhere).

git clone https://github.com/ITMO-lab/OpenWRT-Xiaomi-WI-FI-R3P-FreeRADIUS.git OpenWRT-Xiaomi-WI-FI-R3P-FreeRADIUS-master

We transfer the folder to the root of the USB flash drive. It is desirable that the flash drive was with the fat-32 file system, but my ntfs was also mounted, even if I had a little quarrel. How to work with a USB flash drive? Very simple. insert it into a single USB port and write a well-thought-out command:

READ  How to turn off headphones on a Xiaomi phone

cd; umount USB; rm.rf USB; mkdir USB; mount / dev / sda1 USB /

Now you have the directory where the USB stick is mounted. Further, the installation process will be as simple as possible. If you have Xiaomi R3P, enter into the console:

cd; cd USB / OpenWRT-Xiaomi-WI-FI-R3P-FreeRADIUS-master; ash setup.ash

If you have another router, make sure you have an Internet connection and enter:

cd; cd USB / OpenWRT-Xiaomi-WI-FI-R3P-FreeRADIUS-master; ash setup_online.ash

Just remember, if you have a different router, you yourself will have to configure WI-FI in the web gui. connect a RADIUS server to it. By default, it runs on 192.168.1.1 with default ports, and its secret will be displayed in the console.

Save FREERADIUS3_SECRET and FREERADIUS3_ROOT_PASSWORD, these values ​​will be needed.

root and FREERADIUS3_ROOT_PASSWORD. this is the username and password for the administrator account, which will remain with you no matter what you change in the database. You can also change or add default accounts in / etc / freeradius3 / mods-config / files / authorize

FREERADIUS3_SECRET is needed to access the RADIUS server, but the script has already put everything in the right place. You just need to save the values ​​somewhere in a notepad and write:

After rebooting, WI-FI will be configured in wpa2-enterprise mode with a single root account with the password FREERADIUS3_ROOT_PASSWORD. You can test it. By default, the radiusd service starts up for me, if this did not happen for you, you will have to log in to the router again and start the RADIUS server:

This will allow you to track requests and see the authorization process. Instead of manually launching programs in the future, the service radiusd enable / start service will be used, but so far it should not be enabled. this will interfere with subsequent installation.

Installing and connecting SQLite and SQLite-web to control user accounts

After rebooting the router, the flash drive was unmounted, so we re-mount it.

cd; umount USB; rm.rf USB; mkdir USB; mount / dev / sda1 USB /

First of all, you need to turn off the radiusd service:

Now, all of a sudden, sqlite needs to be installed. If you have Xiaomi R3P, write in the console:

cd; cd USB / OpenWRT-Xiaomi-WI-FI-R3P-FreeRADIUS-master; opkg.-nodeps.-force-maintainer.-force-depends.-force-reinstall.-force-overwrite.-force-downgrade install pkgs / sqlite /.ipk

opkg update; opkg.-force-maintainer.-force-depends.-force-reinstall.-force-overwrite.-force-downgrade install libedit sqlite3-cli libsqlite3

And execute the sqlite setup script. It is identical for all routers, unless freeradius breaks compatibility again.

Then you need to edit the file / etc / freeradius3 / mods-enabled / sql (for example, in nano) so that it looks like this.

You can test, but first you need to create some kind of user:

Sqlite3-cli will open, in which you need to add the user to the database:

insert into radcheck values ​​(‘1’, ‘user’, ‘Cleartext-Password’, ‘: =’, ‘12345678’);

You can check the correctness of the command call using:

The string “1 | user | Cleartext-Password |: = | 12345678” should be printed.

Next, we exit sqlite-cli, for this you can enter in the console:

To test, we’ll need to run radiusd again:

Then we try to log into WI-FI with the username user and the password 12345678. If everything went well, then I’m glad for you, because you didn’t have to spend as much time on setting up the system as I did. You can delete the test user, but I’ll do it later via Web-SQLite-Admin. And, yes, you don’t need to restart the service to apply changes to the database.

Install sqlite-web. simple service for administering SQLite. It is important to note that the current version, 0.3.6, has a security vulnerability and I have already suggested a fix via a pull request. If the fix is ​​approved at the time of reading (most likely, then the version will change to 0.3.7), you can install the package via:

pip3 install sqlite-web. after that be sure to check the version.

If it is not approved, then we use my fork and install the package with the security threat fix. You can also first download it to a USB flash drive, and then mount it on the router and install it, but after step 6. Installing FreeRADIUS and raising WPA2-Enterprise, git and git-http are already installed on the router:

Test run will not lead to anything good due to one feature of this service. First, we need to turn off the use of webbrowser in a single place. This lib launches a SQLite-web page in your browser. The only problem is that there is neither a browser nor a desktop environment INSIDE THE ROUTER, so we don’t need such functions. To correct this misunderstanding, open the file /usr/lib/python3.7/site-packages/sqlite_web/sqlite_web.py or /usr/lib/python3.7/site-packages/sqlite_web-0.3.6-py3.7.egg/ sqlite_web / sqlite_web.py and edit it with a common command, since it is exactly one:

After that, without restarting (the dignity of python), we can check the work of SQLite-web:

sqlite_web /etc/freeradius3/sqlite_rad.db.H 192.168.1.1.p 8000

It should start at http://192.168.1.1:8000/. After that we can look at the accounts:

And even add your own by entering a SQL query like INSERT INTO “radcheck” VALUES (,, ‘Cleartext-Password’, ‘: =’,):

Then the changes will be displayed in the table:

Now all that remains is to make a service out of sqlite_web so that it starts automatically in the background at system startup, but such a service has already been created, and you need to register it to install it (if you restart, mount the USB flash drive again):

Now you need to change the password from SQLite-web, for this edit the line procd_set_param env SQLITE_WEB_PASSWORD = “iloveyou” in /etc/init.d/sqlite_web and change the value of SQLITE_WEB_PASSWORD to your password:

Then you can start all the services:

After a while, the server will start and, I congratulate you, you have the ability to manage user accounts http://192.168.1.1:8000/

About

OpenWRT for Xiaomi Mi WI-FI router Pro (r3p) [or for any other router with OpenWRT] with FreeRADIUS, SQLite and SQLite Web Admin

Translation of the interface into Russian and updating the firmware

The interface of devices of the Xiaomi Mi line, including the PRO R3P router, is designed in Chinese. But there are ways how to translate it into Russian.

  • Go to the settings of your router through the Google Chrome browser. Then follow the link: https://chrome.google.com/webstore/detail/rumiwifi/mbiehbednoakmhlmjcpgpciocekdjabp?utm_source=chrome-ntp-icon and install this extension on the browser by clicking the “Install” button.
  • When the extension is installed, an icon with the Xiaomi logo will appear in the upper right corner of the browser. You need to click on it, the extension will be activated and all the interface text will be automatically translated from Chinese into Russian.

To update the router’s firmware, you need to go to its interface, find the “Settings” application, click on the “Status” icon, then click on the “Update” button. After that, the device will automatically download the updated firmware from the Xiaomi server.

Basic and advanced configuration of router parameters

Advanced configuration of the parameters of the router Xiaomi Mi Router Pro (R3P) includes. setting a password for a Wi-Fi network, PPTP, L2TP and PPPOE.

PPPOE setup

Setting up a PPPOE connection on the device is separate.

To implement it, you need:

  • Open the interface menu and click on the “Settings” function. Then we mark the icon “Network settings” and select the setting “PPPOE”.
  • We fill in the data according to the standard scheme. in the “Username” line we write our username, and in the “Password” line we indicate the password. This data is provided to you by the provider at the conclusion of the contract.
  • To save all changes, click on the “Save” button.

Description of the router Xiaomi Mi Router Pro (R3P)

Users of the global Internet in a private home have almost unlimited opportunities. you can work remotely, find and download the information you need, communicate on social networks. For comfortable work on the Internet at a dacha in the Dmitrovsky district from several devices, you need a router. a multifunctional device that unites several home computers into one local Internet network at the dachas of the Serpukhov district and provides high-speed data exchange between them.

The Xiaomi Mi Router PRO R3P is very popular. an excellent solution for connecting stationary PCs to the network, as well as smartphones, tablets and other devices belonging to the class of personal computers (PDA).

L2TP configuration

To configure the L2TP protocol, you need:

  • Go to the settings menu of the router interface and click on the “Advanced” button, mark the “VPN” icon, click on “Add service”.
  • In the window that opens in the “Protocol” you need to select the “L2TP” protocol.
  • We fill in the following lines. in “Name” we indicate any name in Latin, in “Server” we write the IP-address of the server. Also, in the “Username” line we enter the username of the user, and in the “Password” line. the password. This data is assigned to you by the provider during registration. If you do not remember them, study the contract with the provider.
  • We save all changes by clicking the “Save” button.

PPTP setup

To connect a point-to-point tunneling protocol, you need:

  • Go to the router interface menu and click on the “Advanced” button, mark the “VPN” icon, click on “Add service”.
  • A window will open in which, in the “Protocol” line, mark the “Protocol”.
  • Fill in the “Name” line. you can write any name in Latin.
  • In the line “Server” we write the IP-address of the server.
  • In “Username” we indicate the username (name) of the user, and in “Password” we write the password.

All the necessary data is provided to you by the provider when concluding a contract for the provision of services. If you have forgotten them or cannot find a contract, you can always call the provider’s hot line. Instructions for setting up most of the popular models of network equipment can usually be found on the website of your provider.

Router Xiaomi Mi Router Pro (R3P). description and technical characteristics

The router is packed in a small black box with this router on the lid.

Inside is the standard equipment:

  • router;
  • power adapter for 12 volts, 1.5 amperes;
  • instructions for use in Chinese.

The manufacturer Xiaomi does not have a standard patch cord in the package, so you will have to purchase a power cord to connect the device to a PC separately.

The case of the router is metal, covered with gray paint. The walls of the apparatus are plastic, black. They are ribbed for excellent ventilation. An indicator is built in the front on the side wall and in operating mode should light up blue.

On the side of the rear wall there are four external antennas with a power of up to 6 dBi. Below along the perimeter of the device there are 4 small legs, with the help of which the router stands securely on the surface and does not slip.

In addition to external antennas, there are:

  • Two network ports. On the left is the WAN port for connecting from the provider, and on the right is the LAN for organizing a local network, which supports speeds up to 1 Gbit / s.
  • Power cable connector.
  • Reset button.
  • USB connector.
  • A sticker with a code for controlling from a smartphone and downloading service applications.

Unlike routers from other manufacturers, for example, Keenetic, MikroTik, Huawei, Asus, the Xiaomi Mi Router Pro (R3P) device has the following features:

  • Updated design. The model looks stylish and elegant, the case is completely metal, beautiful gray color. Has many connectors and many different functions.
  • Compactness. The size of the router is small, it does not take up much space when installed.
  • Powered by Qualcomm MT7621A processor, which has a lot of power.
  • Supports updated IEEE 802.11ac and Wi-Fi 5G network formats.
  • You can configure the router in several ways. through the control panel or through the application.

Flash memory partitions

Xiaomi Mi Router 3 Pro flash layout Layer0

Layer1

Layer2

mountpoint

filesystem

Size in KiB

Name

mountpoint

filesystem

raw NAND flash memory chip 256 MiB
mtd0 All 256MiB
mtd1 Bootloader 256 KiB mtd2 Config 256 KiB mtd3 Bdata 256 KiB mtd4 Factory 256 KiB mtd5 crash 256 KiB mtd6 crash_syslog 512 KiB mtd7 reserved0 256 KiB mtd8 kernel0 4 MiB mtd9 kernel1 4 MiB mtd10 rootfs0 40 MiB mtd11 rootfs1 40 MiB mtd12 overlay
/
OverlayFS
256 KiB 256 KiB 256 KiB 256 KiB 256 KiB 512 KiB 256 KiB 4 MiB 4 MiB 40 MiB 40 MiB 166 MiB
Bootloader Config Bdata Factory crash crash_syslog reserved0 kernel0 kernel1 rootfs0 rootfs1 Overlay
none none none none none none none none none / rom / rom / overlay
none none none none none none none none none SquashFS SquashFS UBIFS
READ  How to scan barcode with Samsung phone

general information

Architecture

Manufacturer

Loader

System on a chip

CPU / Speed

Flash chip

Flash size

RAM

Wireless 1

Wireless 2

Ethernet

USB

UART

JTAG

MIPS
Mediatek
U-Boot
Ralink MT7621A. MIPS 1004Kc
2x 880MHz
ESMT F59L2G81A or Micron MT29F2G08ABAEA (see Notes)
256 MiB SLC NAND
512 MiB DDR3
Mediatek 7615N 4 × 4: 4, b / g / n 2.4GHz
Mediatek 7615N 4 × 4: 4, a / n / ac 5GHz
3x LAN WAN 10/100/1000 Mbit / s w / vlan support
1x 3.0
There is
EXAMPLE Not populated

Installing SPI Flash Memory

For those who have problems with nand memory or out of order. There is an option to install an SPI flash memory chip (for example, a 16 MB Winbound 25Q128 flash drive) and flash the firmware, for example, from TOTOLINK A7000R hardware version V2 (A7000R_Firmware V4.1cu.4025_B20190222 (2019-05-28)).

Installation

Serial port

→ port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:

Connect RX pin on board to TX pin of adapter and vice versa, GND to GND

→ port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device: Insert photo of PCB with markings for JTAG port

How to set up Xiaomi Mi Wi-FI Router from a computer

First, we connect the device to the mains (using an adapter). We connect the Internet cable to the WAN port (usually marked in blue). If you have a laptop or PC with a LAN port and a separate network cable (which is not included in the kit, you must purchase it separately), you can connect the computer using it. If there is no cable, connect via Wi-Fi.

When you turn it on for the first time, an unpaired Wi-Fi network with the name “Xiaomi” is created. We connect to it.

Open your browser (which you usually use). In the address bar (not a search engine!), Write the address miwifi.com or 192.168.31.1. This is how we get into the settings of the device.

Click on the big blue button with hieroglyphs. Agree in English.

We set the name of our network and the password to it, this will be your Wi-Fi password.

If your provider uses the PPPoE connection type, then you should click on the “PPPoE” tab, set the username and key given by the provider. If it’s DHCP, just skip this step.

The next step is to set a password for the “Admin” of the router, fill in the field with the location. We confirm all our actions. This password will be needed in the future to enter the settings of the router, remember it!

All settings will be applied automatically and the router will reboot. The Internet should now appear. You can leave everything as it is, or you can continue to work with the settings.

We are getting acquainted with the administrative panel of the router (we go back to the web navigator, as described above). To translate tabs, we use the built-in Google translator capabilities, if necessary.

Now you have access to a large amount of useful information, for example, the state of the processor and network in real time, the amount and type of memory, the list of connected devices, etc.

In the Internet Settings menu, you can select WAN port rate limiting, MAC cloning and other options. In the item “Advanced settings” you can work with port forwarding, DDNS services.

Setting up a Xiaomi router

Setting up a Xiaomi Mi Wi-FI Router will not take you much time and effort if you arm yourself with tips from our detailed instructions. We will tell you about all the nuances of the correct connection of the gadget. we are sure that even beginners will cope.

The English and Chinese languages ​​of the web interface do not allow us, Russian-speaking users, to deal with the Mi WI-FI Router connection without any problems. On the other hand, the developers have not yet “confused” with a full-fledged translation. We will tell you how to operate the device in English. But you can always install the browser plugin for the Russification of the RUMIWIFI router, it works great with Chinese versions.

How to set up Xiaomi Mi Wi-FI Router from your phone

To begin with, of course, we connect the router to power and connect via Wi-Fi to a new network called “Xiaomi_”, it will be available without a password.

For further work, we need specialized software. the Mi Wi-Fi program, you can download it on this page. It should be downloaded and installed according to the selected OS (Android or iOS).

Create a Mi-account (or log in to an existing, previously created one).

Click on the “Add a router” button. In the next tab we will be asked to decide on the connection method (it is possible to transfer configurations from the old router. Restore from another Mi Router or select the As a new router option). Click Continue.

Now you can set the network name and password (by the way, so as not to get confused in the keys, this pin code can be used to enter the router admin panel.check the Set as router admin password as well).

We are waiting for the end of the automatic reboot.

We managed to connect the gadget to the Internet, now let’s pay attention to the settings available to us.

We launch the proprietary program. It has several convenient tabs for finding the necessary information over the network (a lot of things can be changed and adjusted if desired and if necessary).

One of these commonly used tabs is Plugins. pay attention to the screenshot:

The sections “Settings” and “Network Settings” are especially versatile and sometimes necessary. Here you can change the connection parameters, manage the VPN server, make backup copies of configurations, assign an administrator at your discretion, set the time zone, turn off the light indication, etc a lot of functions.

In general, the router control interface is very well thought out. not many expensive models can boast of this quality. We hope you succeed with our help.

Main features of Xiaomi Router Pro

The Mi Router Pro R3P model for the Internet at the dacha in the Serpukhov region operates in two frequency ranges. 2.4 and 5 GHz. The router is powered by an 880 MHz processor. The amount of RAM is 512 megabytes. SLC ROM size is 256 megabytes. The maximum possible connection speed over a wireless network (combined for both bands) is two and a half thousand megabits per second. The router runs on the OpenWRT operating system.

During operation, the router demonstrates fairly stable operation. The Wi-Fi signal strength is quite high. Compared to previous generation models, it is 15% higher. The wireless signal in this router is higher and more stable than in expensive devices. In the 5 GHz band, the speed of the device is very high.

Even when operating at the highest possible speed, the router barely heats up. The case temperature does not exceed thirty degrees, even with intensive use. The router has a ton of features. It provides support for Firewall, FTP, UPnP, AV servers. There is a backup option. The model is equipped with a built-in download manager.

You can connect an external drive to organize downloading and storing files. If you connect a 3.5 ” HDD, you need to provide additional power.

Connection features

Connecting and configuring the router is straightforward. The algorithm of actions is as follows:

  • We connect the power adapter to the socket and the mains.
  • Installs a network cable in the first port, which is marked in blue.
  • Now we can connect to the router via a patch cord or wireless network.

Then we launch any web browser on a computer or laptop. In the address bar, enter the network address of the device. To get into the web interface, you can use the universal address 192.168.31.1. Users can configure the router through the mobile app. To do this, we scan the QR code, which is indicated on the back of the case.

How to set up L2TP

The sequence of actions will be similar:

  • We go to the corresponding section of the control panel.
  • In the new window, select the line “Protocol”.
  • Now you need to specify the protocol type “L2TP”.
  • In the “Name” field, you can enter any word in Latin.
  • In the next column, we write the server IP address.
  • We specify the username and password.

We take this information, as in the previous case, from the contract for the provision of services. If the provider has not entered this information into the written agreement, we call the technical support service. After entering the data, we save the changes.

Features of the router Xiaomi Mi Router Pro

We bring to the attention of our readers a brief overview of the model of the popular Xiaomi Mi Router Pro (R3P). This Wi-Fi router immediately gained popularity in the network equipment market after its release. The device comes in a stylish black box. In addition to the device itself, the kit includes a power adapter and instructions in Chinese.

Description of the router Xiaomi Mi Router Pro (R3P)

We bring to the attention of our readers a brief overview of the model of the popular router for the Internet in a private house Xiaomi Mi Router Pro (R3P). This Wi-Fi router for the Internet in Serebryanye Prudy, Moscow Region, immediately after its release, gained popularity in the network equipment market. The device comes in a stylish black box. In addition to the device itself, the kit includes a power adapter and instructions in Chinese. The Xiaomi Mi Pro Router (R3P) is a dual band model. The device can operate in two frequency ranges.

The device looks very stylish. The developers have thought over its design in detail. The metal case in gray looks laconic. The walls on the left and right are black. Ventilation holes are provided here.

There is a small indicator in the center of the case. Lights up in blue during normal operation. The device is equipped with four sufficiently powerful antennas. There are two 6dBi amplifiers per band. At the bottom of the device are four rubberized legs. Therefore, the device stands steadily on a smooth surface.

On the back of the router, the developers have placed:

  • WAN connector. It is marked in blue.
  • 3 gigabit LAN connectors.
  • USB 3.0 port.
  • Power socket.
  • Reset key.
  • QR code to install a mobile application.

We go into the Xiaomi router

You can configure your device in different ways:

The WiFi router that rocks!. Xiaomi Mi R3P (and English GUI tutorial)

  • through a browser on a computer;
  • in a Windows application;
  • in a Mac app
  • in the mobile application.

often, users perform the configuration procedure through a browser. After entering the IP in the address bar, a window should open. Enter your username and password in it. If the data was entered correctly, the system will provide access to the control panel.

You can immediately change your login information. This will protect the device from intrusion by third parties. After the restart, the user will be able to log into the web interface with a new username and updated password.

Some users have a lot of difficulties at this stage. The main issue is related to the Chinese language in which the control panel is executed. To simplify the procedure, use the browser’s built-in translator. Now the settings page has been translated into Russian.

BYRGPUB.COM 2021