Unable to get radio MediaTek MT7610E 802.11nac working on TP-LINK Archer VR200v

I am unable to get the radio working.

What did I do so far:

  1. using the standard settings and setting up a WPA2 password for wifi, devices can connect, but it takes long (> 30 seconds to establish the connection after entering password). Also the wifi shows up and hides every 30 seconds or so, connected devices loose connection constantly)
  2. Installed MT76 5.0Ghz github drivers via
opkg update
opkg install kmod-mt76x0e wpad-mini pciutils
reboot

( see bottom: https://openwrt.org/toh/tp-link/vr200v )

 root@OpenWrt:~# opkg install kmod-mt76x0e wpad-mini pciutils
Package kmod-mt76x0e (5.4.143+2021-06-06-22b69033-4) installed in root is up to date.
Installing wpad-mini (2020-06-08-5a8b3662-37) to root...
Installing pciutils (3.7.0-2) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/mips_24kc/packages/pciutils_3.7.0-2_mips_24kc.ipk
Installing zlib (1.2.11-3) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/mips_24kc/base/zlib_1.2.11-3_mips_24kc.ipk
Installing libkmod (27-2) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/mips_24kc/packages/libkmod_27-2_mips_24kc.ipk
Installing libpci (3.7.0-2) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/mips_24kc/packages/libpci_3.7.0-2_mips_24kc.ipk
Installing pciids (0.354-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/mips_24kc/packages/pciids_0.354-1_mips_24kc.ipk
Configuring libpci.
Configuring pciids.
Configuring zlib.
Configuring libkmod.
Configuring pciutils.
Collected errors:
 * check_conflicts_for: The following packages conflict with wpad-mini:
 * check_conflicts_for: 	wpad-basic-wolfssl * 
 * opkg_install_cmd: Cannot install package wpad-mini.
root@OpenWrt:~# reboot
  1. After that, the radio is not working anymore

Further information:
Radio MediaTek MT7610E 802.11nac
Model TP-LINK Archer VR200v
Architecture xRX200 rev 1.2
Firmware Version OpenWrt 21.02.0 r16279-5cc0535800
Kernel version 5.4.143

1 Like

You don't need wpad-mini, wpad-basic-wolfssl is the new default. You probably found some outdated instructions somewhere. pciids isn't needed for wireless operation either, if the radio's not showing up it might be handy, but only then.

Either way, opkg errors out and doesn't replace anything, so that's not the issue. You should be checking logread for any pointers on what's happening. I'd advise to bump to 21.02.1 first though. And share your wireless configuration (without keys etc).

I installed 21.02.1, wifi has still the same issues.

Do I need to uninstall the packages installed before (pciutils, zlib, libkmod, libpci... and so on)?

Logs:

logread

Thu Dec 23 15:45:41 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Thu Dec 23 15:45:42 2021 kern.err kernel: [ 1202.163012] mt76x0e 0000:02:00.0: MCU message 1f (seq 2) timed out
Thu Dec 23 15:45:43 2021 kern.info kernel: [ 1202.217337] br-lan: port 2(wlan0) entered blocking state
Thu Dec 23 15:45:43 2021 kern.info kernel: [ 1202.221344] br-lan: port 2(wlan0) entered disabled state
Thu Dec 23 15:45:43 2021 kern.info kernel: [ 1202.227172] device wlan0 entered promiscuous mode
Thu Dec 23 15:45:43 2021 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Thu Dec 23 15:45:43 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->ACS
Thu Dec 23 15:45:43 2021 daemon.notice hostapd: wlan0: ACS-STARTED
Thu Dec 23 15:45:46 2021 daemon.notice hostapd: ACS: Survey is missing noise floor
Thu Dec 23 15:45:46 2021 daemon.notice hostapd: ACS: Survey is missing noise floor
[... repeats for a lot of times ...]
Thu Dec 23 15:45:46 2021 daemon.notice hostapd: ACS: Survey is missing noise floor
Thu Dec 23 15:45:46 2021 daemon.notice hostapd: ACS: Survey is missing noise floor
Thu Dec 23 15:45:46 2021 daemon.notice hostapd: wlan0: ACS-COMPLETED freq=5180 channel=36
Thu Dec 23 15:45:46 2021 daemon.notice hostapd: wlan0: interface state ACS->HT_SCAN
Thu Dec 23 15:45:48 2021 kern.info kernel: [ 1207.239347] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Thu Dec 23 15:45:48 2021 kern.info kernel: [ 1207.244671] br-lan: port 2(wlan0) entered blocking state
Thu Dec 23 15:45:48 2021 kern.info kernel: [ 1207.249667] br-lan: port 2(wlan0) entered forwarding state
Thu Dec 23 15:45:48 2021 daemon.notice netifd: Network device 'wlan0' link is up
Thu Dec 23 15:45:48 2021 daemon.notice hostapd: wlan0: interface state HT_SCAN->ENABLED
Thu Dec 23 15:45:48 2021 daemon.notice hostapd: wlan0: AP-ENABLED
Thu Dec 23 15:46:25 2021 daemon.err odhcp6c[3498]: Failed to send SOLICIT message to ff02::1:2 (Permission denied)
Thu Dec 23 15:48:15 2021 daemon.err odhcp6c[3498]: Failed to send SOLICIT message to ff02::1:2 (Permission denied)
Thu Dec 23 15:49:13 2021 daemon.info hostapd: wlan0: STA [MAC ADDRESS REMOVED MANUALLY] IEEE 802.11: authenticated
Thu Dec 23 15:49:13 2021 daemon.info hostapd: wlan0: STA [MAC ADDRESS REMOVED MANUALLY] IEEE 802.11: authenticated
Thu Dec 23 15:50:22 2021 daemon.err odhcp6c[3498]: Failed to send SOLICIT message to ff02::1:2 (Permission denied)
Thu Dec 23 15:52:23 2021 daemon.info hostapd: wlan0: STA 22:2f:b9:21:ab:73 IEEE 802.11: authenticated
Thu Dec 23 15:52:27 2021 daemon.err odhcp6c[3498]: Failed to send SOLICIT message to ff02::1:2 (Permission denied)
Thu Dec 23 15:52:34 2021 authpriv.info dropbear[4167]: Child connection from 192.168.1.105:38866
Thu Dec 23 15:52:37 2021 authpriv.notice dropbear[4167]: Password auth succeeded for 'root' from 192.168.1.105:38866

/etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11a'
        option path 'pci0000:01/0000:01:00.0/0000:02:00.0'
        option cell_density '0'
        option channel 'auto'
        option htmode 'VHT40'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'REMOVED'
        option key 'REMOVED'
        option ieee80211w '2'
        option wmm '0'
        option encryption 'psk2'

Try setting a channel yourself instead of using 'auto'. You might see those ACS survey messages disappear. It might be scanning DFS channels and that can take quite a bit.