This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenPlotter v4 (RPi 5) Wi-Fi client connection failures with mobile hotspots / router
#1
I've been trying to get Openplotter to work on my pi5 for months with little success.  The issue is the wifi it just won't connect.   I've been using google antigravity to try and solve it.  It seems to finally managed to get it to connect, but i am still struggling to get it to see some wifi networks.   It really should not be this difficult or buggy.  I am using stock everything, pi5 with the standard openplotter images.  It works fine on my pi400 with the same network.   Here is the summary from Antigravity:

Hardware / OS:

Raspberry Pi 5
OpenPlotter v4 Touchscreen Edition (Debian Bookworm 64-bit, Wayland/labwc)
MacArthur HAT
Router: 4G/LTE WebPocket (WPA2-Personal, 2.4 GHz)

Symptoms:

When attempting to connect to an existing Wi-Fi network (hotspot/router) via the desktop GUI or nmcli, the connection repeatedly fails with a continuous password prompt loop, despite entering the correct PSK.
The Pi often falls back to an open or previously saved AP, but will not authenticate with the primary router.
If the root filesystem is expanded post-install or rebooted, GUI network profiles fail to negotiate the WPA2 handshake.

Root Causes Identified:

hostapd / openplotter-networkd contention: OpenPlotter's background daemon attempts to manage access point mode on wlan0. When trying to use client Wi-Fi mode, the AP service continues to bind or interfere with the interface, interrupting NetworkManager's 4-way authentication handshake.
MAC Address Randomization: Debian Bookworm / NetworkManager defaults to scanning and connecting with randomized MAC addresses. Many mobile routers / pocket hotspots (e.g. ZTE, Huawei, WebPocket) drop DHCP or reject associations from randomized MACs.

PMF (Protected Management Frames) Mismatch: The default NetworkManager GUI profile on Bookworm can enforce PMF requirements (pmf=2 / required or strict negotiation) that legacy 802.11n routers do not support, causing silent handshake timeouts that surface as "incorrect password".

Regulatory Domain (cfg80211): A mismatch between the router's broadcast regulatory country code and the Pi's Wi-Fi country code causes kernel-level rejection of bonded 20MHz/40MHz channels.

Resolution / Workaround:

Disable MAC randomization in NetworkManager: /etc/NetworkManager/conf.d/80-no-random-mac.conf:
ini
[device]
wifi.scan-rand-mac-address=no
[connection]
wifi.cloned-mac-address=preserve
Disable/mask conflicting OpenPlotter AP services when running purely in client mode:
bash
sudo systemctl stop hostapd openplotter-network openplotter-networkd
sudo systemctl disable hostapd openplotter-network openplotter-networkd
sudo systemctl mask hostapd openplotter-network openplotter-networkd
Set PMF to optional (pmf=1) in the connection keyfile: In /etc/NetworkManager/system-connections/<SSID>.nmconnection:
ini
[wifi-security]
key-mgmt=wpa-psk
psk=<PASSWORD>
pmf=1
Align Wi-Fi country code in raspi-config (do_wifi_country) with the router's broadcast domain.
Reply
#2
Turns out this was a power issue, the mac Arthur Hat power module can't provide enough power to run a pi5 with a NVMe ssd. At least not with the Geekworm board. Switching to SD card it works fine.
Reply
#3
The continuous Wi-Fi password prompt loop and missing networks on your Raspberry Pi 5 under OpenPlotter v4 are caused by a combination of Debian Bookworm’s NetworkManager configuration conflicts and a known physical power limitation with the MacArthur HAT. According to the troubleshooting documentation for OpenPlotter v4 client connection issues, Debian Bookworm enforces MAC address randomization and strict Protected Management Frames (PMF) by default, which causes mobile hotspots to drop the authentication handshake and mimic an incorrect password error. Additionally, as validated by user experiences on the OpenMarine support forums, the Pi 5's wireless radio initialization creates a sudden power spike that the MacArthur HAT power module cannot sustain if you are simultaneously running a high-draw NVMe SSD board (such as Geekworm), leading to a silent brownout of the Wi-Fi chip. To resolve this, you must explicitly disable MAC randomization and set PMF to optional (pmf=1) in your /etc/NetworkManager/ configuration, or switch from an NVMe SSD back to a standard SD card to lower the system's power footprint.
Skipper Don

AtMyBoat.com
skipperdon@atmyboat.com

I watched enough Gilligan’s Island as a kid to explain this
 
Reply
#4
(2026-11-02, 07:06 PM)SkipperDon Wrote: The continuous Wi-Fi password prompt loop and missing networks on your Raspberry Pi 5 under OpenPlotter v4 are caused by a combination of Debian Bookworm’s NetworkManager configuration conflicts and a known physical power limitation with the MacArthur HAT. According to the troubleshooting documentation for OpenPlotter v4 client connection issues, Debian Bookworm enforces MAC address randomization and strict Protected Management Frames (PMF) by default, which causes mobile hotspots to drop the authentication handshake and mimic an incorrect password error. Additionally, as validated by user experiences on the OpenMarine support forums, the Pi 5's wireless radio initialization creates a sudden power spike that the MacArthur HAT power module cannot sustain if you are simultaneously running a high-draw NVMe SSD board (such as Geekworm), leading to a silent brownout of the Wi-Fi chip. To resolve this, you must explicitly disable MAC randomization and set PMF to optional (pmf=1) in your /etc/NetworkManager/ configuration, or switch from an NVMe SSD back to a standard SD card to lower the system's power footprint.

Thank you so pretty much as I described.  I hope that others find this post and don't waste as much time as i did trying to get this to work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)