How can I avoid network manager from modifying resolv.conf?
I want to keep opendns servers in my nameserver list, and I want to know how I can avoid network manager from modifying my resolv.conf after each time it connects to a different network. system-config-network doesn't work since it seems like network manager sets its own policies.
Can anyone advise? I'm on fedora 8.
until you get a better answer use a work around.
create a text file with your correct nameserver details and call it
2) create a script inside rc.local that replaces resolve.conf with resolve-new with a name change of course.
mv -f /etc/resolve-new /etc/resolve.conf && chmod 600 /etc/resolve.conf
1. Create the file /etc/dhclient-enter-hooks that contains the following function
echo "Do nothing"
2. chmod 644 /etc/dhclient-enter-hooks
|All times are GMT -5. The time now is 05:45 PM.|