REL 1.0
Page 50 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
5.2.1
Ethernet Test
This section explains how to test the Ethernet with different speed (10/100/1000Mbps) and duplex (half/full) in the
iW-RainboW-G15M platform.
Connect the Ethernet cable and to enable the Ethernet device, execute the below command.
root@iWave-G15 ~$ifconfig eth0 up
To set the IP address using DHCP, execute the below command.
root@iWave-G15 ~$udhcpc -i eth0
udhcpc (v1.20.2) started
Sending discover...
Sending select for *********...
Lease of ********** obtained, lease time 43200
Deleting routers
adding dns **********
adding dns *********
To check the IP address set, execute the below command.
root@iWave-G15 ~$ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:03:04:05
inet addr:********** Bcast:*********** Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28783 errors:0 dropped:87 overruns:0 frame:0
TX packets:15286 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6218139 (5.9 MiB) TX bytes:4454482 (4.2 MiB)
To test Ethernet, execute the below command.
root@iWave-G15~$ping <any_ip_addr>
PING ********** (**********) 56(84) bytes of data.
64 bytes from **********: icmp_seq=1 ttl=64 time=0.206 ms
64 bytes from **********: icmp_seq=2 ttl=64 time=0.160 ms
64 bytes from **********: icmp_seq=6 ttl=64 time=0.161 ms