- 积分
- 20
贡献127
飞刀37 FD
注册时间2021-3-23
在线时间4 小时
扫一扫,手机访问本帖
|
本帖最后由 XLTX 于 2021-5-26 15:24 编辑
首先我查看网络信息发现eth0并未启动
# ifconfig
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:16436 Metric:1
RX packets:130 errors:0 dropped:0 overruns:0 frame:0
TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:421536 (411.6 KiB) TX bytes:421536 (411.6 KiB)
尝试查看所有的网卡信息
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 1E:C6:7C:5C:64:25
inet addr:192.168.1.163 Bcast:192.168.1.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:48
ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
NOARP MTU:1452 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)
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:16436 Metric:1
RX packets:130 errors:0 dropped:0 overruns:0 frame:0
TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:421536 (411.6 KiB) TX bytes:421536 (411.6 KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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)
尝试启动eth0
# ifconfig eth0 up
[ 1715.953000] eth0: device MAC address 1e:c6:7c:5c:64:25
[ 1716.047000] nxpmac_hw_setup: DMA engine initialization failed
[ 1716.053000] stmmac_open: Hw setup failed
ifconfig: SIOCSIFFLAGS: Device or resource busy
@飞凌-chongzi @飞凌-peacelove
我应该如何解决?
|
|