小米AIoT路由器 AX3600

porky_88

Senior Member
Joined
Nov 8, 2007
Messages
682
Reaction score
1
How come mine is country 00: DFS-UNSET ?
root@XiaoQiang:~# iw reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

I had change the CountryCode in bdata to "CN" and I try to set it to SG by using "iw reg set SG" but it get reset back to 00 everytime I reboot the router.
So how do u set regdom to SG permanently. Do I need to change the wireless file inside /etc/config?? Sorry I'm abit lost ..hahah

you need to edit file in etc / modules.d / 30-cfg80211-linux
to "cfg80211 ieee80211_regdom=SG"

it will survive reboots but must be set everytime firmware is flashed.
 
Last edited:

porky_88

Senior Member
Joined
Nov 8, 2007
Messages
682
Reaction score
1
root@XiaoQiang:~# iwlist wl0 txpower
wl0 8 available transmit-powers :
0 dBm (1 mW)
6 dBm (3 mW)
10 dBm (10 mW)
14 dBm (25 mW)
18 dBm (63 mW)
22 dBm (158 mW)
26 dBm (398 mW)
30 dBm (1000 mW)
Current Tx-Power=30 dBm (1000 mW)

Seems like I'm getting Max Tx power (30 dBm) even if my regdom is not define <country 00: DFS-UNSET>:D:D:s12::s12:

What channel are you on? on regdom SG, 30dbm power is allowed from channel 149-165

if you are getting 30dbm power but not in ch 149-165. then most likely the region setting you are running on is still CN

use the following commands to check:

root@XiaoQiang:~# uci show wireless|grep -e country
wireless.wifi0.country='SG'
wireless.wifi1.country='SG'
wireless.wifi2.country='SG'
root@XiaoQiang:~# nvram show| grep -i country
CountryCode=SG
root@XiaoQiang:~# bdata show| grep -i country
CountryCode=SG

i edit CountryCode=SG in bdata. China units is set for CN. I tried both CN then SG. No difference. Actually as long as it is not EU. All is good as global firmware only checks to see if it's EU, if it is then limit tx power.
 
Last edited:

porky_88

Senior Member
Joined
Nov 8, 2007
Messages
682
Reaction score
1
I'm using global fw now. Mine is global set. What I did was flash china fw to enable ssh and change bdata from EU to CN then flash back to global fw.

as i don't use the web GUI, china or global doesn't really matter to me.I also found out that resetting to factory defaults at the correct point is very important.

after bdata was edited, after flashing to global 3.0.22, I did a factory default reset. Then correctly set up the region as Singapore on the first web login. these two steps are very important.
Subsequently when I move to the latest china 1.0.79, I did not do any settings reset.

What I found out was that global firmware will NOT beacon countrycode no matter what I try.
China firmware will beacon countrycode by default.
 

ronski

Junior Member
Joined
Jul 3, 2006
Messages
62
Reaction score
1
you need to edit file in etc / modules.d / 30-cfg80211-linux
to "cfg80211 ieee80211_regdom=SG"

it will survive reboots but must be set everytime firmware is flashed.

Set and done..Thanks for sharing the information..By the way, will there be any difference if I dont set the regdom? My wireless channels still remain the same as before.

What channel are you on? on regdom SG, 30dbm power is allowed from channel 149-165

if you are getting 30dbm power but not in ch 149-165. then most likely the region setting you are running on is still CN

use the following commands to check:

root@XiaoQiang:~# uci show wireless|grep -e country
wireless.wifi0.country='SG'
wireless.wifi1.country='SG'
wireless.wifi2.country='SG'
root@XiaoQiang:~# nvram show| grep -i country
CountryCode=SG
root@XiaoQiang:~# bdata show| grep -i country
CountryCode=SG

i edit CountryCode=SG in bdata. China units is set for CN. I tried both CN then SG. No difference. Actually as long as it is not EU. All is good as global firmware only checks to see if it's EU, if it is then limit tx power.

root@XiaoQiang:~# iwlist wl0 freq
wl0 444 channels in total; available frequencies :
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz
Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz
Channel 128 : 5.64 GHz
Channel 132 : 5.66 GHz
Channel 136 : 5.68 GHz
Channel 140 : 5.7 GHz
Channel 144 : 5.72 GHz
Channel 149 : 5.745 GHz
Channel 153 : 5.765 GHz
Channel 157 : 5.785 GHz
Channel 161 : 5.805 GHz
Channel 165 : 5.825 GHz
Current Frequency:5.805 GHz (Channel 161)

root@XiaoQiang:~# uci show wireless|grep -e country
wireless.wifi0.country='SG'
wireless.wifi1.country='SG'
wireless.wifi2.country='SG'
root@XiaoQiang:~# nvram show| grep -i country
CountryCode=SG
root@XiaoQiang:~# bdata show| grep -i country
CountryCode=CN

