[英]Raspberry Pi 3B+ with Bullseye has no eth0 interface at all
I'm trying to connect my Raspberry Pi 3B+ to my network.我正在尝试将我的 Raspberry Pi 3B+ 连接到我的网络。 But neither do the LAN-LEDs light up nor does the Pi even know what eth0 is.
但是 LAN-LED 不亮,树莓派也不知道 eth0 是什么。 I also have no en<x><MAC>.
我也没有 en<x><MAC>。
ifconfig outputs the following (ifconfig -a does the same): ifconfig 输出以下内容(ifconfig -a 也一样):
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 10 bytes 1564 (1.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10 bytes 1564 (1.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether MY-MAC-ADDRESS txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
/etc/network/interfaces is as follows: /etc/network/interfaces 如下:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*
/etc/network/interfaces.d/ is empty. /etc/network/interfaces.d/ 为空。
Like I said, it doesn't know what eth0 is at all:就像我说的,它根本不知道 eth0 是什么:
~$ ifup eth0
ifup: unknown interface eth0
~$ sudo dhclient eth0
Cannot find device "eth0"
The network cable works, tested it on other PCs and tried many different ones...网线可以正常工作,在其他电脑上进行了测试,并尝试了许多不同的...
I believe there was a bug introduced in Bulleye.我相信 Bulleye 中引入了一个错误。
If /boot/cmdline.txt does not have "net.ifnames=0", then add that to the end of the root= line.如果 /boot/cmdline.txt 没有“net.ifnames=0”,则将其添加到 root= 行的末尾。 Then reboot.
然后重新启动。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.