Raspberry Pi WLAN 连接崩溃/多个网络并行

Raspberry Pi WLAN 连接崩溃/多个网络并行

我有一个 raspberry pi 3 model b,它使用 LAN 连接到我的路由器(fritz box、互联网等),并并行连接到另一个 WLAN 路由器(提供 WLAN 网络的 Tello 无人机)。

当我启动我的网络核心软件来侦听并向该无人机网络发送 udp 数据包时,这在我的 rapsberry pi 4 上有效。在 rapsberry pi 3 上,无线局域网在几秒钟后丢失(这意味着我在不再崩溃)。

这是设置(ifconfig、eth0 -> fritz box 路由器、wlan0 -> 无人机):

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.178.48  netmask 255.255.255.0  broadcast 192.168.178.255
    inet6 2003:d2:ff3a:ca00:d365:75c1:64f7:4d95  prefixlen 64  scopeid 0x0<global>
    inet6 fe80::4d57:91fb:dfc7:6b34  prefixlen 64  scopeid 0x20<link>
    ether b8:27:eb:54:8c:f8  txqueuelen 1000  (Ethernet)
    RX packets 6000  bytes 890224 (869.3 KiB)
    RX errors 0  dropped 2  overruns 0  frame 0
    TX packets 7441  bytes 4995016 (4.7 MiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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  (Lokale Schleife)
    RX packets 32  bytes 4209 (4.1 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 32  bytes 4209 (4.1 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.10.2  netmask 255.255.255.0  broadcast 192.168.10.255
    inet6 fe80::5dc2:6615:7dc0:5375  prefixlen 64  scopeid 0x20<link>
    ether b8:27:eb:01:d9:ad  txqueuelen 1000  (Ethernet)
    RX packets 10  bytes 1600 (1.5 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 244  bytes 46987 (45.8 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

我收到一条错误消息是 /var/log/messages (注意:电源管理已被我禁用):


Mar 28 18:09:59 raspberrypi2 kernel: [  387.901642] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
Mar 28 18:13:34 raspberrypi2 kernel: [  602.034411] mmc1: card 0001 removed
Mar 28 18:13:34 raspberrypi2 kernel: [  602.100223] mmc1: queuing unknown CIS tuple 0xc1 (72 bytes)
Mar 28 18:13:34 raspberrypi2 kernel: [  602.144081] mmc1: queuing unknown CIS tuple 0x5e (135 bytes)
Mar 28 18:13:34 raspberrypi2 kernel: [  602.145675] mmc1: queuing unknown CIS tuple 0x63 (3 bytes)
Mar 28 18:13:34 raspberrypi2 kernel: [  602.156786] mmc1: queuing unknown CIS tuple 0x11 (33 bytes)
Mar 28 18:13:34 raspberrypi2 kernel: [  602.194812] mmc1: queuing unknown CIS tuple 0xf0 (73 bytes)
Mar 28 18:13:34 raspberrypi2 kernel: [  602.211922] mmc1: queuing unknown CIS tuple 0xc8 (52 bytes)
Mar 28 18:14:14 raspberrypi2 kernel: [  642.634521] mmc1: queuing unknown CIS tuple 0xc1 (72 bytes)
Mar 28 18:14:14 raspberrypi2 kernel: [  642.691858] mmc1: queuing unknown CIS tuple 0x5e (135 bytes)
Mar 28 18:14:14 raspberrypi2 kernel: [  642.693984] mmc1: queuing unknown CIS tuple 0x63 (3 bytes)
Mar 28 18:14:14 raspberrypi2 kernel: [  642.708667] mmc1: queuing unknown CIS tuple 0x11 (33 bytes)
Mar 28 18:14:14 raspberrypi2 kernel: [  642.757611] mmc1: queuing unknown CIS tuple 0xf0 (73 bytes)
Mar 28 18:14:14 raspberrypi2 kernel: [  642.780052] mmc1: queuing unknown CIS tuple 0xc8 (52 bytes)
Mar 28 18:15:07 raspberrypi2 kernel: [  694.944685] mmc1: queuing unknown CIS tuple 0xc1 (72 bytes)
Mar 28 18:15:07 raspberrypi2 kernel: [  695.024881] mmc1: queuing unknown CIS tuple 0x5e (135 bytes)
Mar 28 18:15:07 raspberrypi2 kernel: [  695.027818] mmc1: queuing unknown CIS tuple 0x63 (3 bytes)
Mar 28 18:15:07 raspberrypi2 kernel: [  695.048708] mmc1: queuing unknown CIS tuple 0x11 (33 bytes)
Mar 28 18:15:07 raspberrypi2 kernel: [  695.119219] mmc1: queuing unknown CIS tuple 0xf0 (73 bytes)
Mar 28 18:15:07 raspberrypi2 kernel: [  695.151731] mmc1: queuing unknown CIS tuple 0xc8 (52 bytes)
Mar 28 18:16:23 raspberrypi2 kernel: [  771.114777] mmc1: queuing unknown CIS tuple 0xc1 (72 bytes)
Mar 28 18:16:23 raspberrypi2 kernel: [  771.273867] mmc1: queuing unknown CIS tuple 0x5e (135 bytes)
Mar 28 18:16:23 raspberrypi2 kernel: [  771.279684] mmc1: queuing unknown CIS tuple 0x63 (3 bytes)
Mar 28 18:16:23 raspberrypi2 kernel: [  771.320348] mmc1: queuing unknown CIS tuple 0x11 (33 bytes)
Mar 28 18:16:23 raspberrypi2 kernel: [  771.456273] mmc1: queuing unknown CIS tuple 0xf0 (73 bytes)
Mar 28 18:16:23 raspberrypi2 kernel: [  771.518587] mmc1: queuing unknown CIS tuple 0xc8 (52 bytes)

命名-a:

Linux raspberrypi2 5.10.103-v7+ #1530 SMP Tue Mar 8 13:02:44 GMT 2022 armv7l GNU/Linux

崩溃后的“Ifconfig”不再包含任何名为“wlan0”的设备,并且我在上方的树莓派菜单中看不到 wlan 连接符号。

我在另一个论坛上读到,问题可能是这些网络设备具有相同的子网掩码(因此优先级较低的连接被取消)。

所以问题是:

  1. 我是否必须更改子网掩码,如果是,则要更改什么(我比较了 Raspberry 3 和 4 的“路由”输出 - 它们是相等的)?
  2. 有什么想法为什么相同的代码可以在树莓派 4 上运行而不是在树莓派 3 上运行(相同的操作系统、内核版本等)?区别在于硬件。注意:“rpi-update”并没有解决问题。
  3. 还有其他想法如何解决吗?

谢谢,最诚挚的问候

相关内容