Re: what is responsible for the file: ifcfg-essid?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 6 Feb 2017 19:50:10 +0100
François Patte <francois.patte@xxxxxxxxxxxxxxxxxxxx> wrote:

> Bonjour,
> 
> 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.

NetworkManager
 
> Generaly, the connection is made via dhcp and we have the instruction
> PEERDNS=yes. I want to modify this ie. I want that the process write:
> 
>  PEERDNS=no
> 
> and add these lines:
> 
> DNS1=xxx.yyy.....
> DNS2=zzz.ttt....
> 
> (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
dns=none
and then add the dns ip addresses you want to use to the file
/etc/resolv.conf
bare numbers, one per line.

For more info do
man NetworkManager.conf
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux