Results 1 to 3 of 3

Thread: Force NetworkManager to overwrite resolv.conf

  1. #1
    Join Date
    Jun 2008
    Location
    Zurich, Switzerland
    Posts
    14

    Default Force NetworkManager to overwrite resolv.conf

    I'm having some trouble with my networkmanager on openSuse 11.2. I want it to get the DNS Server from DHCP, but it notices that I had another process modify it (dhcpcd to be exact) and it just won't overwrite it, resulting in an out of date DNS server to be used.

    Any ideas?
    http://blog.snyke.net

  2. #2
    Camalen NNTP User

    Default Re: Force NetworkManager to overwrite resolv.conf

    cxd wrote:

    > I'm having some trouble with my networkmanager on openSuse 11.2. I want
    > it to get the DNS Server from DHCP, but it notices that I had another
    > process modify it (dhcpcd to be exact) and it just won't overwrite it,
    > resulting in an out of date DNS server to be used.
    >
    > Any ideas?


    If you are obtaining the data from a dhcp server, all the required data to
    setup the network adapter should be "automatically" acquired by the client
    (ip, netmask, gateway and dns servers).

    Can you please explain a bit what is your current situation? There shouldn't
    be any user interaction with networkmanager at all.

    Greetings,

    --
    Camalen

  3. #3

    Default Re: Force NetworkManager to overwrite resolv.conf

    I have a similar problem.

    When I use vpnc to VPN into a remote network and forget to vpnc-disconnect before shutdown. The resolv.conf is not restored to pre vpnc values.

    So when I start the computer after a while I have to force "netconfig -f update" to get dhcp provided name servers.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •