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

Re: NetworkManager overwriting resolv.conf



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 fcp surfsite org and/or blame luiscabrerapautt aim com 


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