4,199
edits
Changes
→Set up internet connection
iface eth0 inet dhcp
</pre>
NOTE: Some routers give a static IP via Dhcp identifying the MAC address, others give a random free IP when we send Dhcp request. Also you can configure:/etc/network/interfaces to get a static IP with the following lines:
<pre>auto eth0
iface eth0 inet static