Since 2 days ago I can't edit any connections using network manager, because the "edit" button is greyed out. I tried doing a normal restart of the service to no avail.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Try this fix-for-error-network-device-not i think you got the similar problem as me.
Summary from linked content:
Run in terminal
sudo /etc/init.d/networking restart
sudo killall NetworkManager
Now attempt to configure your interface.
For NetworkManager to manage an interface, that interface must not be configured under /etc/network/interfaces. Following is my /etc/network/interfaces:
[ubuntu@desktop network] cat interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback
Notice that eth0 does not show up; it is managed by NetworkManager. And because of this, it can now be edited with nm-connection-editor, the GUI.
Of course, NetworkManager must be configured to manage your eth0 connection. Follow Sumant's solution on this page on how to configure managed=true (I am not copying his answer because I want to respect his and give credit to where it is due).
After setting up a bridge (e.g. here) the name manager does not show the enslaved interfaces under the 'Ethernet' tab. This is probably normal' yet the "edit connections" turns gray.
This graying out is probably a bug.
Fortunately the actual functionality oft network manager seems to work so you can run nm-connection-editor from the command line to edit the connections using gui or use the command line tool nmcli.
For example to list your connections try:
nmcli con show