38
I.
Ethernet Test
•
Ethernet FTP test
#intall ftp
sudo chmod 777 /home/root/testscript/ethernet/lftp_library/lftp
sudo cp /home/root/testscript/ethernet/lftp_library/lftp /usr/bin/
sudo mkdir /usr/lib/lftp
sudo mkdir /usr/lib/lftp/4.6.3a
sudo cp /home/root/testscript/ethernet/lftp_library/*.so /usr/lib/lftp/4.6.3a
sudo cp /home/root/testscript/ethernet/lftp_library/* /lib/
#lftp server 192.168.1.123
lftp 192.168.1.123 <<EOF
#upload data to server 192.168.1.123
put data1
#download data from server 192.168.1.123
get data1
#exit lftp
bye
•
Ethernet Ping test
#ping server 192.168.1.123
ping -c 20 192.168.1.123 >/tmp/ethernet_ping.txt
•
Ethernet TCP test
#server 192.168.1.123 run command “iperf3 -s”
#communicate with server 192.168.1.123 in tcp mode by iperf3
iperf3 -c 192.168.1.123 -i 1 -t 20 -w 32M -P 4
•
Ethernet UDP test
#server 192.168.1.123 run command “iperf3 -s”
#communicate with server 192.168.1.123 in udp mode by iperf3
iperf3 -c $SERVER_IP -u -i 1 -b 200M
Содержание YMBAO100
Страница 7: ...viii This page is intentionally left blank...
Страница 14: ...General Information 7 1 1 7 Dimensions Unit mm...
Страница 15: ...8 YMBAO100 Reference Heat Sink...
Страница 19: ...12 2 3 Jumper Connector Locations on YMBAO100 Board diagram of YMBAO100...
Страница 38: ...31 Appendix This section provides the information of reference code...