No wifi menu in gui

I have a pair of TP-Link TL-WN422G dongles plugged in to my pi 2b

but in the gui under network the wifi menu is missing.

Screenshot 2022-07-22 171636

typing lsusb at the command line shows they are present

are these dongles compatible with openwrt? and if so do they just need a driver? if thats the case where do I get the driver and how do I install it?

root@OpenWrt:~# lsusb
Bus 001 Device 004: ID 0cf3:1006 ATHEROS USB2.0 WLAN
Bus 001 Device 005: ID 0cf3:1006 ATHEROS USB2.0 WLAN
Bus 001 Device 003: ID 0424:ec00
Bus 001 Device 002: ID 0424:9514
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.188 dwc_otg_hcd DWC OTG Controller

Thanks

Try the kmod-ath9k and firmware packages.

You will need several packages to install a functional wireless stack on a system that ships without by default. Off the top of my head:

  • wpad-mini - hostapd / wpa_supplicant in one
  • iwinfo - OpenWrt specific wifi utility
  • libiwinfo-lua - Lua (LuCI) binding for iwinfo
  • kmod-ath9k-htc - Atheros 11n USB driver

Installing these packages should drag other essential dependencies such as hostapd-common or kmod-mac80211 along.

After installing those packages successfully, running /sbin/wifi config should generate a default /etc/config/wireless and the Wireless menu in LuCI should appear (you might need to log out and log in back again into LuCI to refresh the cached menu).

It is not an 11n device.

Thanks to all, its now working.

both are now showing in the menu as Generic 802.11bgn

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.