hi all! hi @slh , @robimarko , @psherman
yesterday i updated the kernel version of my ax3600 and since then, i am not able to get the wifi working. At first the WIFI interfaces and its menu disappeared, I installed its driver, but I don't know if I'm doing it right because at the end the wifi is not activated.
I attach some logs if you can help me, PLEASE HELP!!!
ubus call system board
{
"kernel": "5.15.112",
"hostname": "router",
"system": "ARMv8 Processor rev 4",
"model": "Xiaomi AX3600",
"board_name": "xiaomi,ax3600",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r22972-ab7e251303",
"target": "ipq807x/generic",
"description": "OpenWrt SNAPSHOT r22972-ab7e251303"
}
}
Opkg installed wifi drivers;
I'm sure I'm not installing the ax3600 wifi drivers correctly and that's why I'm having problems, but I don't know which ones are the correct ones either.
root@router:~# opkg list-installed | grep 8021
kmod-cfg80211 - 5.15.112+6.1.24-2
kmod-mac80211 - 5.15.112+6.1.24-2
kmod-mac80211-hwsim - 5.15.112+6.1.24-2
ucode-mod-nl80211 - 2023-04-03-51638672-1
zabbix-extra-mac80211 - 6.2.3-3
root@router:~# opkg list-installed | grep wpad
wpad-mesh-openssl - 2023-03-29-bb945b98-1.2
root@router:~# opkg list-installed | grep 3600
ipq-wifi-xiaomi_ax3600 - 2023-04-12-b22487d7-1
Interfaces status:
uname -a
Linux ROUTER 5.15.112 #0 SMP Fri May 19 21:33:49 2023 aarch64 GNU/Linux
logread -f
Sun May 21 10:48:34 2023 kern.info kernel: [ 716.491505] nss-dp 3a001800.dp5 lan3: PHY Link up speed: 100
Sun May 21 10:48:34 2023 kern.info kernel: [ 716.491634] br-lan: port 3(lan3) entered blocking state
Sun May 21 10:48:34 2023 kern.info kernel: [ 716.496239] br-lan: port 3(lan3) entered forwarding state
Sun May 21 10:48:34 2023 daemon.notice netifd: Network device 'lan3' link is up
Sun May 21 10:48:37 2023 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy phy1-ap0) --> new PHY
Sun May 21 10:48:37 2023 kern.info kernel: [ 719.746805] br-lan: port 4(phy1-ap0) entered blocking state
Sun May 21 10:48:37 2023 kern.info kernel: [ 719.746849] br-lan: port 4(phy1-ap0) entered disabled state
Sun May 21 10:48:37 2023 kern.info kernel: [ 719.751492] device phy1-ap0 entered promiscuous mode
Sun May 21 10:48:37 2023 daemon.err hostapd: Driver does not support configured HT capability [LDPC]
Sun May 21 10:48:37 2023 daemon.notice hostapd: phy1-ap0: interface state UNINITIALIZED->DISABLED
Sun May 21 10:48:37 2023 daemon.notice hostapd: phy1-ap0: AP-DISABLED
Sun May 21 10:48:37 2023 daemon.err hostapd: phy1-ap0: Unable to setup interface.
Sun May 21 10:48:37 2023 daemon.notice hostapd: nl80211: deinit ifname=phy1-ap0 disabled_11b_rates=0
Sun May 21 10:48:37 2023 kern.info kernel: [ 719.759298] device phy1-ap0 left promiscuous mode
Sun May 21 10:48:37 2023 kern.info kernel: [ 719.762095] br-lan: port 4(phy1-ap0) entered disabled state
Sun May 21 10:48:38 2023 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Sun May 21 10:48:38 2023 daemon.notice hostapd: phy1-ap0: CTRL-EVENT-TERMINATING
Sun May 21 10:48:38 2023 daemon.err hostapd: hostapd_free_hapd_data: Interface phy1-ap0 wasn't started
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): Command failed: ubus call hostapd config_add {"iface":"phy1-ap0", "config":"/var/run/hostapd-phy1.conf"} (Invalid argument)
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): Usage: ubus [<options>] <command> [arguments...]
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): Options:
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): -s <socket>: Set the unix domain socket to connect to
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): -t <timeout>: Set the timeout (in seconds) for a command to complete
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): -S: Use simplified output (for scripts)
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): -v: More verbose output
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): -m <type>: (for monitor): include a specific message type
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): (can be used more than once)
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): -M <r|t> (for monitor): only capture received or transmitted traffic
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285):
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): Commands:
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): - list [<path>] List objects
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): - call <path> <method> [<message>] Call an object method
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): - subscribe <path> [<path>...] Subscribe to object(s) notifications
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): - listen [<path>...] Listen for events
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): - send <type> [<message>] Send an event
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): - wait_for <object> [<object>...] Wait for multiple objects to appear on ubus
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): - monitor Monitor ubus traffic
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285):
Sun May 21 10:48:38 2023 daemon.notice netifd: radio1 (10285): Device setup failed: HOSTAPD_START_FAILED
Sun May 21 10:48:38 2023 daemon.notice netifd: Wireless device 'radio1' set retry=0
Sun May 21 10:48:38 2023 daemon.crit netifd: Wireless device 'radio1' setup failed, retry=0
Sun May 21 10:48:38 2023 daemon.notice netifd: Wireless device 'radio1' is now down
Sun May 21 10:48:40 2023 daemon.info dnsmasq[1]: read /etc/hosts - 6 names
Sun May 21 10:48:40 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 80 names
Sun May 21 10:48:40 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 0 names
Sun May 21 10:48:40 2023 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sun May 21 10:48:43 2023 daemon.notice netifd: Network device 'lan3' link is down
Sun May 21 10:48:43 2023 kern.info kernel: [ 724.811611] nss-dp 3a001800.dp5 lan3: PHY Link is down
Sun May 21 10:48:43 2023 kern.info kernel: [ 724.811991] br-lan: port 3(lan3) entered disabled state
Sun May 21 10:48:44 2023 kern.info kernel: [ 725.851602] nss-dp 3a001800.dp5 lan3: PHY Link up speed: 100
Sun May 21 10:48:44 2023 kern.info kernel: [ 725.851732] br-lan: port 3(lan3) entered blocking state
Sun May 21 10:48:44 2023 kern.info kernel: [ 725.856339] br-lan: port 3(lan3) entered forwarding state
Sun May 21 10:48:44 2023 daemon.notice netifd: Network device 'lan3' link is up
Sun May 21 10:48:49 2023 daemon.info dnsmasq[1]: read /etc/hosts - 6 names
Sun May 21 10:48:49 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 80 names
Sun May 21 10:48:49 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 0 names
Sun May 21 10:48:49 2023 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sun May 21 10:48:54 2023 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy phy0-ap0) --> new PHY
Sun May 21 10:48:54 2023 kern.info kernel: [ 736.363668] br-lan: port 4(phy0-ap0) entered blocking state
Sun May 21 10:48:54 2023 kern.info kernel: [ 736.363715] br-lan: port 4(phy0-ap0) entered disabled state
Sun May 21 10:48:54 2023 kern.info kernel: [ 736.368307] device phy0-ap0 entered promiscuous mode
Sun May 21 10:48:54 2023 daemon.err hostapd: Driver does not support configured HT capability [LDPC]
Sun May 21 10:48:54 2023 daemon.notice hostapd: phy0-ap0: interface state UNINITIALIZED->DISABLED
Sun May 21 10:48:54 2023 daemon.notice hostapd: phy0-ap0: AP-DISABLED
Sun May 21 10:48:54 2023 daemon.err hostapd: phy0-ap0: Unable to setup interface.
Sun May 21 10:48:54 2023 daemon.notice hostapd: nl80211: deinit ifname=phy0-ap0 disabled_11b_rates=0
Sun May 21 10:48:54 2023 kern.info kernel: [ 736.377353] device phy0-ap0 left promiscuous mode
Sun May 21 10:48:54 2023 kern.info kernel: [ 736.378939] br-lan: port 4(phy0-ap0) entered disabled state
Sun May 21 10:48:54 2023 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Sun May 21 10:48:54 2023 daemon.notice hostapd: phy0-ap0: CTRL-EVENT-TERMINATING
Sun May 21 10:48:54 2023 daemon.err hostapd: hostapd_free_hapd_data: Interface phy0-ap0 wasn't started
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): Command failed: ubus call hostapd config_add {"iface":"phy0-ap0", "config":"/var/run/hostapd-phy0.conf"} (Invalid argument)
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): Usage: ubus [<options>] <command> [arguments...]
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): Options:
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): -s <socket>: Set the unix domain socket to connect to
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): -t <timeout>: Set the timeout (in seconds) for a command to complete
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): -S: Use simplified output (for scripts)
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): -v: More verbose output
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): -m <type>: (for monitor): include a specific message type
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): (can be used more than once)
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): -M <r|t> (for monitor): only capture received or transmitted traffic
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948):
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): Commands:
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): - list [<path>] List objects
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): - call <path> <method> [<message>] Call an object method
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): - subscribe <path> [<path>...] Subscribe to object(s) notifications
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): - listen [<path>...] Listen for events
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): - send <type> [<message>] Send an event
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): - wait_for <object> [<object>...] Wait for multiple objects to appear on ubus
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): - monitor Monitor ubus traffic
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948):
Sun May 21 10:48:54 2023 daemon.notice netifd: radio0 (11948): Device setup failed: HOSTAPD_START_FAILED
Sun May 21 10:48:54 2023 daemon.notice netifd: Wireless device 'radio0' set retry=0
Sun May 21 10:48:54 2023 daemon.crit netifd: Wireless device 'radio0' setup failed, retry=0
Sun May 21 10:48:54 2023 daemon.notice netifd: Wireless device 'radio0' is now down
Sun May 21 10:48:57 2023 daemon.info dnsmasq[1]: read /etc/hosts - 6 names
Sun May 21 10:48:57 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 80 names
/etc/config/wireless.
config wifi-device 'radio0'
option type 'mac80211'
option path 'virtual/mac80211_hwsim/hwsim0'
option channel '36'
option band '5g'
option htmode 'HE80'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
config wifi-device 'radio1'
option type 'mac80211'
option path 'virtual/mac80211_hwsim/hwsim1'
option channel '36'
option band '5g'
option htmode 'HE80'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
cat /var/run/hostapd-phy1.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
hw_mode=a
beacon_int=100
channel=36
chanlist=36
tx_queue_data2_burst=2.0
ieee80211n=1
ht_coex=0
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][RX-STBC123][MAX-AMSDU-7935][DSSS_CCK-40]
ieee80211ac=1
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
vht_capab=[RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][RX-STBC-1234][VHT160-80PLUS80][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]
ieee80211ax=1
he_oper_chwidth=1
he_oper_centr_freq_seg0_idx=42
he_bss_color=128
he_spr_sr_control=3
he_default_pe_duration=4
he_rts_threshold=1023
he_mu_edca_qos_info_param_count=0
he_mu_edca_qos_info_q_ack=0
he_mu_edca_qos_info_queue_request=0
he_mu_edca_qos_info_txop_request=0
he_mu_edca_ac_be_aifsn=8
he_mu_edca_ac_be_aci=0
he_mu_edca_ac_be_ecwmin=9
he_mu_edca_ac_be_ecwmax=10
he_mu_edca_ac_be_timer=255
he_mu_edca_ac_bk_aifsn=15
he_mu_edca_ac_bk_aci=1
he_mu_edca_ac_bk_ecwmin=9
he_mu_edca_ac_bk_ecwmax=10
he_mu_edca_ac_bk_timer=255
he_mu_edca_ac_vi_ecwmin=5
he_mu_edca_ac_vi_ecwmax=7
he_mu_edca_ac_vi_aifsn=5
he_mu_edca_ac_vi_aci=2
he_mu_edca_ac_vi_timer=255
he_mu_edca_ac_vo_aifsn=5
he_mu_edca_ac_vo_aci=3
he_mu_edca_ac_vo_ecwmin=5
he_mu_edca_ac_vo_ecwmax=7
he_mu_edca_ac_vo_timer=255
radio_config_id=fda9094269997ac11933dee2232ec19e
interface=phy1-ap0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
skip_inactivity_poll=0
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
nas_identifier=020000000100
auth_algs=1
wpa=0
ssid=OpenWrt
bridge=br-lan
wds_bridge=
snoop_iface=br-lan
qos_map_set=0,0,2,16,1,1,255,255,18,22,24,38,40,40,44,46,48,56
config_id=3594716b3eeae32b9b929693a468d9f1
bssid=02:00:00:00:01:00
cat /var/run/hostapd-phy0.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
hw_mode=a
beacon_int=100
channel=36
chanlist=36
tx_queue_data2_burst=2.0
ieee80211n=1
ht_coex=0
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][RX-STBC123][MAX-AMSDU-7935][DSSS_CCK-40]
ieee80211ac=1
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
vht_capab=[RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][RX-STBC-1234][VHT160-80PLUS80][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]
ieee80211ax=1
he_oper_chwidth=1
he_oper_centr_freq_seg0_idx=42
he_bss_color=128
he_spr_sr_control=3
he_default_pe_duration=4
he_rts_threshold=1023
he_mu_edca_qos_info_param_count=0
he_mu_edca_qos_info_q_ack=0
he_mu_edca_qos_info_queue_request=0
he_mu_edca_qos_info_txop_request=0
he_mu_edca_ac_be_aifsn=8
he_mu_edca_ac_be_aci=0
he_mu_edca_ac_be_ecwmin=9
he_mu_edca_ac_be_ecwmax=10
he_mu_edca_ac_be_timer=255
he_mu_edca_ac_bk_aifsn=15
he_mu_edca_ac_bk_aci=1
he_mu_edca_ac_bk_ecwmin=9
he_mu_edca_ac_bk_ecwmax=10
he_mu_edca_ac_bk_timer=255
he_mu_edca_ac_vi_ecwmin=5
he_mu_edca_ac_vi_ecwmax=7
he_mu_edca_ac_vi_aifsn=5
he_mu_edca_ac_vi_aci=2
he_mu_edca_ac_vi_timer=255
he_mu_edca_ac_vo_aifsn=5
he_mu_edca_ac_vo_aci=3
he_mu_edca_ac_vo_ecwmin=5
he_mu_edca_ac_vo_ecwmax=7
he_mu_edca_ac_vo_timer=255
radio_config_id=fda9094269997ac11933dee2232ec19e
interface=phy0-ap0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
skip_inactivity_poll=0
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
nas_identifier=020000000000
auth_algs=1
wpa=0
ssid=OpenWrt
bridge=br-lan
wds_bridge=
snoop_iface=br-lan
qos_map_set=0,0,2,16,1,1,255,255,18,22,24,38,40,40,44,46,48,56
config_id=781a62af2b5799a5eaf03421eb4b4fdd
bssid=02:00:00:00:00:00
uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.path='virtual/mac80211_hwsim/hwsim0'
wireless.radio0.channel='173'
wireless.radio0.band='5g'
wireless.radio0.htmode='HE80'
wireless.radio0.country='ES'
wireless.radio0.cell_density='0'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='OpenWrt'
wireless.default_radio0.encryption='none'
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.path='virtual/mac80211_hwsim/hwsim1'
wireless.radio1.channel='36'
wireless.radio1.band='5g'
wireless.radio1.htmode='HE80'
wireless.default_radio1=wifi-iface
wireless.default_radio1.device='radio1'
wireless.default_radio1.network='lan'
wireless.default_radio1.mode='ap'
wireless.default_radio1.ssid='OpenWrt'
wireless.default_radio1.encryption='none'
I've spent all night installing, uninstalling, rebooting router and nothing, there is no way. I only work the LAN interface but WIFI always down, does not detect networks and if I configure it does not work.
please, greatly if you can give me a hand with this
THANK YOU!