[CentOS] midco stealling searches, was browsers slowing Centos 7 installation to a crawl

Jonathan Billings

billings at negate.org
Tue Dec 3 20:12:49 UTC 2019


On Tue, Dec 03, 2019 at 02:03:10PM -0600, Michael Hennebry wrote:
> I'm using the default I got when I installed centos 7.
> Was not aware of any alternatives.
> 
> > ... Run 'nmcli con' to get a list of your network
> 
> [root at localhost ~]# nmcli con
> NAME                UUID                                  TYPE      DEVICE
> Wired connection 1  e4c3a05e-5f33-3ae8-af71-31b70ecf040b  ethernet  enp0s25

Your connection's name is "Wired connection 1".  The device name is
enp0s25. 


> [root at localhost ~]#
> 
> > connections, and then run 'nmcli con edit "Connection Name"' (replace
> > "Connection Name" with the name of your ethernet connection).  You can
> > then set ipv4.ignore-auto-dns to 'yes' and then set ipv4.dns and
> > ipv4.dns-search.  This should override what DHCP sets.
> 
> [root at localhost ~]# nmcli con edit enp0s25
> Error: Unknown connection 'enp0s25'.
> [root at localhost ~]# nmcli con edit eth0
> Error: Unknown connection 'eth0'.
> [root at localhost ~]# nmcli con edit  enp0s25 Error: Unknown connection
> 'enp0s25'.
> [root at localhost ~]#

You need to use the connection name, not the device name.

-- 
Jonathan Billings <billings at negate.org>



More information about the CentOS mailing list