Show Contents

# 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:

1. Write the configuration file NetworkManager.conf.
2. Locate it in your layer inside the directory recipes-connectivity/networkmanager/networkmanager.
3. 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}:"

1. Build your Digi Embedded Yocto project as usual.

Note For information on configuring network settings, see:

- Configure Ethernet network settings
- Configure Wi-Fi settings
- Configure cellular network settings

© 2018 Digi International Inc. All rights reserved.
Set NetworkManager configuration updated on 22 January 2018 11:07:09 PM