Re: NetworkManager overwriting resolv.conf

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

 



Please man, no chage to flag on it (chattr +i /etc/resolv.conf).

Is not necessary, your only need create a file:
	vi /etc/dhclient-eth0.conf

Note eth0 is your interface, is could change for:
wlan0 or ath0 if is wireless.

check it with:
	su -c '/sbin/route -n'

and look "Iface".

change eth0 for yours.

Example:

/etc/dhclient-wlan0.conf

And write on the file.

prepend domain-name-servers; DNS1

Or 127.0.0.1 or Your DNS.

And no write neither change file:

/etc/sysconfig/network-scripts/ifcfg-eth0

Please no CHANGE in the file "/etc/sysconfig/network-scripts/ifcfg-eth0" option:
Remember change "eth0" for your interface.

NM_CONTROLLED=

Please is would is clean.

And now, restart "NetworkManager".
	su -c '/sbin/service NetworkManager restart'

And Ready!  :-) 

Excusme by my english!


-- 
This is an email sent via The Fedora Community Portal https://fcp.surfsite.org
https://fcp.surfsite.org/modules/newbb/viewtopic.php?post_id=319219&topic_id=66634&forum=10#forumpost319219
If you think, this is spam, please report this to webmaster@xxxxxxxxxxxxxxxx and/or blame luiscabrerapautt@xxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux