Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5339

Beginners • Re: How to setup static IP address on Raspberry Pi OS 64bit bookworm

$
0
0
I thought it was strange (dates from pre? Bullseye notes).

The notes on the dev page now state:
If a default NetworkManager.conf is provided by your distribution's packages, you should not modify it, since your changes may get overwritten by package updates
and
NetworkManager can overwrite certain user configuration options via D-Bus or other internal operations. In this case it writes those changes to /var/lib/NetworkManager/NetworkManager-intern.conf. This file is not intended to be modified by the user, but it is read last and can shadow user configuration from NetworkManager.conf
As for first run:
Instead, you can add additional .conf files to the /etc/NetworkManager/conf.d directory. These will be read in order, with later files overriding earlier ones. Packages might install further configuration snippets to /usr/lib/NetworkManager/conf.d. This directory is parsed first, even before NetworkManager.conf. Scripts can also put per-boot configuration into /run/NetworkManager/conf.d. This directory is parsed second, also before NetworkManager.conf. The loading of a file /run/NetworkManager/conf.d/name.conf can be prevented by adding a file /etc/NetworkManager/conf.d/name.conf. Likewise, a file /usr/lib/NetworkManager/conf.d/name.conf can be shadowed by putting a file of the same name to either /etc/NetworkManager/conf.d or /run/NetworkManager/conf.d.
I'll edit my post above as this seems to be a moving target (my bad).

Statistics: Posted by MiscBits — Wed Feb 21, 2024 12:45 pm



Viewing all articles
Browse latest Browse all 5339

Trending Articles