Uploaded January 2025 | Updated September 2026, 2 weeks ago
Here, I have the Raspberry Pi 5 and the Raspberry Pi CM4 IO Board. In my longer video, you will learn how to flash Raspberry Pi OS onto the CM4's eMMC using the Raspberry Pi 5. Raspberry Pi OS is a Linux distribution based on Debian. Previously it was known as Raspbian.
Here, I have the Raspberry Pi 5 and the Raspberry Pi CM4 IO Board. In my longer video, you will learn how to flash Raspberry Pi OS onto the CM4's eMMC using the Raspberry Pi 5. Raspberry Pi OS is a Linux distribution based on Debian. Previously it was known as Raspbian.

![The Yocto Project on Raspberry Pi 5 Episode 8: Using ConnMan Network Manager for Wi-Fi Connectivity
ConnMan is an open-source, command-line network manager designed for embedded Linux devices with a focus on fast connection handling and resolution times. First released in 2008, it is written in C, licensed under the GNU GPL, and its source code is hosted in a Git repository on kernel.org.
📡 Using ConnMan
- Bring up the Wi-Fi interface wlan0
rfkill unblock wifi
ip link set wlan0 up
- Enter connman CLI
connmanctl
- Enable Wi-Fi (only if it is not enabled)
technologies
enable wifi
- Scan for W-Fi networks:
scan wifi
- List the found and available Wi-Fi networks (write down the wireless network service with format like wifi_[MAC_ADDR]_[SSID_HEX]_managed_psk:
services
- Turn on agent:
agent on
- Connect to a Wi-Fi network:
connect wifi_[MAC_ADDR]_[SSID_HEX]_managed_psk
- If the network is secured the agent will prompt you to enter a password:
Agent RequestInput wifi_[MAC_ADDR]_[SSID_HEX]_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase?
🤔 Troubleshooting
To bring up the WiFi interface automatically at boot on embedded Linux distributions with systemd create file /etc/systemd/network/10-wlan0.network with the following content:
[Match]
Name=wlan0
[Network]
DHCP=yes
đź”— Related Videos
Episode 1: Building an Embedded GNU Linux Distribution
https://youtu.be/fY7u6PiV8qA?si=goTZ5V7I2dwa33a-
Episode 2: SSH for Remote Network Access
https://youtu.be/ltckiBV9FXg?si=DJwsKLDhHkDIqCIn
Episode 3: The Yocto Project on Raspberry Pi 5 Episode 3: Running Docker Containers
https://youtu.be/kQnOidK_U3M?si=5KiS1FK87OwfdQ0m
Episode 4: The Yocto Project on Raspberry Pi 5 Episode 4: U-Boot Bootloader
https://youtu.be/9tohomiv1Ug?si=kylUv0uT_BFmXt5g
Episode 5: Modifying U-Boot Environment in Linux with fw_setenv
https://youtu.be/SB5NvIF1IEU?si=0So6Gfv9hQR7gQgY
Episode 6: Runtime Package Management with apt and deb Packages
https://youtu.be/6i5UtF7fiaA?si=8DuUHUxywVEEtdyN
Episode 7: Create a New Layer, a New Recipe (.bb) and .bbappend
https://youtu.be/W5J1W_Cy14Y?si=ftu5WpeGqel8BZhf
📚 Useful Links
https://www.yoctoproject.org/
https://docs.yoctoproject.org/
https://www.openembedded.org/wiki/Main_Page
https://anavi.org/article/325/
đź“‘ Chapters
0:00 Intro
0:25 ConnMan
3:45 connmanctl
8:00 Troubleshooting
11:10 Summary
11:40 Conclusions The Yocto Project on Raspberry Pi 5 Episode 8: Using ConnMan Network Manager for Wi-Fi Connectivity](https://i.ytimg.com/vi/ib8a0PeOGAU/mqdefault.jpg)








