Re: resolv.conf gets reset

From: Aaron Maxwell (amax_at_redsymbol.com)
Date: 06/21/04

  • Next message: Anthony Campbell: "Re: SA going downhill"
    To: debian-user@lists.debian.org
    Date: Mon, 21 Jun 2004 00:44:58 -0700
    
    

    On Sunday 20 June 2004 09:11 am, Brenden wrote:
    > Hi all, new debian user here with some basic questions.
    >
    > My resolv.conf file keeps getting reset to nothing (well, just the
    > two comment lines warning me not to change things manually) everytime
    > I reboot. I just plain don't have any idea what could be causing
    > this. Ideas? Help?

    Hi. I don't know the answer, yet. I have a clue, IF you are using
    dhcp. If you are, /etc/resolv.conf is overwritten by the
    script /etc/dhclient-script. (If you are the type who is comfortable
    reading shell script, searching dhclient-script for "resolvconf" brings
    you to the relevant part.) You may be able to get it to write the
    correct resolv.conf by configuring /etc/dhclient.conf. This file has a
    man page.

    I haven't ever used an /etc/rc.boot/ script, but if it works like Tom
    says, then I think it is the easiest way. It is also a little
    crufty... personally I prefer to have files generated correctly to
    begin with, when realistic.

    PS If you post again, please let us know which version of Debian you are
    using, and paste in your resolv.conf (even if it is just comments)

    best wishes
    Aaron

    >
    > To set resolv.conf, I su then type "echo 'nameserver 10.0.0.1'
    >
    > | /sbin/resolvconf -a eth0" which takes care of the problem for one
    > | session.
    >
    > How do I make this permanent?

    -- 
    Best,
    Aaron Maxwell - http://redsymbol.com
    Internet Joint Ventures - http://amusene.com
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Anthony Campbell: "Re: SA going downhill"

    Relevant Pages

    • resolv.conf gets reset
      ... new debian user here with some basic questions. ... My resolv.conf file keeps getting reset to nothing (well, ... lines warning me not to change things manually) everytime I reboot. ...
      (Debian-User)
    • Re: resolv.conf gets reset
      ... new debian user here with some basic questions. ... > My resolv.conf file keeps getting reset to nothing (well, ... and it appends the nameserver to resolv.conf properly during boot up. ...
      (Debian-User)
    • Re: /dev nodes not getting populated
      ... A friend and much wiser Debian user than I took a look at my problem and determined that by commenting out the "return" in the mount_tmpfsbelow from the udev startup script, /dev gets populated as normal, and things go back to usual, minus the hacked script: ... I am but a newbie Debian user, so please feel free to point me at the right documentation or bug report. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • mailto protocol in firefox (OT?)
      ... a debian user, and so offer a solution to other debian users. ... The script reproduced below is an adaptation from thunderbird-helper.sh ... You may want the kind of functionality from a mailto link that Thunderbird ... but all I need from a mailto link is an email editor/sender. ...
      (Debian-User)
    • Re: [kde] Autostart not running
      ... On Tuesday 04 April 2006 16:44, Jared Isch wrote: ... If you find date's output in the file the script is executed but something ... Qt/KDE Developer, Debian User ... Moderator: www.mrunix.de (German), www.qtcentre.org ...
      (KDE)