Difference between revisions of "Networking"

1,407 bytes added ,  6 years ago
Added NetworkManager configuration options and links to relevant info
imported>Fhdk
imported>Fhdk
(Added NetworkManager configuration options and links to relevant info)
Line 56: Line 56:


After you have saved the edited file you will need to restart your network service. The one reliable way that works for everyone is to warm boot your machine.
After you have saved the edited file you will need to restart your network service. The one reliable way that works for everyone is to warm boot your machine.
= NetworkManager =
If you when you fiddle with your DNS finds that your ''resolv.conf'' is overwritten by NetworkManager there is a few tricks available.
The NetworkManager's config drop folder is placed in <code>/etc/NetworkManager/confg.d</code>. In this folder you can place snippets which controls how NetworkManager works. The files should be named with a number and a description of its purpose and always end with ''.conf''. The files are then applied in numerical order from the lowest to the highest. A configuration in a file with a higher number will override what could have been configured in a lower numbered file.
== Use resolvconf ==
To have the resolvconf script handle the resolv.conf file for NetworkManager.
Create a configuration file in NetworkManager's config drop folder
/etc/NetworkManager/conf.d/20-rc-manager.conf
Save the file with this content
[main]
rc-manager=resolvconf
To effectively make DNS handling a manual task create a file named
/etc/NetworkManager/conf.d/99-dont-touch-my-dns.conf
Save the file with this content
[main]
dns=none


= Support =
= Support =


Create a thread on the forum if you have any need for further information on this topic: [http://forum.manjaro.org]
Create a thread on the forum if you have any need for further information on this topic: [https://forum.manjaro.org Manjaro Forum]
 
= Further reading =


- [https://blogs.gnome.org/dcbw/2015/02/16/networkmanager-for-administrators-part-1/ NetworkManager for Administrators]
- [https://wiki.archlinux.org/index.php/NetworkManager#Configure_NetworkManager_resolv.conf_management_mode_to_use_resolvconf Using resolvconf with NetworkManager]


[[Category:Contents Page]]
[[Category:Contents Page]]
Anonymous user