Try
where name is the connection name rather than the device - you can find the connection names using sudo nmcli con show
You may find the command line tool nmtui easier to use than nmcli
Note sure if the interface needs to be down or not TBH so you may need to do the nmcli from the Pi and not over ssh
Code:
sudo nmcli con mod <name> ipv4.dns "8.8.8.8 8.8.4.4"
You may find the command line tool nmtui easier to use than nmcli
Note sure if the interface needs to be down or not TBH so you may need to do the nmcli from the Pi and not over ssh
Statistics: Posted by MiscBits — Mon Apr 08, 2024 9:14 pm