日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

sama5d3 xplained 系统加载后确认使用的网口

發布時間:2025/7/14 windows 19 豆豆
生活随笔 收集整理的這篇文章主要介紹了 sama5d3 xplained 系统加载后确认使用的网口 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

【補充方案】
在開發板上明確標識出了 ETH1及 ETH0/GETH標識號
通過ifconfig發現只有eth0及lo兩個網絡接口,即可確定網線該插入eth0口。

【原來解決方案】
官方使用的文件系統是 Poky 1.5.1
1. 進入文件系統后檢查網絡配置情況,發現IP地址沒有配置
root@sama5d3_xplained:~# ifconfig eth0
eth0????? Link encap:Ethernet? HWaddr 06:b7:e8:f8:58:a1
????????? 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:26 Base address:0x8000

2. 將IP地址配置成一個網段
root@sama5d3_xplained:~# ifconfig eth0 192.168.1.81
root@sama5d3_xplained:~# ifconfig
eth0????? Link encap:Ethernet? HWaddr 06:b7:e8:f8:58:a1
????????? inet addr:192.168.1.81? Bcast:192.168.1.255? Mask:255.255.255.0
????????? 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:26 Base address:0x8000

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:0 errors:0 dropped:0 overruns:0 frame:0
????????? TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
????????? collisions:0 txqueuelen:0
????????? RX bytes:0 (0.0 B)? TX bytes:0 (0.0 B)

3. ping一下宿主機,PING不通
root@sama5d3_xplained:~# ping 192.168.1.25
PING 192.168.1.25 (192.168.1.25) 56(84) bytes of data.
From 192.168.1.81 icmp_seq=1 Destination Host Unreachable
From 192.168.1.81 icmp_seq=2 Destination Host Unreachable
From 192.168.1.81 icmp_seq=3 Destination Host Unreachable
From 192.168.1.81 icmp_seq=4 Destination Host Unreachable
From 192.168.1.81 icmp_seq=5 Destination Host Unreachable
From 192.168.1.81 icmp_seq=6 Destination Host Unreachable

4. 診斷當前的eth0是哪一個網口(支持到1000baseT,即千兆網口)
root@sama5d3_xplained:~# ethtool eth0
Settings for eth0:
??????? Supported ports: [ TP MII ]
??????? Supported link modes:?? 10baseT/Half 10baseT/Full
??????????????????????????????? 100baseT/Half 100baseT/Full
??????????????????????????????? 1000baseT/Half 1000baseT/Full
??????? Supported pause frame use: No
??????? Supports auto-negotiation: Yes
??????? Advertised link modes:? 10baseT/Half 10baseT/Full
??????????????????????????????? 100baseT/Half 100baseT/Full
??????????????????????????????? 1000baseT/Half 1000baseT/Full
??????? Advertised pause frame use: No
??????? Advertised auto-negotiation: Yes
??????? Speed: 10Mb/s
??????? Duplex: Half
??????? Port: MII
??????? PHYAD: 7
??????? Transceiver: external
??????? Auto-negotiation: on
??????? Link detected: no

5. 將網線插到千兆網口后,重新ping宿主機,Ok.

轉載于:https://www.cnblogs.com/aqing1987/p/4290308.html

總結

以上是生活随笔為你收集整理的sama5d3 xplained 系统加载后确认使用的网口的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。