简体   繁体   English

带有 Bullseye 的 Raspberry Pi 3B+ 根本没有 eth0 接口

[英]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.

相关问题 在树莓派中将 eth0 设置为 DHCP - Set eth0 as DHCP in raspberry pi Raspberry Pi isc-dhcp-server:没有eth0的子网声明 - Raspberry Pi isc-dhcp-server: No subnet declaration for eth0 有什么方法可以在 Raspberry pi 3b+ 上禁用 usb 端口(不是以太网)? - Is there any way to disable usb ports(Not ethernet ) on Raspberry pi 3b+? Wlan和Eth0接口的组播路由 - Multicast Routing over Wlan and Eth0 interface 如何选择raspberry pi 3B +上的特定USB端口来使用arduino-mk编程两个arduino板? - How to select a particular USB port on raspberry pi 3B+ to program two arduino boards with arduino-mk? 如何在树莓派 3b+ 中同时使用静态以太网 ip 和 Wi-Fi - How to use Static Ethernet ip and Wi-Fi at the same time in raspberry pi 3b+ linux将在eth0和eth0.1之间使用哪个接口? - Which interface linux will use between eth0 and eth0.1? 尝试将PHP imap_open()与diff一起使用。 linux接口(eth0:1,eth0:2)。 有任何想法吗? - Trying to use PHP imap_open() with diff. linux interface(eth0:1, eth0:2). Any ideas? 如果启动后插入电缆,则eth0接口无法连接 - eth0 interface doesn't connect if the cable is plugged after the boot 如何启动bond0 / eth0接口 - How to bring bond0/eth0 interface UP
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM