<p>Tapez dans le terminal :</p>
<pre class="code bash"><span class="kw2">sudo</span> <span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>network<span class="sy0">/</span>interfaces</pre>
<p>Remplacez :</p>
<pre class="code bash">iface eth0 inet dhcp</pre>
<p>par :</p>
<pre class="code bash">iface eth0 inet static
address 192.168.1.x
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1</pre>
<p> </p>
<p> </p>
<div class="noteimportant">Veuillez adapter les valeurs selon votre configuration réseau !</div>
<p> </p>
<p>Enregistrez puis redémarrez :</p>