Networkmanager overwrites /etc/resolv.conf



I have NetworkManager compiled with support for OpenResolv. I use KPPP
to connect to the internet. For some reason, KPPP doesn't update
/etc/resolv.conf with DNS info when it connects (I reported a bug 2
years ago and it still hasn't been resolved). So in order to connect
to the internet and browse, I have my /etc/resolvconf.conf set up as
follows:

name_servers="127.0.0.1 64.136.173.5 64.136.164.77"

And when I connect to the internet /etc/resolv.conf is updated with
the info in /etc/resolvconf.conf. But if I disable networking in
NetworkManager then reenable it, or if I try to activate a wireless
network (I don't know it this also holds true for wired networks,
since I can't test that) while I'm connected to the internet,
NetworkManager overwrites /etc/resolv.conf and the only line in it is:

# Generated by NetworkManager

So I have to either redial my internet connection or manually edit
/etc/resolv.conf to add my DNS server info in order to continue
browsing.

-- 
Patrick McMunn

- Learn more about the Catholic Faith: http://www.catholic.com/
- Pray with the Church: http://www.universalis.com/


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