Uploaded August 2025 | Updated September 2026, 2 weeks ago
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
youtu.be/fY7u6PiV8qA?si=goTZ5V7I2dwa33a-
Episode 2: SSH for Remote Network Access
youtu.be/ltckiBV9FXg?si=DJwsKLDhHkDIqCIn
Episode 3: The Yocto Project on Raspberry Pi 5 Episode 3: Running Docker Containers
youtu.be/kQnOidK_U3M?si=5KiS1FK87OwfdQ0m
Episode 4: The Yocto Project on Raspberry Pi 5 Episode 4: U-Boot Bootloader
youtu.be/9tohomiv1Ug?si=kylUv0uT_BFmXt5g
Episode 5: Modifying U-Boot Environment in Linux with fw_setenv
youtu.be/SB5NvIF1IEU?si=0So6Gfv9hQR7gQgY
Episode 6: Runtime Package Management with apt and deb Packages
youtu.be/6i5UtF7fiaA?si=8DuUHUxywVEEtdyN
Episode 7: Create a New Layer, a New Recipe (.bb) and .bbappend
youtu.be/W5J1W_Cy14Y?si=ftu5WpeGqel8BZhf
๐ Useful Links
===
yoctoproject.org
docs.yoctoproject.org
openembedded.org/wiki/Main_Page
anavi.org/article/325
๐ Chapters
===
0:00 Intro
0:25 ConnMan
3:45 connmanctl
8:00 Troubleshooting
11:10 Summary
11:40 Conclusions
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
youtu.be/fY7u6PiV8qA?si=goTZ5V7I2dwa33a-
Episode 2: SSH for Remote Network Access
youtu.be/ltckiBV9FXg?si=DJwsKLDhHkDIqCIn
Episode 3: The Yocto Project on Raspberry Pi 5 Episode 3: Running Docker Containers
youtu.be/kQnOidK_U3M?si=5KiS1FK87OwfdQ0m
Episode 4: The Yocto Project on Raspberry Pi 5 Episode 4: U-Boot Bootloader
youtu.be/9tohomiv1Ug?si=kylUv0uT_BFmXt5g
Episode 5: Modifying U-Boot Environment in Linux with fw_setenv
youtu.be/SB5NvIF1IEU?si=0So6Gfv9hQR7gQgY
Episode 6: Runtime Package Management with apt and deb Packages
youtu.be/6i5UtF7fiaA?si=8DuUHUxywVEEtdyN
Episode 7: Create a New Layer, a New Recipe (.bb) and .bbappend
youtu.be/W5J1W_Cy14Y?si=ftu5WpeGqel8BZhf
๐ Useful Links
===
yoctoproject.org
docs.yoctoproject.org
openembedded.org/wiki/Main_Page
anavi.org/article/325
๐ Chapters
===
0:00 Intro
0:25 ConnMan
3:45 connmanctl
8:00 Troubleshooting
11:10 Summary
11:40 Conclusions










