This is network interface card eth0 |
For some computer does not show up eth0 or the computer does not see network interface card. You can take the command line dmesg | grep eth for checking. The screen must show the message "eth0 NIC Link is Up" .
This is network interface card eth0 |
After checking network interface card eth0. Type cat /etc/network/interfaces. The screen will show the message "eth iface eth0 inet dhcp" That mean this network interface card is DHCP(Dynamic Host Configuration Protocol).
This is network interface card eth0 |
And how to edit file interface for define IP address from dhcp to static. Type nano /etc/network/interfaces. Change iface eht0 inet dhcp to static and. Type these message five lines
address 10.0.2.111
netmast 255.255.255.0
network 10.0.2.0
broadcast 10.0.2.255
gateway 10.0.2.2
When you type finished <ctrl+x> . Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES)? Press Y and Enter. And restart service by take command line type sudo reboot.
After restart type the command line ifconfig for check IP address. And type the command line ping 10.0.2.111. If the message show
(64 bytes from 10.0.2.111: icmp_seq=1 ttl=64 ) that mean it OK.
No comments:
Post a Comment