Print Previous Topic Next Topic

[技术讨论] px3se 以太网 ping不通网关和外网

107

Credits

0

威望

0

贡献

技术小白

Credits
107

【技术讨论】 px3se 以太网 ping不通网关和外网

Posted at 2018-7-9 18:44:13      浏览:7805 | 回复:3        打印      只看该作者   [复制链接] 楼主
[root@rockchip:/]# ifconfig
eth0      Link encap:Ethernet  HWaddr 0A:16:D4:D0:6D:97  
          inet addr:192.168.0.189  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::816:d4ff:fed0:6d97/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:493 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:21138 (20.6 KiB)
          Interrupt:88 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:707 errors:0 dropped:0 overruns:0 frame:0
          TX packets:707 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:77273 (75.4 KiB)  TX bytes:77273 (75.4 KiB)
RX packets为0字节,怎么解决麻烦大神指导下
Reply

Use props Report

107

Credits

0

威望

0

贡献

技术小白

Credits
107
Posted at 2018-7-9 18:45:48        只看该作者  沙发
&gmac {
  //power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
  //reset-gpio = <&gpio2 GPIO_D0 GPIO_ACTIVE_LOW>;
  phyirq-gpio = <&gpio2 GPIO_D0 GPIO_ACTIVE_LOW>;
  phy-mode = "rmii";
  clock_in_out = "output";
  tx_delay = <0x30>;
  rx_delay = <0x10>;
  phy-type = "external";
        status = "okay";//"disabled";
};这是gmac配置,芯片LAN8720A谢谢
Reply

Use props Report

16

Credits

0

威望

0

贡献

游客

Credits
16
Posted at 2018-7-19 09:36:53        只看该作者  板凳
楼主解决了吗,我用的RK3288+RTL8211E也遇到同样的问题,如何解决的呢?
Reply

Use props Report

107

Credits

0

威望

0

贡献

技术小白

Credits
107
Posted at 2018-7-20 18:28:53        只看该作者  地板
没有呢
Reply

Use props Report

You need to log in before you can reply Login | 立即注册

This forum Credits Rules

Quick Reply Back to top Back to list