-
-
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) |
I was able to unlock upper channels (149 and above) of 5GHz WiFi on Ax3000. For me what I did was
- Turned off smart connect i.e. separated 2.4GHz and 5GHz bands
- First changed the location** and country code*** of satellite router then primary router to CN.
- Changed the 5GHz bandwidth to 80MHz.
** http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxxx/api/xqsystem/set_location?location=CN *** http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/api/xqsystem/set_country_code?country=CN
If you change the primary router first it will break the mesh network and you have to reset it. Also keep the wireless channel to auto because dropdown will not show the extended channels. I initalized the router with South Korea region and after changing the location to CN I changed the time zone of primaray router to Korea again as satellite/mesh router timezone was not changed with location change
I tried the instructions you mentioned, however at the link of the Country Code, it will come up with the below error
{"msg":"Couldn't complete this action","code":1606}
Can you please help me out here?
I have paid a hefty amount with this router and seems like its a waste for 5G Band. :'(
@ahsanonair I also got wrong message but when I checked region in system settings it was changed. And in my solution above, as wireless channel is set to auto. So sometimes channel changes to lower spectrum like 36 or 48 but for me a restart usually fixes it.
somehow, the procedure is not working for me.
message kardein mujay insta peh same ID hai as GitHub.
aisay open forum peh whatsapp send karna munasib nahi lagraha
somehow, the procedure is not working for me. message kardein mujay insta peh same ID hai as GitHub. aisay open forum peh whatsapp send karna munasib nahi lagraha
Ok let's discuss there
For those who has {"msg":"操作失败","code":1606} because CountryCode hardcode within bdata partition
You can change Country Code by editing bdata mtd partition then write back to device.
Here 's some steps:
1.Get bdata partition to edit. Require ssh enabled.
#cat /proc/mtd
#nanddump -f /tmp/bdata.bin /dev/mtd15
2.Edit countrycode. Need hex editor, python 3 and some python script in https://github.com/odedlaz/ax3600-files/tree/master/scripts
zz=$(dd if=/dev/zero bs=1 count=2 2>/dev/null) ; printf '\xA5\x5A%c%c' $zz $zz | mtd write - crash
Reboot
mtd write /tmp/bdata.bin bdata
Reboot