I'm using CH161 and my CountryCode=CN in bdata because i change it from EU to CN :D
Since you tested both SG & CN no diff then I will leave it..:D
How do you unlock the missing Channels? I dont have CH 116-144 & 165.


as i don't use the web GUI, china or global doesn't really matter to me.I also found out that resetting to factory defaults at the correct point is very important.

after bdata was edited, after flashing to global 3.0.22, I did a factory default reset. Then correctly set up the region as Singapore on the first web login. these two steps are very important.
Subsequently when I move to the latest china 1.0.79, I did not do any settings reset.

What I found out was that global firmware will NOT beacon countrycode no matter what I try.
China firmware will beacon countrycode by default.

The countrycode u mention here is referring to the countrycode in bdata?
 

porky_88

Senior Member
Joined
Nov 8, 2007
Messages
682
Reaction score
1
Set and done..Thanks for sharing the information..By the way, will there be any difference if I dont set the regdom? My wireless channels still remain the same as before.

root@XiaoQiang:~# uci show wireless|grep -e country
wireless.wifi0.country='SG'
wireless.wifi1.country='SG'
wireless.wifi2.country='SG'
root@XiaoQiang:~# nvram show| grep -i country
CountryCode=SG
root@XiaoQiang:~# bdata show| grep -i country
CountryCode=CN

I'm using CH161 and my CountryCode=CN in bdata because i change it from EU to CN :D
Since you tested both SG & CN no diff then I will leave it..:D
How do you unlock the missing Channels? I dont have CH 116-144 & 165.

I don't think setting the regdom matters (but I an anal about such things so. I set it). As the rest of the setting is on SG already.

you are getting 30dbm power cos you care on ch 149-165. Change it to ch 100 and you will see it at 24dbm. The wireless driver is working as intended as per regdom.

to set ch 116 to 144 and 165. you need to manually edit etc / config / wireless file.

if you need to edit any network stuff. it's all in etc / config / network

I use the ax3600 only as a AP, so I gave it a IP but no gateway So technically the localhost of AX3600 cannot connect out of the subnet. I actually logged the AX3600 and it actually connects to xiaomi's servers and don't know sending what data.

If you use it as a router and cannot remove gateway IP.
you can edit etc / config / miwifi. change all of them to '127.0.0.1'.

root@XiaoQiang:/etc/config# cat miwifi

config miwifi 'server'
option S 's.miwifi.com'
option APP 'app.miwifi.com'
option API 'sg.api.miwifi.com'
option STUN 'sg.stun.miwifi.com'
option BROKER 'sg.broker.miwifi.com'

the web interface is super stripped down to the point of useless. And i still see reviews saying the web UI is good! lol. I only go web UI to update/change firmware... hahahahaha
 
Last edited:

porky_88

Senior Member
Joined
Nov 8, 2007
Messages
682
Reaction score
1
The countrycode u mention here is referring to the countrycode in bdata?

no.. global firmware does not send countrycode in it's beacon. The countrycode here is from the nvram (which is SG). i have tried setting country_ie and doth in the wireless config file. But still cannot. My conclusion is that it is hardcoded in hostapd somewhere.

China firmware sends the countrycode (from nvram) in it's beacon by default.

if you don't know countrycode in the beacons... then ignore it. it doesn't affect you.... :D
 

Jun Jun

Senior Member
Joined
Jun 21, 2016
Messages
1,223
Reaction score
158
no.. global firmware does not send countrycode in it's beacon. The countrycode here is from the nvram (which is SG). i have tried setting country_ie and doth in the wireless config file. But still cannot. My conclusion is that it is hardcoded in hostapd somewhere.

China firmware sends the countrycode (from nvram) in it's beacon by default.

if you don't know countrycode in the beacons... then ignore it. it doesn't affect you.... :D

The miwifi app keep telling me to connect to german after i flashed the 1.0.79 firmware from 3.0.22
 

ronski

Junior Member
Joined
Jul 3, 2006
Messages
62
Reaction score
1
I don't think setting the regdom matters (but I an anal about such things so. I set it). As the rest of the setting is on SG already.

you are getting 30dbm power cos you care on ch 149-165. Change it to ch 100 and you will see it at 24dbm. The wireless driver is working as intended as per regdom.

to set ch 116 to 144 and 165. you need to manually edit etc / config / wireless file.

if you need to edit any network stuff. it's all in etc / config / network

I use the ax3600 only as a AP, so I gave it a IP but no gateway So technically the localhost of AX3600 cannot connect out of the subnet. I actually logged the AX3600 and it actually connects to xiaomi's servers and don't know sending what data.

If you use it as a router and cannot remove gateway IP.
you can edit etc / config / miwifi. change all of them to '127.0.0.1'.

root@XiaoQiang:/etc/config# cat miwifi

config miwifi 'server'
option S 's.miwifi.com'
option APP 'app.miwifi.com'
option API 'sg.api.miwifi.com'
option STUN 'sg.stun.miwifi.com'
option BROKER 'sg.broker.miwifi.com'

