Have you selected luci-app-mtwifi
in your build? Per what I understand, a different Luci wifi app is required to configure the mtk drivers.
yes I did. you can see it in the .config
file I posted.
Can you guys share your .config
files?
Yeah. It's necessary for 7603+7615. It doesn't necessary for dbdc mt5715dn wireless.
how did you changed the wifi interface language? it work on every setting but not on wifi mtk wifi interface, it's chinise.
My translation files attached.
Put them in this directory on a working system
/usr/lib/lua/luci/view/admin_mtk
For buildroot use
lede/package/lean/mt/luci-app-mtwifi/luasrc/view/admin_mtk
thanks for that.
are you able to make it work as sta or repeter? looks like this mtk is not so easy.
edit : it work as sta and ap at the same time on the same radio.
but the thing that annoing me is the fact that after every reboot the radios are down. so you need an ethernet connection to bring it up. any trick here?
edit: ifconfig ra0 up; ifconfig rai0 up; exit 0 solved the problem, but we need some other translation of the wifi interface, some stuff still in chinese, also the wifi station interface work but it say interface is down.
Maybe it will be useful to someone.
I recently built OpenWRT 21.02.0 with mtk drivers for Xiaomi R3P.
My repository - https://github.com/Azexios/openwrt-r3p-mtk
For other devices, you need to edit the WirelessMode values:
/mt/luci-app-mt wifi/root/usr/lib/lua/mtkwifi.lua (lines 227-261).
/mt/luci-app-mtwifi/luasrc/view/admin_mtk/mtk_wifi_dev_cfg.htm (lines 57-64).
To check which WirelessMode values your device supports, use the commands:
iwpriv ra0 set WirelessMode=0
iwpriv ra0 set WirelessMode=1
iwpriv ra0 set WirelessMode=2
iwpriv ra0 set WirelessMode=3
etc.
rai0 for 5G.
It is enough to add ra0 and rai0 to the lan (to the br-lan bridge).
what this modes means?
also do you have any config for mac repeter mode?
No, I don't use this mode.
Great! Opkg must be working?
What about the opensource drivers - did you turn them off and how to preserve the kernel vermagic hash then?
Opkg works (including kernel modules).
For open source drivers, you need to set "M" (module) and vermagic will not change.
My config.buildinfo can be viewed here - https://github.com/Azexios/openwrt-r3p-mtk/releases
Topic closed upon OPs request.