Configuring DHCP address for your network card
If you want to configure DHCP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card
sudo vi /etc/network/interfaces
# The primary network interface: DHCP address assignment
auto eth0
iface eth0 inet dhcp
Configuring Static IP address for your network card Read more »