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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux