3

After I edit a file in /etc/NetworkManager/system-connections/ I tried:

nmcli conn reload
systemctl daemon-reload 
systemctl reload NetworkManager
systemctl restart NetworkManager

but no matter what, I cannot see the changes to the file (via nmcli conn show myconnection) unless I reboot.

I don't think the type of change was relevant, but it was adding peers to a wg config file.

File permissions are correct (root.root 0600). I'm editing existing ones, not creating new files.

gcb
  • 5,442
  • 13
  • 62
  • 86

1 Answers1

2

Maybe you have a typo in your configuration.

All that is needed to reload, and check for typos, is:

nmcli conn reload

I discovered this after rebooting and also not seeing the changes. I noticed my mistake was a typo in the file. All the values under the section header with a typo were ignored and no warning generated.

gcb
  • 5,442
  • 13
  • 62
  • 86