<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <span id="result_box" class="short_text" lang="en"><span class="hps">Two
        cases</span> <span class="hps">possible:<br>
      </span></span><span id="result_box" class="short_text" lang="en"><span
        class="hps">1 There</span> <span class="hps">resolvconf<br>
            root @ voyage: ~ # <font color="#ff0000">apt-cache policy
          resolvconf</font> <br>
            _________________________________________________________<br>
            resolvconf:<br>
              Installed: 1.46<br>
              Candidate: 1.46<br>
              Version table:<br>
            *** 1.46 0<br>
                    500 <a class="moz-txt-link-freetext" href="http://ftp.hk.debian.org/debian/">http://ftp.hk.debian.org/debian/</a> squeeze/main
        i386 Packages<br>
                    100 /var/lib/dpkg/status<br>
      </span></span><span id="result_box" class="short_text" lang="en"><span
        class="hps">   
        _________________________________________________________</span></span><br>
    <div id="gt-res-content" class="almost_half_cell">
      <div dir="ltr" style="zoom:1">
        <div id="tts_button" style="" class=""><object
            type="application/x-shockwave-flash"
            data="http://www.gstatic.com/translate/sound_player2.swf"
            id="tts" height="18" width="18"></object></div>
        <span id="result_box" class="" lang="en"><span class="hps">In
            which case</span> <span class="hps">the configuration of</span>
          <span class="hps">/ etc</span> <span class="hps">/ network /</span>
          <span class="hps">interfaces</span> <span class="hps">is</span>
          <span class="hps">as below<br>
            <br>
            # Used by ifup(8) and ifdown(8). See the interfaces(5)
            manpage or <br>
            # /usr/share/doc/ifupdown/examples for more information.
            auto lo iface lo inet loopback <br>
          </span></span><span id="result_box" class="short_text"
          lang="en"><span class="hps">   
            _________________________________________________________<br>
          </span></span><span id="result_box" class="" lang="en"><span
            class="hps">    auto eth0 <br>
                #iface eth0 inet dhcp <br>
            <br>
                iface eth0 inet static <br>
                address 192.168.0.100 <br>
                netmask 255.255.255.0 <br>
                network 192.168.0.0 <br>
                broadcast 192.168.0.255 <br>
                gateway 192.168.0.254 <br>
                dns-nameservers x.x.x.x    y.y.y.y  <br>
                # dns-search <br>
            . <br>
            .<br>
          </span></span><span id="result_box" class="short_text"
          lang="en"><span class="hps">_________________________________________________________</span></span><br>
        <div id="gt-res-content" class="almost_half_cell">
          <div dir="ltr" style="zoom:1">
            <div id="tts_button" style="" class=""><object
                type="application/x-shockwave-flash"
                data="http://www.gstatic.com/translate/sound_player2.swf"
                id="tts" height="18" width="18"></object></div>
            <span id="result_box" class="short_text" lang="en"><span
                class="hps"><br>
                2) without</span> <span class="hps">resolvconf</span></span></div>
        </div>
        <br>
        root @ voyage: ~ # <span style="color: rgb(255, 0, 0);">apt-cache
          policy resolvconf</span><br>
        <span id="result_box" class="short_text" lang="en"><span
            class="hps">_________________________________________________________</span></span><br>
        N: Unable to locate package resolvconf<br>
        <span id="result_box" class="short_text" lang="en"><span
            class="hps">_________________________________________________________<br>
            <br>
          </span></span><span id="result_box" class="" lang="en"><span
            class="hps">You must change</span> <span class="hps">yourself</span>
          <span class="hps">/ etc</span> <span class="hps">/
            resolv.conf</span> <span class="hps">over</span> <span
            class="hps">/ etc</span> <span class="hps">/ network /</span>
          <span class="hps">interfaces</span> <span class="hps">to
            reflect</span> <span class="hps">your configuration<br>
          </span></span>root @ voyage: ~ # <span style="color: rgb(255,
          0, 0);">nano /etc/network/interfaces<br>
        </span><span id="result_box" class="short_text" lang="en"><span
            class="hps">_________________________________________________________</span></span><br>
        <span id="result_box" class="short_text" lang="en"><span
            class="hps"># Used by ifup(8) and ifdown(8). See the
            interfaces(5) manpage or <br>
            # /usr/share/doc/ifupdown/examples for more information. <br>
            auto lo <br>
            iface lo inet loopback <br>
            auto eth0 <br>
            #iface eth0 inet dhcp <br>
            iface eth0 inet static <br>
            address 192.168.0.100 <br>
            netmask 255.255.255.0 <br>
            network 192.168.0.0 <br>
            broadcast 192.168.0.255 <br>
            gateway 192.168.0.254 <br>
            .<br>
            .<br>
          </span></span></div>
    </div>
    <span id="result_box" class="short_text" lang="en"><span class="hps">_________________________________________________________<br>
        <br>
      </span></span>root @ voyage: ~ # <span style="color: rgb(255, 0,
      0);">nano /etc/resolv.con<br>
    </span><span id="result_box" class="short_text" lang="en"><span
        class="hps">_________________________________________________________</span></span><br>
    <span style="color: rgb(255, 0, 0);"><font color="#000000">nameserver
        x.x.x.x</font><br>
      <font color="#000000">nameserver y.y.y.y</font><br>
    </span><span id="result_box" class="short_text" lang="en"><span
        class="hps">_________________________________________________________</span></span><br>
    <br>
    <pre class="moz-signature" cols="72">Patrick CARON
Linux n° #75163 / f1smf Echolink n° 128402
site web : <a class="moz-txt-link-freetext" href="http://f1smf.free.fr">http://f1smf.free.fr</a>
Ensemble adoptons des gestes responsables : n'imprimez ce mail que si necessaire.</pre>
    <br>
    Le 25/10/2011 23:51, Gustin Johnson a écrit :
    <blockquote
cite="mid:CAPM=hj6K1iE=-8ki2=+CERtk3JcS_wbGG-tRRhiCG0U=9YAe7w@mail.gmail.com"
      type="cite">
      <pre wrap="">You forgot the "auto eth0" line above the interface declaration.

2011/10/25 maciek <a class="moz-txt-link-rfc2396E" href="mailto:maciek2@protetyka.lodz.pl"><maciek2@protetyka.lodz.pl></a>:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello

I don`t want dhcp
I try to set static IP:
iface eth0 inet static
          address 192.168.0.123
          netmask 255.255.255.0
          gateway 192.168.0.1

I removed resolvconf

and I put /etc/resolv.conf

nameserver x.x.x.x
nameserver x.x.x.x



after reboot....booting is stoped and system hanged, witchout eth0 up









v o i p t e l e . n e t , dzwon najtaniej jak to mozliwe
e r a u r . c o m , rozwiazania internetowe dla firm i klientow indywidualnych

_______________________________________________
Voyage-linux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a>
<a class="moz-txt-link-freetext" href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>

</pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
Voyage-linux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a>
<a class="moz-txt-link-freetext" href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>
</pre>
    </blockquote>
  </body>
</html>