Yes, indeed. I missed the comment re only access being ssh.Before you try that you might want toto verify that the connection actually works as you'd expect.Code:
sudo nmcli c down eth0sudo nmcli c up Wired\ connection\ 1
After the first command, won't the OP be dead in the water (no more SSH)?
OP: As I mentioned, you can just muck around with the files, but I suggest you sort out how to do this on a system you can afford to reboot.
You could build a script that: a) sudo-removes the eth0 nmconnection file, and then does a sudo-nmcli c reload. While this will bounce your ssh connection, the network should come back on the Wired Connection 1 connection, assuming that it actually works (hence the suggestion to test).
Statistics: Posted by bls — Wed Apr 03, 2024 4:53 am