[prev in list] [next in list] [prev in thread] [next in thread]
List: voyage-linux
Subject: Re: [Voyage-linux] voyage 0.6.5 static IP and reboot
From: Patrick CARON <f1smf () free ! fr>
Date: 2011-10-25 22:30:50
Message-ID: 4EA7389A.10106 () free ! fr
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Two cases possible:
1 There resolvconf
root @ voyage: ~ # apt-cache policy resolvconf
_________________________________________________________
resolvconf:
Installed: 1.46
Candidate: 1.46
Version table:
*** 1.46 0
500 http://ftp.hk.debian.org/debian/ squeeze/main i386 Packages
100 /var/lib/dpkg/status
_________________________________________________________
In which case the configuration of / etc / network / interfaces is as below
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information. auto lo iface
lo inet loopback
_________________________________________________________
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
dns-nameservers x.x.x.x y.y.y.y
# dns-search
.
.
_________________________________________________________
2) without resolvconf
root @ voyage: ~ # apt-cache policy resolvconf
_________________________________________________________
N: Unable to locate package resolvconf
_________________________________________________________
You must change yourself / etc / resolv.conf over / etc / network /
interfaces to reflect your configuration
root @ voyage: ~ # nano /etc/network/interfaces
_________________________________________________________
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
.
.
_________________________________________________________
root @ voyage: ~ # nano /etc/resolv.con
_________________________________________________________
nameserver x.x.x.x
nameserver y.y.y.y
_________________________________________________________
Patrick CARON
Linux n ° #75163 / f1smf Echolink n ° 128402
site web : http://f1smf.free.fr
Ensemble adoptons des gestes responsables : n'imprimez ce mail que si necessaire.
Le 25/10/2011 23:51, Gustin Johnson a écrit :
> You forgot the "auto eth0" line above the interface declaration.
>
> 2011/10/25 maciek<maciek2@protetyka.lodz.pl>:
>> 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
>> Voyage-linux@list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux@list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
[Attachment #5 (text/html)]
<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>
_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic