-
-
Save shibajee/4861767bc10fde9328ed59b817bcc521 to your computer and use it in GitHub Desktop.
| Change region of Xiaomi routers to unlock all channel: | |
| 1. Login to ur router in browser. | |
| 2. Open a new tab and paste this | |
| http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/api/xqsystem/set_country_code?country=CN | |
| get the stok value from login tab and replace it in new tab and then hit enter. | |
| 3. Router will reboot automatically and on next login u will see all 5Ghz channel 36~48 and 149~165. | |
| **u can also go with country=HK or country=TW (hongkong or taiwan) |
Please note that some of these APIs are POST apis meaning you have to either use a tool like POSTMAN or write an actual code script to make these work. I couldnt get the actual complete channel list by changing the country but i was able to manually hard set the channel to 157 by using this API.
the important value below is channel2-157
hope this helps atleast somebody. I was trying to resolve this since 1 whole day until it hit me that not all api requests work on simple browsers.
Additionally, you can chech which apis are used by opening up developer tools and checking the network tab and then clicking on a button. from there you can take the api and payload format and try it yourself the way you would like.
This worked for me...MI AX3200...I just replaced Stok, SSIDs, and Paswords in the above provided API...Thanks
Not working in ax5400 gaming