Mikrotik Hex S RB760iGS - how to configure USB wifi

Hi,
I have linksys AE1200 USB wifi run at 2.4G. I want to configure USB wifi.

root@OpenWrt:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.188 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 13b1:0039 Cisco Linksys AE1200
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.188 xhci-hcd xHCI Host Controller
root@OpenWrt:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc fq_codel state UP qlen 1000
    link/ether 02:f6:04:dd:3d:ef brd ff:ff:ff:ff:ff:ff
    inet6 fe80::f6:4ff:fedd:3def/64 scope link
       valid_lft forever preferred_lft forever
3: sfp: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-wan state UP qlen 1000
    link/ether b8:69:f4:83:72:5f brd ff:ff:ff:ff:ff:ff
4: wan@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-wan state LOWERLAYERDOWN qlen 1000
    link/ether b8:69:f4:83:72:5f brd ff:ff:ff:ff:ff:ff
5: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether b8:69:f4:83:72:60 brd ff:ff:ff:ff:ff:ff
6: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether b8:69:f4:83:72:60 brd ff:ff:ff:ff:ff:ff
7: lan4@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether b8:69:f4:83:72:60 brd ff:ff:ff:ff:ff:ff
8: lan5@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether b8:69:f4:83:72:60 brd ff:ff:ff:ff:ff:ff
9: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether b8:69:f4:83:72:60 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fdb4:a3a4:e069::1/60 scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fe80::ba69:f4ff:fe83:7260/64 scope link
       valid_lft forever preferred_lft forever
10: br-wan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether b8:69:f4:83:72:5f brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.77/24 brd 192.168.0.255 scope global br-wan
       valid_lft forever preferred_lft forever
    inet6 fe80::ba69:f4ff:fe83:725f/64 scope link
       valid_lft forever preferred_lft forever

Regards

BCM43235, try the kmod-brcmfmac package, and corresponding firmware file.

root@OpenWrt:~# opkg install kmod-brcmfmac
Installing kmod-brcmfmac (5.4.188+5.10.110-1-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.3/targets/ramips/mt7621/packages/kmod-brcmfmac_5.4.188%2b5.10.110-1-1_mipsel_24kc.ipk
Installing kmod-brcmutil (5.4.188+5.10.110-1-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.3/targets/ramips/mt7621/packages/kmod-brcmutil_5.4.188%2b5.10.110-1-1_mipsel_24kc.ipk
Installing brcmfmac-firmware-usb (20211216-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/mipsel_24kc/base/brcmfmac-firmware-usb_20211216-1_mipsel_24kc.ipk
Configuring kmod-brcmutil.
Configuring brcmfmac-firmware-usb.
Configuring kmod-brcmfmac.

How to find the firmware file and how to install it?

I found this to config

config	wifi-device	'wl0'
	option	type	'broadcom'
	option	channel	'6'

References: https://openwrt.org/docs/guide-user/network/wifi/basic

But in which file do I write this?

The 13b1:0039 version of the chip is not supported.
https://bbs.archlinux.org/viewtopic.php?id=156440
You will need a different adapter.

1 Like
brcmfmac-firmware-usb 20211216-1 503.7 KB Broadcom BCM43xx fullmac USB firmware Installed
kmod-brcmfmac 5.4.188+5.10.110-1-1 113.7 KB Kernel module for Broadcom IEEE802.11n USB Wireless cards Installed
kmod-brcmutil 5.4.188+5.10.110-1-1 4.7 KB This module contains some common parts needed by Broadcom Wireless drivers brcmsmac and brcmfmac. Installed

I think the chip is not supported.

https://wireless.wiki.kernel.org/en/users/drivers/brcm80211