To configure IP Address on the eth0 interface do the following. Open a terminal. (Ctrl+T)
1 |
sudo ifconfig eth0 youripaddress netmask 255.255.255.0 |
To manually configure default gateway:
1 |
route add default gw yourgatewayipaddress eth0 |
To Configure DNS servers IP Address:
1 2 |
echo nameserver 8.8.4.4 > /etc/resolv.conf echo nameserver 8.8.8.8 >> /etc/resolv.conf |
Note: 8.8.4.4,8.8.8.8 are google public DNS servers. If you don’t want to use them write your ISP’s DNS servers. Turn on the LAN Card
1 |
ifconfig eth0 up |
To […]