the web interface is super stripped down to the point of useless. And i still see reviews saying the web UI is good! lol. I only go web UI to update/change firmware... hahahahaha

option channel_block_list '52,56,60,64,100,104,108,112,116,120,124,128,132,136,140,144,165'
52,56,60,64,100,104,108,112 are all in my CH list although it is in the channel block list? Strange.
I tried to remove 165, saved, rebooted but CH 165 is still not showing on my Ch list. Then I removed the whole line of <option channel_block_list> but still no changes.
Is it because my countrycode in bdata is set to CN??haha..or did i miss out anything.

Thanks for sharing the miwifi..I changed all to localhost.:D

Dont say the web UI is useless la..Its just "simple" to use..hahah
 

ronski

Junior Member
Joined
Jul 3, 2006
Messages
62
Reaction score
1
The miwifi app keep telling me to connect to german after i flashed the 1.0.79 firmware from 3.0.22

Do you mean german region? If so I guess when u sign in your Mi account, under your account, it is set to german region. So you need to change it. Else another way is not to use the app and use web UI on PC.
 

porky_88

Senior Member
Joined
Nov 8, 2007
Messages
682
Reaction score
1
option channel_block_list '52,56,60,64,100,104,108,112,116,120,124,128,132,136,140,144,165'
52,56,60,64,100,104,108,112 are all in my CH list although it is in the channel block list? Strange.
I tried to remove 165, saved, rebooted but CH 165 is still not showing on my Ch list. Then I removed the whole line of <option channel_block_list> but still no changes.
Is it because my countrycode in bdata is set to CN??haha..or did i miss out anything.

Thanks for sharing the miwifi..I changed all to localhost.:D

Dont say the web UI is useless la..Its just "simple" to use..hahah

okok... it's not useless.. just super lame... lol

ch 165 is a standalone 20MHz channel. to use it you need to change channel bandwidth to 20MHz.
no one in the right mind will use ch 165 :) with N, AC or AX unless they specifically wanted to use a fixed 20MHz channel.

i had no luck in getting wl2 to work. Was thinking to get it work as a 1x1 ac 80MHz
I tried editing the wireless config file but can never get wl2 to spin up. wl2 is suppose to support ch 1-13 & 32-165.. so a all in one 1x1 ac 80MHz wifi
Let us know if you have any luck.
 
Last edited:

HCS_HCS

Member
Joined
Jun 25, 2017
Messages
164
Reaction score
1
Suntec Xiaomi store selling AX3600 @ $159.20. Thats 20% off original price $199.
 

xiaofan

High Supremacy Member
Joined
Sep 16, 2018
Messages
32,885
Reaction score
10,328
ACwifi 2020 router teardown summary
https://www.acwifi.net/12586.html

Xiaomi AX3600 Teardown
https://www.acwifi.net/9478.html
Qualcomm IPQ8071A(ARM Cortex A53 quad core 1.4GHz OC)+QCN5024+QCN5054+QCA9889(AIoT)+512MB RAM + 256MB FLASH,
2.4GHz FEM:QPF4288(High power)
5GHz FEM:QPF4588(mid to high power)

ACwifi Redmi AX6 Teardown: similar to Xiaomi AX3600 but different FEMs (Front End Module) for 5GHz and 2.4GHz, which result in different coverage performance.
https://www.acwifi.net/11176.html
Qualcomm IPQ8071A(ARM Cortex A53 quad core 1.4GHz OC)+QCN5024+QCN5054 +512MB RAM + 128MB FLASH,
2.4G FEM:QPF4200(mid power)
5G FEM:QPF4550(mid power)

Xiaomi AX1800 and Redmi AX5 Tear Down: same HW configuration
https://www.acwifi.net/9875.html
https://www.acwifi.net/10272.html
Qualcomm IPQ6000(ARM Cortex A53 quad core 1.2GHz)+QCN5022+QCN5052+256MB RAM +128MB FLash
2.4G FEM:QPF4200(mid power)
5G FEM:QPF4550 (mid power)
 

alvino

Senior Member
Joined
Feb 6, 2001
Messages
1,431
Reaction score
73
Ax6000 launching soon. Anyone think it’s worth it? I think got 2.5g ports. Tempting man!
 

Jun Jun

Senior Member
Joined
Jun 21, 2016
Messages
1,223
Reaction score
158
This china firmware really increases coverage as compared to the global one which I was on. Now switched all global firmware to china. To get around miwifi app, need to download from the site and use china mi home app to connect the router first before able to search using the miwifi app.
 

xiaofan

High Supremacy Member
Joined
Sep 16, 2018
Messages
32,885
Reaction score
10,328
This china firmware really increases coverage as compared to the global one which I was on. Now switched all global firmware to china.

Looks like the only thing good for the global FW is for SingTel ONT users to easily use AX3600 as a main router, without gaining SSH and manually configure VLAN with the China FW.
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top