Results 1 to 2 of 2
I haven't used Linux in a few years (Wandering about in 'BSD land), so this is probably a stupid question. Using Debian 4.0 and pppoeconf (With the option to start ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-28-2007 #1
DNS & PPPoE
I haven't used Linux in a few years (Wandering about in 'BSD land), so this is probably a stupid question. Using Debian 4.0 and pppoeconf (With the option to start the connection at boot time) to connect to a DSL connection, DNS is screwed up every time the machine is restarted. The nameserver addresses are downloaded properly when the connection is started, but something overwrites resolv.conf during boot up with this:
# generated by NetworkManager, do not edit!
Changing the permissions of resolv.conf to read-only doesn't prevent this. What is a NetworkManager and how do I prevent it from fiddling with files, is there something in Linux analogous to rc.conf where things like this are started?
- 11-28-2007 #2
- Join Date
- Nov 2007
- Camp Pendleton
Well, the easy answer is to make /etc/resolv.conf immutable, which will prevent any fiddling. Or you could remove the networkmanager packages altogether, or possibly make sure none of your devices are set to 'roam' or to use dhcp...
NetworkManager consists of two parts: one is on the system level daemon that manages the connections and gathers information about new networks. The other is a systray applet that users can use to interact with the NetworkManager daemon. Configuration of wireless and ethernet interfaces ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Only devices that are *not* listed in /etc/network/interfaces are managed by NM. After modifying /etc/network/interfaces you may want to restart NM with the command "/etc/dbus-1/event.d/25NetworkManager restart". Dial-up configuration ~~~~~~~~~~~~~~~~~~~~~ After configuring your PPP interface (either manually or by using a tool like "pppconfig") to work with a peer called "myisp" you should edit /etc/network/interfaces and add a stanza like this: iface ppp0 inet ppp provider myisp