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

Networking and servers • Re: Where are the network config files?

$
0
0
If you want to use a command line or a script:

Code:

nmcli connection modify  "Wired connection 1" ipv4.addresses '192.168.0.10/24'
I found the documentation bad as it does not show what you have to use and what is optional or what happens when you leave out the optional.

nmtui works for some things and not for others. nmcli does more. I use nmcli in scripts for easy to repeat changes across machines. NM uses its own version of dnsmasq so those configuration files have to be in the NM directory and neither nmcli or nmtui allows the type of config I need in dnsmasq.

Statistics: Posted by peterlite — Tue Jul 09, 2024 6:34 am



Viewing all articles
Browse latest Browse all 4981

Trending Articles