<a data-toggle="collapse" data-target="#q17" aria-hidden="true">
Detaching the ethernet cable for a while the LAN doesn't go up automatically when plugged again
</a>
<div id="q17" class="collapse">
<div class="panel panel-default">
<div class="panel-body" markdown="1">

##Solution

In **/etc/network/interfaces** change the line:

<pre class="minicom">
auto eth0
</pre>

in:

<pre class="minicom">
allow-hotplug eth0
</pre>

Then test the configuration by typing:

<pre class="minicom">
ifdown eth0
ifup eth0
</pre>

* [More info about the network configuration in Debian](http://wiki.debian.org/NetworkConfiguration)

</div>
</div>
</div>


