Latest OpenWRT (23.05.0) on asus rt-n16 (bcrms driver)

Here are steps I did to upgrade OpenWRT 15.x to 23.05. 

Get the latest firmware here : https://openwrt.org/toh/asus/rt-n16 

  1. On your router UI,  go to firmware upgrade page and download config backup
  2. Install firmware ~5 mins later browse to router web interface

 Since the packaged wireless driver only supportb 801.1b, I upgraded the wireless firmware to broadcom driver source

Things went bad, wl was not found.  What I did:
# removing previous modules
opkg remove kmod-b43 kmod-b43legacy kmod-mac80211 kmod-cfg80211 kmod-brcmsmac
# installing proprietary module and supported packages
opkg update; opkg install kmod-brcm-wl nas wlc wl
# cleaning up wireless configuration and rebooting device
rm -f /etc/config/wireless; reboot


So, went back to use brcm drivers 

opkg update 
opkg remove kmod-brcm-wl nas wlc wl opkg install kmod-brcmsmac
opkg install kmod-brcmutil 

rmmod b43
rmmod b43legacy
rmmod wl
rmmod brcmsmac
rmmod brcmutil
modprobe brcmsmac

# make sure to delete the old config files 
rm -f /etc/config/wireless 
wifi config 
vi /etc/config/wireless 

Now comment out # "option disabled 1" (using vi : tip esc-i to insert and esc qw)
So I got radio Device is not active, it was due to an incompatible device firmware

On this forum I found the solution. Thank you to CHD! Download firmware from here : linux firmware put the new driver (found in brcm subfolder) and replace the 2 files in /lib/firmware/brcm 
reboot and it worked for me!

Comments

Popular posts from this blog

Proxmox can't shutdown VM [solved] (can't lock file '/run/lock/qemu-server/lock-*.conf)

Subversion (svn) install on RHEL 9 (alma linux), connection using apache https