Ads 468x60px

##EasyReadMore##

10 1月, 2018

查 ethernet 有沒有動作流程

查網路訊息

$ ifconfig

沒有 ethernet

查開機是否有 ether 啟動

$ dmesg| grep eth
[    5.956271] stmmaceth 0000:00:14.6: enabling device (0000 -> 0002)
[    5.964623] stmmaceth 0000:00:14.6: stmmac_dvr_probe: warning: cannot get CSR clock
[    5.971255] stmmaceth 0000:00:14.6: no reset control found
[    6.014817] eth%d: PHY ID 20005c90 at 1 IRQ POLL (stmmac-a6:01) active
[    6.023613] stmmaceth 0000:00:14.7: enabling device (0000 -> 0002)
[   33.680555] eth0: device MAC address b8:ae:ed:d1:77:ef
[   35.680374] stmmaceth 0000:00:14.6 eth0: Link is Up - 100Mbps/Full - flow control rx/tx

模組有沒有掛

$ lsmod
  stm ethernet module

$ lsusb
Bus 001 Device 008: ID 13d3:3410 IMC Networks
Bus 001 Device 007: ID 12d1:15c1 Huawei Technologies Co., Ltd.
Bus 001 Device 005: ID 1908:0226 GEMBIRD
Bus 001 Device 004: ID 0658:0200 Sigma Designs, Inc.
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 002: ID 214b:7000
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

看起來是 driver 沒上

0 意見:

張貼留言

 
Blogger Templates