On Mon, 6 Feb 2017 19:50:10 +0100
François Patte <francois.patte(a)mi.parisdescartes.fr> wrote:
I would like to know what is the process which automatically write the
file /etc/sysconfig/network-scripts/ifcfg-<name of a new essid>
whenever you connect your computer to a new wifi.
Generaly, the connection is made via dhcp and we have the
PEERDNS=yes. I want to modify this ie. I want that the process write:
and add these lines:
(fixed dns addresses).
I want that my laptop will be able to use these dns addresses in spite
of the assigned dns adresses by the dhcp which it connects to.
In the file /etc/NetworkManager/NetworkManager.conf, in the [main]
section, put the line
and then add the dns ip addresses you want to use to the file
bare numbers, one per line.
For more info do