完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛
开发板效果一、SSH服务登录 Xshell 6 (Build 0095) Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved. Type `help' to learn how to use Xshell prompt. [C:~]$ Connecting to 192.168.1.10:22... Connection established. To escape to local shell, press 'Ctrl+Alt+]'. WARNING! The remote SSH server rejected X11 forwarding request. COLUMNS=102;LINES=37;export COLUMNS LINES; root@myd-lt536-gk:~# ifconfig eth0 Link encap:Ethernet HWaddr 5A:3C:1B:CB:6C:3B UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:108 Base address:0x8000 eth0:1 Link encap:Ethernet HWaddr 5A:3C:1B:CB:6C:3B inet addr:192.168.0.10 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 Interrupt:108 Base address:0x8000 eth1 Link encap:Ethernet HWaddr A6:6F:F1:10:A0:46 inet addr:169.254.47.129 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::1f84:ff25:a9d7:6a35/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2015 errors:0 dropped:0 overruns:0 frame:0 TX packets:154 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:175601 (171.4 KiB) TX bytes:45067 (44.0 KiB) Interrupt:109 Base address:0x8000 eth1:1 Link encap:Ethernet HWaddr A6:6F:F1:10:A0:46 inet addr:192.168.1.10 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:109 Base address:0x8000 eth2 Link encap:Ethernet HWaddr 00:E0:9A:03:1A:43 inet6 addr: fe80::2e0:9aff:fe03:1a43/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:356 (356.0 B) eth2:1 Link encap:Ethernet HWaddr 00:E0:9A:03:1A:43 inet addr:192.168.2.10 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:3874 errors:0 dropped:0 overruns:0 frame:0 TX packets:3874 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:286668 (279.9 KiB) TX bytes:286668 (279.9 KiB) wlan0 Link encap:Ethernet HWaddr 48:1F:03:12:56:B7 inet addr:169.254.213.245 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::c01a:493b:eb4f:a4f4/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:131 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:40950 (39.9 KiB) root@myd-lt536-gk:~# Socket error Event: 32 Error: 10053. Connection closing...Socket close. Connection closed by foreign host. Disconnected from remote host(新建会话) at 12:17:33. Type `help' to learn how to use Xshell prompt. [C:~]$ [C:~]$ [C:~]$ [C:~]$ Connecting to 192.168.1.10:22... Connection established. To escape to local shell, press 'Ctrl+Alt+]'. WARNING! The remote SSH server rejected X11 forwarding request. COLUMNS=101;LINES=24;export COLUMNS LINES; root@myd-lt536-gk:~# root@myd-lt536-gk:~# cd /etc/myir_test/ root@myd-lt536-gk:/etc/myir_test# la -bash: la: command not found root@myd-lt536-gk:/etc/myir_test# ls myir_audio_play myir_dial uart_test_rs232_read uart_test_rs485_read wifi_on_ap myir_bt npu_test uart_test_rs232_write uart_test_rs485_write wifi_on_sta root@myd-lt536-gk:/etc/myir_test# ls -l total 252 -rwxr-xr-x 1 root root 1048 10月 30 2024 myir_audio_play -rwxr-xr-x 1 root root 394 10月 18 2024 myir_bt -rwxr-xr-x 1 root root 27 10月 18 2024 myir_dial -rwxr-xr-x 1 root root 219248 10月 15 2024 npu_test -rwxr-xr-x 1 root root 386 10月 18 2024 uart_test_rs232_read -rwxr-xr-x 1 root root 391 10月 18 2024 uart_test_rs232_write -rwxr-xr-x 1 root root 1437 10月 18 2024 uart_test_rs485_read -rwxr-xr-x 1 root root 1439 10月 18 2024 uart_test_rs485_write -rwxr-xr-x 1 root root 877 10月 18 2024 wifi_on_ap -rwxr-xr-x 1 root root 1928 10月 18 2024 wifi_on_sta root@myd-lt536-gk:/etc/myir_test# vi wifi_on_sta root@myd-lt536-gk:/etc/myir_test# cat wifi_on_sta #!/usr/bin/env sh SSID= PASSWD= WLAN=wlan0 WPA_FILE=/etc/wpa_supplicant/wpa_supplicant-${WLAN}.conf DRIVER_NAME=nl80211 usage(){ echo "Usage: ./ifup_wifi_sta [-ssid wifi_sta_name] [-passwd wifi_sta_passwd] [-driver nl80211 or wext]" } clean_stage(){ killall udhcpc killall wpa_supplicant killall hostapd killall udhcpd sleep 1 } enable_wifi(){ T_HCI="phy0" RFKILL_SYS_PATH="/sys/class/rfkill/" dir=`ls ${RFKILL_SYS_PATH}` for i in ${dir} do if [ ${T_HCI} == `cat ${RFKILL_SYS_PATH}${i}/name` ];then echo 0 > ${RFKILL_SYS_PATH}${i}/state echo "find ${T_HCI} enable it" sleep 1 echo 1 > ${RFKILL_SYS_PATH}${i}/state fi done } parse_input_info(){ while [ $# -gt 0 ];do case $1 in -ssid) SSID="$2" shift ;; -passwd) PASSWD="$2" if [ ${#PASSWD} -lt 8 ];then echo "passwd should be 8...64" exit fi shift ;; -driver) DRIVER_NAME="$2" shift ;; -h) usage exit ;; esac shift $(( $# > 0? 1:0)) done echo "SSID:${SSID} PASSWD:${PASSWD} DRIVER:${DRIVER_NAME}" } connect_wifi(){ if [ -n "${SSID}" ];then if [ ! -d ${WPA_FILE%/*} ];then mkdir -p ${WPA_FILE%/*} fi echo "ctrl_interface=/var/run/wpa_supplicant" > ${WPA_FILE} echo "ctrl_interface_group=0" >> ${WPA_FILE} echo "update_config=1" >> ${WPA_FILE} echo "" >> ${WPA_FILE} wpa_passphrase ${SSID} ${PASSWD} >> ${WPA_FILE} fi wpa_supplicant -B -i ${WLAN} -c ${WPA_FILE} -D ${DRIVER_NAME} >/dev/null 2>&1 } obtain_dns(){ time=10 while [ $time -gt 0 ];do state=`wpa_cli -i${WLAN} -p/var/run/wpa_supplicant status | grep wpa_state | awk -F[=] '{print $2}'` if [ "${state}" = "COMPLETED" ];then udhcpc -i ${WLAN} exit fi let time-=1 sleep 1 done echo "connect wifi error" } parse_input_info $@ clean_stage enable_wifi connect_wifi obtain_dns root@myd-lt536-gk:/etc/myir_test# ./wifi_on_sta -ssid MYIR_5G -passwd myir@1601 SSID:MYIR_5G PASSWD:myir@1601 DRIVER:nl80211 killall: udhcpc: no process killed killall: wpa_supplicant: no process killed killall: hostapd: no process killed killall: udhcpd: no process killed find phy0 enable it connect wifi error root@myd-lt536-gk:/etc/myir_test# ifconfig wlan0 up root@myd-lt536-gk:/etc/myir_test# ifconfig wlan0 up root@myd-lt536-gk:/etc/myir_test# iw dev wlan0 scan | grep SSID SSID: NARI SSID: NARI SSID: CMCC-WEB SSID: ES-753279 SSID: NARI SSID: CMCC-WEB SSID: UFI-A0ED SSID: UFI-92F9 SSID: CMCC SSID: NARI SSID: NARI SSID: NARI SSID: HUAWEI JXJ SSID: midea_fb_1640 SSID: NARI SSID: HP-Print-d4-LaserJet Pro M202dw SSID: NARI SSID: CMCC root@myd-lt536-gk:/etc/myir_test# iw dev wlan0 scan | grep SSID SSID: NARI SSID: NARI SSID: CMCC-WEB SSID: ES-753279 SSID: NARI SSID: CMCC-WEB SSID: UFI-A0ED SSID: UFI-92F9 SSID: CMCC SSID: NARI SSID: NARI SSID: NARI SSID: HUAWEI JXJ SSID: midea_fb_1640 SSID: HP-Print-d4-LaserJet Pro M202dw SSID: NARI SSID: CMCC SSID: NARI SSID: NARI SSID: xe8x8dxa3xe8x80x80Magic4 xe8x87xb3xe8x87xbbxe7x89x88 * SSID List SSID: NARI root@myd-lt536-gk:/etc/myir_test# iw dev wlan0 scan | grep SSID SSID: NARI SSID: NARI SSID: CMCC-WEB SSID: ES-753279 SSID: NARI SSID: CMCC-WEB SSID: UFI-A0ED SSID: UFI-92F9 SSID: CMCC SSID: NARI SSID: NARI SSID: NARI SSID: HUAWEI JXJ SSID: midea_fb_1640 SSID: HP-Print-d4-LaserJet Pro M202dw SSID: NARI SSID: CMCC SSID: NARI SSID: NARI SSID: xe8x8dxa3xe8x80x80Magic4 xe8x87xb3xe8x87xbbxe7x89x88 * SSID List SSID: NARI SSID: NARI SSID: Magic4 * SSID List root@myd-lt536-gk:/etc/myir_test# wpa_passphrase MYIR_5G myir@1601 >> /etc/wpa_supplican root@myd-lt536-gk:/etc/myir_test# wpa_passphrase Magic4 15251718523 >> /etc/wpa_supplican root@myd-lt536-gk:/etc/myir_test# ./wifi_on_sta -ssid Magic4 -passwd 15251718523 SSID:Magic4 PASSWD:15251718523 DRIVER:nl80211 killall: udhcpc: no process killed killall: hostapd: no process killed killall: udhcpd: no process killed find phy0 enable it udhcpc: started, v1.35.0 udhcpc: broadcasting discover udhcpc: broadcasting select for 192.168.174.137, server 192.168.174.2 udhcpc: lease of 192.168.174.137 obtained from 192.168.174.2, lease time 3599 deleting routers adding dns 192.168.174.2 root@myd-lt536-gk:/etc/myir_test# wpa_passphrase Magic4 15251718523 >> /etc/wpa_supplican root@myd-lt536-gk:/etc/myir_test# cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ap_scan=1 update_config=1 参照技术文档
如下命令配置: root@myd-lt536-gk:/etc/myir_test# ifconfig wlan0 up root@myd-lt536-gk:/etc/myir_test# iw dev wlan0 scan | grep SSID SSID: NARI SSID: NARI SSID: NARI SSID: CMCC-WEB SSID: UFI-A0ED SSID: UFI-92F9 SSID: CMCC SSID: NARI SSID: NARI SSID: CMCC SSID: Magic4 * SSID List SSID: NARI SSID: HUAWEI JXJ root@myd-lt536-gk:/etc/myir_test# wpa_passphrase Magic4 15251718523 >> /etc/wpa_supplican root@myd-lt536-gk:/etc/myir_test# wpa_passphrase Magic4 15251718523 >> /etc/wpa_supplicant.conf root@myd-lt536-gk:/etc/myir_test# cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ap_scan=1 update_config=1 network={ ssid="Magic4" #psk="15251718523" psk=82884583fdec52cd145f708693676764946c25042f88da57fb8b53d1e2c04f23 } root@myd-lt536-gk:/etc/myir_test# ping www.baidu.com -t ping: option requires an argument -- 't' BusyBox v1.35.0 (2024-11-04 15:36:46 CST) multi-call binary. Usage: ping [OPTIONS] HOST Send ICMP ECHO_REQUESTs to HOST -c CNT Send only CNT pings -s SIZE Send SIZE data bytes in packets (default 56) -i SECS Interval -A Ping as soon as reply is recevied -t TTL Set TTL -I IFACE/IP Source interface or IP address -W SEC Seconds to wait for the first response (default 10) (after all -c CNT packets are sent) -w SEC Seconds until ping exits (default:infinite) (can exit earlier with -c CNT) -q Quiet, only display output at start/finish -p HEXBYTE Payload pattern wpa_supplicant 是一个连接、配置WIFI 的工具,它的主要工作是通过socket 与驱动 交互并上报数据给用户层,而用户层也可以通过socket 发送命令给wpa_supplicant 调动 驱动来对WiFi 芯片操作。它通常在后台运行,如下所示: root@myd-lt536-gk:~# wpa_supplicant -B -Dnl80211 -c /etc/wpa_supplicant.conf -i wl an0 Successfully initialized wpa_supplicant -B:在后台运行守护进程 -D:驱动名称 -c:配置信息的路径 -i:监听的wifi 接口 root@myd-lt536-gk:/etc/myir_test# ping www.baidu.com -l wlan0 ping: invalid option -- 'l' BusyBox v1.35.0 (2024-11-04 15:36:46 CST) multi-call binary. Usage: ping [OPTIONS] HOST Send ICMP ECHO_REQUESTs to HOST -c CNT Send only CNT pings -s SIZE Send SIZE data bytes in packets (default 56) -i SECS Interval -A Ping as soon as reply is recevied -t TTL Set TTL -I IFACE/IP Source interface or IP address -W SEC Seconds to wait for the first response (default 10) (after all -c CNT packets are sent) -w SEC Seconds until ping exits (default:infinite) (can exit earlier with -c CNT) -q Quiet, only display output at start/finish -p HEXBYTE Payload pattern root@myd-lt536-gk:/etc/myir_test# ping www.baidu.com -I wlan0 PING www.baidu.com (36.152.44.93): 56 data bytes 64 bytes from 36.152.44.93: seq=0 ttl=51 time=139.180 ms 64 bytes from 36.152.44.93: seq=1 ttl=51 time=120.037 ms 64 bytes from 36.152.44.93: seq=2 ttl=51 time=192.384 ms 64 bytes from 36.152.44.93: seq=3 ttl=51 time=70.167 ms 64 bytes from 36.152.44.93: seq=4 ttl=51 time=49.704 ms 64 bytes from 36.152.44.93: seq=5 ttl=51 time=42.005 ms ^[[A^[[A64 bytes from 36.152.44.93: seq=6 ttl=51 time=59.162 ms ^[[A^[[A64 bytes from 36.152.44.93: seq=7 ttl=51 time=40.947 ms ^C --- www.baidu.com ping statistics --- 8 packets transmitted, 8 packets received, 0% packet loss round-trip min/avg/max = 40.947/89.198/192.384 ms root@myd-lt536-gk:/etc/myir_test# ping www.baidu.com -I wlan0 PING www.baidu.com (36.152.44.132): 56 data bytes 64 bytes from 36.152.44.132: seq=0 ttl=51 time=136.274 ms 64 bytes from 36.152.44.132: seq=1 ttl=51 time=149.621 ms 64 bytes from 36.152.44.132: seq=2 ttl=51 time=234.663 ms 64 bytes from 36.152.44.132: seq=3 ttl=51 time=118.021 ms 64 bytes from 36.152.44.132: seq=4 ttl=51 time=104.944 ms 64 bytes from 36.152.44.132: seq=5 ttl=51 time=115.048 ms 64 bytes from 36.152.44.132: seq=6 ttl=51 time=201.564 ms 64 bytes from 36.152.44.132: seq=7 ttl=51 time=104.453 ms 64 bytes from 36.152.44.132: seq=8 ttl=51 time=134.560 ms 64 bytes from 36.152.44.132: seq=9 ttl=51 time=114.380 ms 64 bytes from 36.152.44.132: seq=10 ttl=51 time=124.195 ms 64 bytes from 36.152.44.132: seq=11 ttl=51 time=113.560 ms 64 bytes from 36.152.44.132: seq=12 ttl=51 time=147.378 ms 64 bytes from 36.152.44.132: seq=13 ttl=51 time=126.416 ms 64 bytes from 36.152.44.132: seq=14 ttl=51 time=124.804 ms 64 bytes from 36.152.44.132: seq=15 ttl=51 time=116.594 ms 64 bytes from 36.152.44.132: seq=16 ttl=51 time=123.994 ms 64 bytes from 36.152.44.132: seq=17 ttl=51 time=69.589 ms 64 bytes from 36.152.44.132: seq=18 ttl=51 time=122.690 ms 64 bytes from 36.152.44.132: seq=19 ttl=51 time=160.616 ms 64 bytes from 36.152.44.132: seq=20 ttl=51 time=132.390 ms 64 bytes from 36.152.44.132: seq=21 ttl=51 time=275.293 ms 64 bytes from 36.152.44.132: seq=22 ttl=51 time=1008.063 ms 64 bytes from 36.152.44.132: seq=23 ttl=51 time=169.736 ms 64 bytes from 36.152.44.132: seq=24 ttl=51 time=46.324 ms 64 bytes from 36.152.44.132: seq=25 ttl=51 time=67.324 ms 64 bytes from 36.152.44.132: seq=26 ttl=51 time=39.008 ms 64 bytes from 36.152.44.132: seq=27 ttl=51 time=342.869 ms 64 bytes from 36.152.44.132: seq=28 ttl=51 time=131.598 ms 64 bytes from 36.152.44.132: seq=29 ttl=51 time=52.465 ms 64 bytes from 36.152.44.132: seq=30 ttl=51 time=41.929 ms 64 bytes from 36.152.44.132: seq=31 ttl=51 time=44.638 ms 64 bytes from 36.152.44.132: seq=32 ttl=51 time=45.594 ms 64 bytes from 36.152.44.132: seq=33 ttl=51 time=55.856 ms 64 bytes from 36.152.44.132: seq=34 ttl=51 time=42.185 ms 64 bytes from 36.152.44.132: seq=35 ttl=51 time=81.749 ms 64 bytes from 36.152.44.132: seq=36 ttl=51 time=58.564 ms 64 bytes from 36.152.44.132: seq=37 ttl=51 time=33.393 ms 64 bytes from 36.152.44.132: seq=38 ttl=51 time=133.793 ms 64 bytes from 36.152.44.132: seq=39 ttl=51 time=395.400 ms 64 bytes from 36.152.44.132: seq=40 ttl=51 time=167.973 ms 64 bytes from 36.152.44.132: seq=42 ttl=51 time=244.200 ms 64 bytes from 36.152.44.132: seq=44 ttl=51 time=529.981 ms 64 bytes from 36.152.44.132: seq=45 ttl=51 time=44.871 ms 64 bytes from 36.152.44.132: seq=46 ttl=51 time=49.276 ms 64 bytes from 36.152.44.132: seq=47 ttl=51 time=36.322 ms 64 bytes from 36.152.44.132: seq=48 ttl=51 time=50.758 ms 64 bytes from 36.152.44.132: seq=49 ttl=51 time=37.307 ms 64 bytes from 36.152.44.132: seq=50 ttl=51 time=51.955 ms 64 bytes from 36.152.44.132: seq=51 ttl=51 time=36.552 ms 64 bytes from 36.152.44.132: seq=52 ttl=51 time=352.882 ms 64 bytes from 36.152.44.132: seq=53 ttl=51 time=69.521 ms 64 bytes from 36.152.44.132: seq=54 ttl=51 time=49.516 ms 64 bytes from 36.152.44.132: seq=55 ttl=51 time=48.347 ms 64 bytes from 36.152.44.132: seq=56 ttl=51 time=113.494 ms 64 bytes from 36.152.44.132: seq=57 ttl=51 time=177.715 ms 64 bytes from 36.152.44.132: seq=58 ttl=51 time=1065.053 ms 64 bytes from 36.152.44.132: seq=59 ttl=51 time=216.005 ms 64 bytes from 36.152.44.132: seq=60 ttl=51 time=46.328 ms 64 bytes from 36.152.44.132: seq=61 ttl=51 time=174.029 ms 64 bytes from 36.152.44.132: seq=62 ttl=51 time=1007.667 ms 64 bytes from 36.152.44.132: seq=63 ttl=51 time=34.560 ms 64 bytes from 36.152.44.132: seq=64 ttl=51 time=60.458 ms 64 bytes from 36.152.44.132: seq=65 ttl=51 time=36.790 ms 64 bytes from 36.152.44.132: seq=66 ttl=51 time=47.998 ms 64 bytes from 36.152.44.132: seq=67 ttl=51 time=124.949 ms 64 bytes from 36.152.44.132: seq=68 ttl=51 time=106.133 ms 64 bytes from 36.152.44.132: seq=69 ttl=51 time=295.081 ms 64 bytes from 36.152.44.132: seq=70 ttl=51 time=182.291 ms 64 bytes from 36.152.44.132: seq=71 ttl=51 time=155.202 ms 64 bytes from 36.152.44.132: seq=72 ttl=51 time=135.171 ms 64 bytes from 36.152.44.132: seq=73 ttl=51 time=123.949 ms 64 bytes from 36.152.44.132: seq=74 ttl=51 time=122.725 ms 64 bytes from 36.152.44.132: seq=75 ttl=51 time=145.165 ms 64 bytes from 36.152.44.132: seq=76 ttl=51 time=122.210 ms 64 bytes from 36.152.44.132: seq=77 ttl=51 time=123.226 ms 64 bytes from 36.152.44.132: seq=78 ttl=51 time=124.194 ms 64 bytes from 36.152.44.132: seq=79 ttl=51 time=157.618 ms 64 bytes from 36.152.44.132: seq=80 ttl=51 time=186.930 ms 64 bytes from 36.152.44.132: seq=81 ttl=51 time=111.970 ms 64 bytes from 36.152.44.132: seq=82 ttl=51 time=146.165 ms 64 bytes from 36.152.44.132: seq=83 ttl=51 time=122.452 ms 64 bytes from 36.152.44.132: seq=84 ttl=51 time=120.022 ms 64 bytes from 36.152.44.132: seq=85 ttl=51 time=190.361 ms 64 bytes from 36.152.44.132: seq=86 ttl=51 time=117.613 ms 64 bytes from 36.152.44.132: seq=87 ttl=51 time=142.014 ms 64 bytes from 36.152.44.132: seq=88 ttl=51 time=125.175 ms 64 bytes from 36.152.44.132: seq=89 ttl=51 time=201.125 ms 64 bytes from 36.152.44.132: seq=90 ttl=51 time=204.029 ms 64 bytes from 36.152.44.132: seq=91 ttl=51 time=118.560 ms 64 bytes from 36.152.44.132: seq=92 ttl=51 time=121.482 ms 64 bytes from 36.152.44.132: seq=93 ttl=51 time=136.623 ms 64 bytes from 36.152.44.132: seq=94 ttl=51 time=117.343 ms 64 bytes from 36.152.44.132: seq=95 ttl=51 time=187.662 ms 64 bytes from 36.152.44.132: seq=96 ttl=51 time=201.586 ms 64 bytes from 36.152.44.132: seq=97 ttl=51 time=62.890 ms 64 bytes from 36.152.44.132: seq=98 ttl=51 time=37.735 ms 64 bytes from 36.152.44.132: seq=99 ttl=51 time=55.833 ms 64 bytes from 36.152.44.132: seq=99 ttl=51 time=57.871 ms (DUP!) 64 bytes from 36.152.44.132: seq=100 ttl=51 time=47.288 ms 64 bytes from 36.152.44.132: seq=101 ttl=51 time=55.348 ms 64 bytes from 36.152.44.132: seq=102 ttl=51 time=164.944 ms 64 bytes from 36.152.44.132: seq=103 ttl=51 time=158.838 ms 64 bytes from 36.152.44.132: seq=104 ttl=51 time=144.456 ms 64 bytes from 36.152.44.132: seq=105 ttl=51 time=157.362 ms 64 bytes from 36.152.44.132: seq=106 ttl=51 time=47.475 ms 64 bytes from 36.152.44.132: seq=107 ttl=51 time=62.132 ms 64 bytes from 36.152.44.132: seq=108 ttl=51 time=35.023 ms 64 bytes from 36.152.44.132: seq=109 ttl=51 time=59.948 ms 64 bytes from 36.152.44.132: seq=110 ttl=51 time=106.614 ms 64 bytes from 36.152.44.132: seq=111 ttl=51 time=54.836 ms 64 bytes from 36.152.44.132: seq=112 ttl=51 time=45.308 ms 64 bytes from 36.152.44.132: seq=113 ttl=51 time=78.279 ms 64 bytes from 36.152.44.132: seq=114 ttl=51 time=145.185 ms 64 bytes from 36.152.44.132: seq=115 ttl=51 time=72.197 ms 64 bytes from 36.152.44.132: seq=116 ttl=51 time=403.233 ms 64 bytes from 36.152.44.132: seq=117 ttl=51 time=151.267 ms 64 bytes from 36.152.44.132: seq=118 ttl=51 time=133.707 ms 64 bytes from 36.152.44.132: seq=119 ttl=51 time=83.902 ms 64 bytes from 36.152.44.132: seq=120 ttl=51 time=179.852 ms 64 bytes from 36.152.44.132: seq=121 ttl=51 time=70.208 ms 64 bytes from 36.152.44.132: seq=122 ttl=51 time=141.036 ms 64 bytes from 36.152.44.132: seq=123 ttl=51 time=52.620 ms 64 bytes from 36.152.44.132: seq=124 ttl=51 time=41.891 ms 64 bytes from 36.152.44.132: seq=125 ttl=51 time=29.431 ms 64 bytes from 36.152.44.132: seq=126 ttl=51 time=40.435 ms 64 bytes from 36.152.44.132: seq=127 ttl=51 time=52.892 ms 64 bytes from 36.152.44.132: seq=128 ttl=51 time=41.419 ms 64 bytes from 36.152.44.132: seq=129 ttl=51 time=53.871 ms 64 bytes from 36.152.44.132: seq=130 ttl=51 time=41.660 ms 64 bytes from 36.152.44.132: seq=131 ttl=51 time=27.443 ms 64 bytes from 36.152.44.132: seq=132 ttl=51 time=34.040 ms 64 bytes from 36.152.44.132: seq=133 ttl=51 time=26.702 ms 64 bytes from 36.152.44.132: seq=134 ttl=51 time=615.454 ms 64 bytes from 36.152.44.132: seq=135 ttl=51 time=58.258 ms 64 bytes from 36.152.44.132: seq=136 ttl=51 time=71.218 ms 64 bytes from 36.152.44.132: seq=137 ttl=51 time=59.748 ms 64 bytes from 36.152.44.132: seq=138 ttl=51 time=56.570 ms 64 bytes from 36.152.44.132: seq=139 ttl=51 time=61.001 ms 64 bytes from 36.152.44.132: seq=140 ttl=51 time=52.942 ms 64 bytes from 36.152.44.132: seq=141 ttl=51 time=63.699 ms 64 bytes from 36.152.44.132: seq=142 ttl=51 time=143.401 ms 64 bytes from 36.152.44.132: seq=143 ttl=51 time=58.840 ms 64 bytes from 36.152.44.132: seq=144 ttl=51 time=54.192 ms 64 bytes from 36.152.44.132: seq=145 ttl=51 time=44.934 ms 64 bytes from 36.152.44.132: seq=146 ttl=51 time=122.164 ms 64 bytes from 36.152.44.132: seq=147 ttl=51 time=68.170 ms 64 bytes from 36.152.44.132: seq=148 ttl=51 time=57.901 ms 64 bytes from 36.152.44.132: seq=149 ttl=51 time=47.165 ms 64 bytes from 36.152.44.132: seq=150 ttl=51 time=45.225 ms 64 bytes from 36.152.44.132: seq=151 ttl=51 time=43.020 ms 64 bytes from 36.152.44.132: seq=152 ttl=51 time=52.806 ms 64 bytes from 36.152.44.132: seq=153 ttl=51 time=886.636 ms 64 bytes from 36.152.44.132: seq=154 ttl=51 time=45.481 ms 64 bytes from 36.152.44.132: seq=155 ttl=51 time=36.963 ms 64 bytes from 36.152.44.132: seq=156 ttl=51 time=55.547 ms 64 bytes from 36.152.44.132: seq=157 ttl=51 time=45.037 ms 64 bytes from 36.152.44.132: seq=158 ttl=51 time=62.142 ms 64 bytes from 36.152.44.132: seq=159 ttl=51 time=40.647 ms 64 bytes from 36.152.44.132: seq=160 ttl=51 time=63.905 ms ^C --- www.baidu.com ping statistics --- 161 packets transmitted, 159 packets received, 1 duplicates, 1% packet loss round-trip min/avg/max = 26.702/133.302/1065.053 ms root@myd-lt536-gk:/etc/myir_test# ./myir_audio_play Do you want to play the default audio file? (y/n/quit): Y Playing WAVE '/usr/share/myir/Music/myir_audio.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ^CAborted by signal Interrupt... Do you want to play the default audio file? (y/n/quit): N^H^H^HY Enter the path of the audio file you want to play: Y Error: The specified audio file does not exist. Do you want to play the default audio file? (y/n/quit): N Enter the path of the audio file you want to play: n Error: The specified audio file does not exist. Do you want to play the default audio file? (y/n/quit): q Exiting the script. root@myd-lt536-gk:/etc/myir_test# root@myd-lt536-gk:/etc/myir_test# ./myir_audio_play Do you want to play the default audio file? (y/n/quit): y Playing WAVE '/usr/share/myir/Music/myir_audio.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Do you want to play the default audio file? (y/n/quit): y Playing WAVE '/usr/share/myir/Music/myir_audio.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Do you want to play the default audio file? (y/n/quit): y Playing WAVE '/usr/share/myir/Music/myir_audio.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ^[[A^[[A^[[A^[[A^[[A^CAborted by signal Interrupt... Do you want to play the default audio file? (y/n/quit): q Exiting the script. root@myd-lt536-gk:/etc/myir_test# ping www.baidu.com -I wlan0 PING www.baidu.com (36.152.44.93): 56 data bytes 64 bytes from 36.152.44.93: seq=0 ttl=51 time=29.095 ms 64 bytes from 36.152.44.93: seq=1 ttl=51 time=40.899 ms 64 bytes from 36.152.44.93: seq=2 ttl=51 time=39.426 ms 64 bytes from 36.152.44.93: seq=3 ttl=51 time=30.732 ms 64 bytes from 36.152.44.93: seq=4 ttl=51 time=40.627 ms 64 bytes from 36.152.44.93: seq=5 ttl=51 time=56.381 ms 64 bytes from 36.152.44.93: seq=6 ttl=51 time=44.538 ms 64 bytes from 36.152.44.93: seq=8 ttl=51 time=279.739 ms 64 bytes from 36.152.44.93: seq=9 ttl=51 time=140.562 ms 64 bytes from 36.152.44.93: seq=10 ttl=51 time=137.599 ms 64 bytes from 36.152.44.93: seq=11 ttl=51 time=132.924 ms 64 bytes from 36.152.44.93: seq=12 ttl=51 time=164.728 ms 64 bytes from 36.152.44.93: seq=13 ttl=51 time=159.339 ms 64 bytes from 36.152.44.93: seq=14 ttl=51 time=133.688 ms 64 bytes from 36.152.44.93: seq=15 ttl=51 time=256.578 ms 64 bytes from 36.152.44.93: seq=16 ttl=51 time=41.577 ms ^C --- www.baidu.com ping statistics --- 17 packets transmitted, 16 packets received, 5% packet loss round-trip min/avg/max = 29.095/108.027/279.739 ms
|
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
【米尔RK3506国产开发板评测】3、实时补丁以及EtherCAT IGH移植
1149 浏览 0 评论
10250 浏览 0 评论
35750 浏览 0 评论
【米尔NXP i.MX 91开发板评测】基于RS485接口实现modbus从机
1689 浏览 0 评论
【米尔NXP i.MX 91开发板评测】移植运行IGH EtherCAT主站
1990 浏览 0 评论
【米尔-瑞米派兼容树莓派扩展模块-试用体验】基于ROS系统的三麦轮小车自主导航
4537浏览 2评论
【米尔NXP i.MX 93开发板试用评测】5、安装Debian和排除启动故障
1467浏览 2评论
【米尔NXP i.MX 93开发板试用评测】2、异构通信环境搭建和源码编译
1669浏览 2评论
【米尔-瑞米派兼容树莓派扩展模块-试用体验】Free RTOS应用开发环境部署
2110浏览 1评论
【米尔-Xilinx XC7A100T FPGA开发板试用】+03.SFP光口测试(zmj)
2190浏览 1评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 10:32 , Processed in 1.025430 second(s), Total 37, Slave 27 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1298
