Eloy Bote Falcon Posted September 8 Share Posted September 8 (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 September 8 by Eloy Bote Falcon 0 Quote Link to comment Share on other sites More sharing options...
kris777 Posted September 8 Share Posted September 8 try this in terminal nmcli device wifi list nmcli device wifi connect "$SSID" password "$PASSWORD" 0 Quote Link to comment Share on other sites More sharing options...
c0rnelius Posted September 8 Share Posted September 8 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. 0 Quote Link to comment Share on other sites More sharing options...
Eloy Bote Falcon Posted September 8 Author Share Posted September 8 Hey kris, there is no nmcli command c0rnelius: I purchased the board a few weeks ago, is the new version with 4GB ram and 32Gb emmc. 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted September 8 Share Posted September 8 https://docs.armbian.com/User-Guide_Networking/ 0 Quote Link to comment Share on other sites More sharing options...
c0rnelius Posted September 8 Share Posted September 8 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. 0 Quote Link to comment Share on other sites More sharing options...
Eloy Bote Falcon Posted September 8 Author Share Posted September 8 (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 September 8 by Eloy Bote Falcon 0 Quote Link to comment Share on other sites More sharing options...
c0rnelius Posted September 8 Share Posted September 8 I'm told the bluetooth doesn't work, which is why I haven't submitted it. The patch was also done quick and dirty and I'm sure needs some clean up. 0001-arch-arm64-dts-allwinner-sun50i-h618-bananapi-m4-zero-v2.patch 1 Quote Link to comment Share on other sites More sharing options...
kris777 Posted September 8 Share Posted September 8 (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 September 8 by kris777 1 Quote Link to comment Share on other sites More sharing options...
Eloy Bote Falcon Posted September 8 Author Share Posted September 8 Thanks for the path c0rnelius! Honestly I have never build armbian but I think that I can do it applying your patch with this 2 guides: https://docs.armbian.com/Developer-Guide_User-Configurations/#user-provided-patches https://docs.armbian.com/Developer-Guide_Build-Preparation/#what-do-i-need If you dont' have any users with this new revision of M4 zero and need any help just ask me please! 0 Quote Link to comment Share on other sites More sharing options...
Eloy Bote Falcon Posted September 9 Author Share Posted September 9 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. 0 Quote Link to comment Share on other sites More sharing options...
Solution c0rnelius Posted September 9 Solution Share Posted September 9 @Eloy Bote Falcon Try this pre-compiled binary. I'm gonna need to re-write some of that patch to work with armbian. sun50i-h618-bananapi-m4-zero-v2.dtb 0 Quote Link to comment Share on other sites More sharing options...
Eloy Bote Falcon Posted September 9 Author Share Posted September 9 Thank you very much @c0rnelius the patch works perfectly. And thank you @Igor too for the link to setup the wifi! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.