Set NetworkManager configuration
You can use NetworkManager.conf, the configuration file for NetworkManager, to set up NetworkManager behavior. The default file location is /etc/NetworkManager/NetworkManager.conf.
The general Network Manager configuration and the connection profiles setup can be established:
- At runtime by modifying the NetworkManager.conf file in the root file system of your device and then restarting NetworkManager.
- At build time by appending your own configuration files to the NetworkManager package. meta-digi layer already contains a bbappend for NetworkManager that includes the default NetworkManager.conf (meta-digi/meta-digi-dey/recipes-connectivity/networkmanager/networkmanager_%.bbappend)
Note See NetworkManager.conf(5) for more information on the configuration file.
To create images that include your own configuration file, follow these steps:
- Write the configuration file NetworkManager.conf.
- Locate it in your layer inside the directory recipes-connectivity/networkmanager/networkmanager.
- Create a networkmanager_%.bbappend file inside the recipes-connectivity/networkmanager directory to extend the existing recipe file with new files.
networkmanager_%.bbappend file
FILESEXTRAPATHS_prepend := "${THISDIR}/${BP}:"
- Build your Digi Embedded Yocto project as usual.
Note For information on configuring network settings, see: