Skip to content

New in Yocto Project 1.7

adam-lee edited this page Oct 27, 2014 · 12 revisions

Network connectivity

Ifupdown

ifup script does not work well with the kernel 3.17. It fails to acquire an IP through udhcpc.

The following works well however:

ifconfig mlan0 up
wpa_supplicant -i mlan0 -c /etc/wpa_supplicant.conf&
udhcpc -R -b -p /var/run/udhcpc.mlan0.pid -i mlan0

Network Management

systemd-networkd service manages network connections, including Ethernet and wireless. Ethernet, if cable is attached, will come up and acquire an IP address without any user-side configuration.

For wireless connectivity, we still need wpa-supplicant to manage roaming and connecting to networks. After specifying wireless network in /etc/wpa_supplicant/wpa_supplicant-{mlan0|wlan0}.conf, simply enable the service like so:

$ systemctl enable wpa_supplicant@{mlan0|wlan0}