I have installed OpenWrt on my raspberry 4 B. (which already has a wifi network card inside)
I am having troubles to get my usb Wifi D-Link DWA 127 recognized (in order to get another wlan)
I have installed these packages:
opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb kmod-usb-core kmod-usb-uhci kmod-usb-ohci kmod-usb2 usbutils openvpn-openssl luci-app-openvpn nano
Should be fine since I found the device in : https://wiki.debian.org/fr/rt2800usb :
USB: 2001:3C1B D-Link Corp. DWA-127 Wireless N 150 High-Gain Adapter(rev.A1) [Ralink RT3070]
root@OpenWrt:~# lsusb Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.154 xhci-hcd xHCI Host Controller Bus 001 Device 005: ID 2001:3d04 MediaTek 802.11 n WLAN Bus 001 Device 002: ID 2109:3431 USB2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.154 xhci-hcd xHCI Host Controller
The usb wifi device seems to be found but I can't get wlan1 detected. (wlan0 is the internal wificard of the raspberry). So it is not considered as a wifi device..
root@OpenWrt:~# ifconfig wlan1 up ifconfig: SIOCGIFFLAGS: No such device
Do you have any idea of what is going wrong ?
Thank you in advance,