From bdaab55edfc87cd583baf898aa492b8646707377 Mon Sep 17 00:00:00 2001 From: "Robin E. R. Davies" Date: Mon, 18 Aug 2025 07:41:13 -0400 Subject: [PATCH] Add group/pairwise/proto settings to Hotspot connection. --- src/HotspotManager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/HotspotManager.cpp b/src/HotspotManager.cpp index 8dbb6fe..55b768b 100644 --- a/src/HotspotManager.cpp +++ b/src/HotspotManager.cpp @@ -889,6 +889,12 @@ void HotspotManagerImpl::StartHotspot() wirelessSecurity["key-mgmt"] = sdbus::Variant("wpa-psk"); wirelessSecurity["psk"] = sdbus::Variant(wifiConfigSettings.password_); + // required by Ubuntu 25.04 + wirelessSecurity["group"] = sdbus::Variant("ccmp"); + wirelessSecurity["pairwise"] = sdbus::Variant("ccmp"); + wirelessSecurity["proto"] = sdbus::Variant("rsn"); + + // IPv4 shared method: NM will configure NAT and DHCP; static address is fine. settings["ipv4"]["method"] = sdbus::Variant("shared"); // For IPv6, use ignore to avoid advertising IPv6 if not needed; shared IPv6 is less common and can cause issues.