can flash global fw for sg region? (if dont mind lower tx power?)
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.
can flash global fw for sg region? (if dont mind lower tx power?)
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
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>![]()
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.
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.
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.
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.
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![]()
Since you tested both SG & CN no diff then I will leave it..
How do you unlock the missing Channels? I dont have CH 116-144 & 165.
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....![]()
The miwifi app keep telling me to connect to german after i flashed the 1.0.79 firmware from 3.0.22
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
The miwifi app keep telling me to connect to german after i flashed the 1.0.79 firmware from 3.0.22
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.
Dont say the web UI is useless la..Its just "simple" to use..hahah
Ax6000 launching soon. Anyone think it’s worth it? I think got 2.5g ports. Tempting man!
hahah ok thanks I’ll hoot. I go support that theeadNo need to think. Just go ahead and buy. BTW, I have created a new thread for it.
This china firmware really increases coverage as compared to the global one which I was on. Now switched all global firmware to china.
Ax6000 launching soon. Anyone think it’s worth it? I think got 2.5g ports. Tempting man!