I am trying to set opendns DNS in my system. But each time I reconnect the network manager creates a new profile named Wired Connection 2
,Wired Connection 3
etc. How to avoid this and always stay on the same profile? I am connecting using USB Tethering
From the comments...
There was no ethernet cabled plugged in, yet Network-Manager kept creating new
Wired Connection
profiles. It shouldn't have. Depending on your specific ethernet hardware characteristics, it may have thought a cable was connected, and repeatedly tried to make a connection.We set the
Wired Connection
not to connect automatically, and deleted the otherWired Connect 2/3/4/etc
profiles.I found a permanent fix for this problem:
Add these lines to `NetworkManager.conf
In the edit connection dialogue box put just interface name as device