zhangbin.eos

zhangbin.eos

0个粉丝

7

问答

0

专栏

0

资料

zhangbin.eos  发布于  2017-09-25 09:26:05
采纳率 0%
7个问答
4239

hi3536 网络配置

 
eth0配置不了,网口灯也没有亮

/etc/udev/rules.d/.svn # ifconfig eth0 up
libphy: PHY 1:01 not found
eth0: Could not attach to PHY
stmmac_open: Cannot attach to PHY (error: -19)
ifconfig: SIOCSIFFLAGS: No such device


/etc/udev/rules.d/.svn # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 66:E4:25:21:B7:2E  
          inet addr:192.168.11.137  Bcast:192.168.11.255  Mask:255.255.255.0
          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:55

eth1      Link encap:Ethernet  HWaddr 6E:ED:4F:0F:EB:88  
          inet addr:192.168.20.138  Bcast:192.168.20.255  Mask:255.255.255.0
          inet6 addr: fe80::6ced:4fff:fe0f:eb88/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4523 errors:0 dropped:613 overruns:0 frame:0
          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:453011 (442.3 KiB)  TX bytes:3544 (3.4 KiB)
          Interrupt:55 Base address:0x4000

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)

/etc/udev/rules.d/.svn # ifconfig eth1 up
/etc/udev/rules.d/.svn #
我来回答
回答4个
时间排序
认可量排序

zhangbin.eos

0个粉丝

7

问答

0

专栏

0

资料

zhangbin.eos 2017-09-25 09:30:32
认可0
看到了一下目录的这些文件,但是不知道怎么使
/sys/devices/platform/stmmaceth.0/net/eth0 # ls -R
.:
addr_assign_type  dormant           mtu               subsystem
addr_len          duplex            netdev_group      tx_queue_len
address           flags             operstate         type
broadcast         ifalias           power             uevent
carrier           ifindex           queues
dev_id            iflink            speed
device            link_mode         statistics

./power:
autosuspend_delay_ms    runtime_active_time     runtime_suspended_time
control                 runtime_status

./queues:
rx-0  tx-0

./queues/rx-0:
rps_cpus      rps_flow_cnt

./queues/tx-0:
byte_queue_limits  tx_timeout         xps_cpus

./queues/tx-0/byte_queue_limits:
hold_time  inflight   limit      limit_max  limit_min

./statistics:
collisions           rx_frame_errors      tx_compressed
multicast            rx_length_errors     tx_dropped
rx_bytes             rx_missed_errors     tx_errors
rx_compressed        rx_over_errors       tx_fifo_errors
rx_crc_errors        rx_packets           tx_heartbeat_errors
rx_dropped           tx_aborted_errors    tx_packets
rx_errors            tx_bytes             tx_window_errors
rx_fifo_errors       tx_carrier_errors
/sys/devices/platform/stmmaceth.0/net/eth0 #

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2017-12-13 18:56:31
认可0
你好 请问你找到问题了吗 我也遇见跟你一样的问题

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2017-12-13 19:20:02
认可0
dmesg 发现phy0 的ID为0 内核配置stmmac改下id就好了

zhangbin.eos

0个粉丝

7

问答

0

专栏

0

资料

zhangbin.eos 2017-12-20 14:42:05
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=82073&ptid=23628]yzhiju 发表于 2017-12-13 19:20[/url]
dmesg 发现phy0 的ID为0 内核配置stmmac改下id就好了[/quote]

非常感谢!                                    
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区