152 |
auto eth0<br> |
auto eth0<br> |
153 |
iface eth0 inet dhcp</p> |
iface eth0 inet dhcp</p> |
154 |
|
|
155 |
<p>In case you have to assign the IP by hand, you have to edit this file and add the relevant info. Assuming that the IP to be used would be 10.0.0.5, file <b>/etc/network/interfaces</b> would become:</p> |
<p>In case you have to assign the IP by hand, you have to edit this file and add the relevant info. You can use the <b>Vim</b> text editor (<a href="basic-vi.html" target="_blank">very basic tutorial</a>) for that.</p> |
156 |
|
|
157 |
|
<p class="newcode">vi /etc/network/interfaces</p> |
158 |
|
|
159 |
|
<p>Assuming that the IP to be used would be 10.0.0.5, file <b>/etc/network/interfaces</b> would become:</p> |
160 |
|
|
161 |
<p class="newcode">auto lo<br> |
<p class="newcode">auto lo<br> |
162 |
iface lo inet loopback<br> |
iface lo inet loopback<br> |