installed and 5ghz wifi does not work on my xiaomi 4a giabit router if i set my country code to india wifi does not work if i set it to driver default wifi does not work if i set to 00 world still does not work either i need to set it to manual channels or set country code to usa in that cade wifi for 5 ghz works
i have tried but failed to start wifi please fix
1 Like
openrouterman:
5ghz wifi does not work
openrouterman:
please fix
Please provide more details and device make/model.
cat /etc/config/wireless
openrouterman:
set country code to usa
Please only test the correct country setting.
i am in india but as it does not work with india to start wifi i need to change to other
Wait, USA works?
(Kinda difficult to discuss your illegal configuration.)
Can you provide a log with the correct country setting (while using 2.4 or wireed to access the device)?
Details and config please.
1 Like
BusyBox v1.37.0 (2026-01-05 22:48:50 UTC) built-in shell (ash)
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
| _____|| | |||| ___|| | |____|
|| W I R E L E S S F R E E D O M
OpenWrt 25.12.0-rc2, r32429-d76c64ad00
OpenWrt recently switched to the "apk" package manager!
OPKG Command APK Equivalent Description
opkg install apk add Install a package
opkg remove apk del Remove a package
opkg upgrade apk upgrade Upgrade all packages
opkg files apk info -L List package contents
opkg list-installed apk info List installed packages
opkg update apk update Update package lists
opkg search apk search Search for packages
For more information visit:
root@OpenWrt:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
option channel '9'
option band '2g'
option htmode 'HT20'
option cell_density '0'
option country 'IN'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option channel 'auto'
option band '5g'
option htmode 'VHT80'
option cell_density '0'
option country 'IL'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt-5GHz'
option encryption 'sae-mixed'
option key ''
option ocv '1'
option isolate '1'
config wifi-iface 'wifinet2'
option device 'radio0'
option mode 'ap'
option ssid 'OpenWrt-2.4GHz'
option encryption 'sae-mixed'
option key ''
option network 'lan'
option ocv '1'
option isolate '1' ```
this one is the conf i use and wifi works for this country
no i am india for 2.4 it works with in but for 5ghz wifi does not start with in as country
openrouterman:
option country 'IL'
So you intended to set Isreal on 5.4 GHz?
openrouterman:
no i am india
I understand.
Also post
ubus call system board
though i am in india but as it does not work for india with 5ghz i have to set it to isreal.
root@OpenWrt:~# ubus call system board
{
"kernel": "6.12.63",
"hostname": "OpenWrt",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "Xiaomi Mi Router 4A Gigabit Edition",
"board_name": "xiaomi,mi-router-4a-gigabit",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "25.12.0-rc2",
"firmware_url": "https://downloads.openwrt.org/ ",
"revision": "r32429-d76c64ad00",
"target": "ramips/mt7621",
"description": "OpenWrt 25.12.0-rc2 r32429-d76c64ad00",
"builddate": "1767653330"
}
1 Like
Try setting channel 36 and IN instead of auto.
yes it works if do it manually it works smoothly
OK...thanks for the clarification.
How long are you waiting?
Log please?
here is a video of the issue
I saw the video.
Same questions:
The video doesn't show the log, and what you show usually displays when no client is connected.
Some countries require you to wait a few minutes, depending on channel.
i wait for the time that usually take to start a wifi
i have tested with usa in that case it take 10sec to start but for india it never starts
lleachii:
Log please?
how can i share logs can you help me please?
logread
(Or go to the logs menu on the LuCI web GUI and copy/paste)
openrouterman:
10sec to start
Lucky. I assumed you waited at least 5 minutes.
Feel free to use channel 36 if you don't wish to wait.
this was taken when i changed to in
look it is already 6min still no 5ghz now it is 12min still no wifi for 5ghz i have to change to isreal or usa to have 5ghz