LS1028A网络问题-YT8614+YT8521
按照V2.3的底板单独做的底板,现在系统可以正常启动,但是网络设备找不到,不知道什么原因。麻烦大侠给看看!1、执行ifconfig后,只显示eno2和lo
eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>mtu 1532
inet6 fe80::744b:a4ff:fe8d:3032prefixlen 64scopeid 0x20<link>
ether 76:4b:a4:8d:30:32txqueuelen 1000(Ethernet)
RX packets 0bytes 0 (0.0 B)
RX errors 0dropped 0overruns 0frame 0
TX packets 21bytes 2448 (2.4 KB)
TX errors 0dropped 0 overruns 0carrier 0collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>mtu 65536
inet 127.0.0.1netmask 255.0.0.0
inet6 ::1prefixlen 128scopeid 0x10<host>
looptxqueuelen 1000(Local Loopback)
RX packets 635bytes 343897 (343.8 KB)
RX errors 0dropped 0overruns 0frame 0
TX packets 635bytes 343897 (343.8 KB)
TX errors 0dropped 0 overruns 0carrier 0collisions 0
2、按照手册,对eno0执行操作
root@forlinx:~# sudo ifconfig eth0 192.168.1.3
SIOCSIFADDR: No such device
eth0: ERROR while getting inte**ce flags: No such device
root@forlinx:~# I2fwd -c 0xf -n 1 -- -p 0xc -q 1 --no-mac-uodating
-bash: I2fwd: command not found
root@forlinx:~# cat /etc/network/inte**ces.d/eno0
auto eno0
iface eno0 inet static
address 192.168.110.232
netmask 255.255.255.0
gateway 192.168.110.1
broadcast 192.168.110.255
dns-nameservers 8.8.8.8
root@forlinx:~# ip addr flush dev eno0
root@forlinx:~# systemctl restart networking.service
[ 1571.685437] net eno0: could not attach to PHY
Job for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xe" for details.
root@forlinx:~# systemctl status networking.service
● networking.service - Raise network inte**ces
Loaded: loaded (/lib/systemd/system/networking.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-09-06 11:44:11 CST; 31s ago
Docs: man:inte**ces(5)
Process: 1239 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 1236 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTE**CES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settl
Main PID: 1239 (code=exited, status=1/FAILURE)
Sep 06 11:44:10 forlinx systemd: Starting Raise network inte**ces...
Sep 06 11:44:10 forlinx ifup: RTNETLINK answers: No such device
Sep 06 11:44:10 forlinx ifup: Failed to bring up eno0.
Sep 06 11:44:11 forlinx systemd: networking.service: Main process exited, code=exited, status=1/FAILURE
Sep 06 11:44:11 forlinx systemd: networking.service: Failed with result 'exit-code'.
Sep 06 11:44:11 forlinx systemd: Failed to start Raise network inte**ces.
root@forlinx:~#
3、根据1和2的打印信息,eno0的phy没有正常工作,我检查电路后,我的底板与v2.3的开发板硬件配置一样,无法确定是哪里出问题
PHY的解复位信号正常吗?{:2_39:}
页:
[1]