Azurewave AW-CM389MA support

I have aquired a few Dell 3040 thin clients that work great with dietpi. I had one with this wireless card installed but I cannot figure out how to get it to work. I did try another minimal linux os that supported it right away so I figure there should be support available for this card.

Dietpi config shows no wifi card available.

Thanks for any information and tips to get this working.

Azurewave AW-CM389MA - Marvell 8897 chipset M.2 2230 - SDIO interface

Hello,
I guess you need to install the package firmware-libertas.
It contains the firmware for your SOC.
https://packages.debian.org/trixie/firmware-libertas

apt install firmware-libertas -y
sudo modprobe mwifiex_sdio btmrvl_sdio

Then check if the card is recognized now

dmesg | grep mwifiex

If yes, then you should be able to config it now via dietpi-config

installed the package and now getting this:

sudo dmesg | grep mwifiex
\[   23.507478\] mwifiex_sdio mmc1:0001:1: WLAN is not the winner! Skip FW dnld
\[   23.716017\] mwifiex_sdio mmc1:0001:1: WLAN FW is active
\[   23.851414\] mwifiex_sdio mmc1:0001:1: host_mlme: disable, key_api: 2
\[   23.915395\] mwifiex_sdio mmc1:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.19.p54)
\[   23.915431\] mwifiex_sdio mmc1:0001:1: driver_version = mwifiex 1.0 (15.68.19.p54)

but dietpi-config still shows no adapter.

can you share following ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 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
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 2c:ea:7f:1d:37:8d brd ff:ff:ff:ff:ff:ff
inet 192.168.11.115/24 brd 192.168.11.255 scope global dynamic eth0
valid_lft 6282sec preferred_lft 6282sec
3: mlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether a8:1d:16:a1:b3:a3 brd ff:ff:ff:ff:ff:ff

The interface is labeled mlan0 (and has the MAC adress a8:1d:16:a1:b3:a3, we need this later) but the script is looking for wlan0. We can jsut rename it to make it work with the DietPi scripts.

For testing you can do this:

sudo ip link set mlan0 down
sudo ip link set mlan0 name wlan0
sudo ip link set wlan0 up
ip link show wlan0

And then try dietpi-config again, now it should be visible.


To make this change persistent, you need to create a udev rule:

echo 'SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="a8:1d:16:a1:b3:a3", NAME="wlan0"' | sudo tee /etc/udev/rules.d/70-persistent-net.rules
sudo udevadm control --reload
sudo udevadm trigger

Now reboot and do ip a again, it should appear as wlan0 now.

1 Like

Thanks Jappe. This resolved the issue. It now shows as WLAN0 after reboot and dietpi-config also sees it now. Thanks for your help!

1 Like