Re: Modifying nm-dhclient-wlan0.conf ?

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

 



On Tuesday 31 July 2012 17:52:45 Bruno Wolff III wrote:
> My short term goal is to set up resolv.conf the way I want without
> disabling network manager.
> I set up a config file for dhclient, but it turns out that
>  NetworkManager runs dhclient with the configfile set to one it
>  generates insteqad of the normal one used by dhclient. For the
>  first wireless interface the file is named
>  /var/run/nm-dhclient-wlan0.conf .
> 
> Is there a way to control what is in that file using NetworkManager
> configuration?
> 

It's really difficult to get rid of NetworkManager in Fedora, I've 
tried.

So here's a solution:

Set up /etc/resolv.conf just as you want. Then

chattr +1 /etc/resolv.conf

This prevents NetworkManager from messing with it ever again.

Tony
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[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