Jump to content

Recommended Posts

Posted (edited)

Hi,

 

I'm trying to setup the wifi with the image:

 

Armbian 24.8.1 Bookworm Minimal / IOT

 

But there is no wlan0 on the ip a command. Can you please give me a hint on how to setup the wifi with the bananapi M4 zero? I have also tried the server image debian12 but found the same issue.

 

FYI I tried an image from the BPI M4 zero website:

 

20240819-Bananapi-Armbian_24.8.0-trunk_Bpi-m4zero_Debian12

 

And there is wlan0 so I successfully configured the wifi ( but there is no bananapi-config to copy the image to the emmc but that's another story... )

 

Thanks in advance!

Edited by Eloy Bote Falcon
Posted

When did you purchase the unit? The new BPI-M4-ZERO has SDIO WiFi and uses BRCM. The older units have WiFi over USB and use REALTEK.

 

Unfortunately I don't have the newer unit.

Posted

I'm honestly not sure about the specs. I only know they have a new REV out, as someone has already approached me about WiFi not working.

 

One way to tell would be looking at the WiFi module on the unit. If it isn't REALTEK, than its the new REV.

 

Attached was the chipset on their unit.

image.png

Posted (edited)

Definitely is the new revision.

 

I can check the other armbian image 20240819-Bananapi-Armbian_24.8.0-trunk_Bpi-m4zero_Debian12 to see how can I enable the wifi device, but I don't know where to start, maybe the device tree?

Edited by Eloy Bote Falcon
Posted (edited)

install in system:

sudo apt-get install network-manager

try this in terminal

nmcli device wifi list 
nmcli device wifi connect "$SSID" password "$PASSWORD"

I know it's not recommended by developers / @Igor connecting to wifi on Armbian FW ... but I did it like on standard Linux and it also works on FW from OrangePi suppliers 🙂

Edited by kris777
Posted

Hey c0rnelius,

 

Can you please tell me where to put the patch? Searching the repository I see 3 similar file names:

 

build/patch/kernel/archive/sunxi-6.6/patches.armbian/arch-arm64-dts-allwinner-sun50i-h618-bananapi-m4-zero.patch
build/patch/kernel/archive/sunxi-6.7/patches.armbian/arm64-dts-allwinner-sun50i-h618-bananapi-m4-zero.patch
build/patch/kernel/archive/sunxi-6.9/patches.armbian/arch-arm64-dts-allwinner-sun50i-h618-bananapi-m4-zero.patch

 

It's a noob question sorry but I'm new to the project, sorry.

Posted

Hello.

 

I have the same problem - there is no wlan0 interface for BPI-M4 Zero. Probably I also have new revision board (4G RAM, 32G eMMC, bought two weeks ago).

I've put sun50i-h618-bananapi-m4-zero-v2.dtb file at /boot/dtb/allwiner directory and reboot, but it doesn't help.

I use Armbian_24.8.1_Bananapim4zero_bookworm_current_6.6.44.img image.

Posted

I am a total noob, but thank you very much for providing this solution.

I've written out how I managed to solve it using everything mentioned in this post and the pull request so that other users can use it too:

I downloaded "Debian Testing (Trixie) Minimal / IOT stable 6.6.54" from the "Rolling releases images with Armbian Linux v6.6" section on the page https://www.armbian.com/bananapi-m4-zero/
I installed Network Manager with the following command (it's a nice to have tool)

sudo apt-get install network-manager

and added the following line to `/boot/armbianEnv.txt` .

overlays=bananapi-m4-sdio-wifi-bt

then I rebooted and listed my device using nmcli.

when I saw that wlan0 was available I connected using this command, replacing $SSID and $PASSWORD with my Wifi name and password:

nmcli device wifi connect "$SSID" password "$PASSWORD"

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines