cosmic-applets icon indicating copy to clipboard operation
cosmic-applets copied to clipboard

feat(network): support for eap peap networks

Open wash2 opened this issue 9 months ago • 5 comments

follow up for https://github.com/pop-os/cosmic-applets/pull/232. This would fix https://github.com/pop-os/cosmic-applets/issues/225. I need to find a network to test this on, but it should work.

wash2 avatar Mar 10 '25 16:03 wash2

Should also be applied to https://github.com/pop-os/cosmic-settings-subscriptions/tree/master/src/network_manager

mmstick avatar Mar 10 '25 16:03 mmstick

I'm not seeing any prompts for username/password after installing this. I have a freeradius server set up on a darp9, and am making an AP with hostapd. Since this is the first time I've ever done this, the possibility that I screwed something up on the server end is reasonably high, but I'm just not quite sure what's going on or what I should be seeing.

Side note: main is now ahead of this branch, so I had to manually install this version with sudo apt install cosmic-applets="0.1.0~1741625331~24.04~0224455" after adding the branch.

leviport avatar Mar 17 '25 21:03 leviport

I'm not seeing any prompts for username/password

You don't see any prompts for just the AP that you made, or everything? I guess I'll add some more log statements so that it could be easier to tell what has gone wrong.

wash2 avatar Mar 17 '25 23:03 wash2

Sounds good. I will also do some comparison with other DE's, just so I see how they behave. I have very little prior experience with EAP/PEAP, so this is pretty new to me.

leviport avatar Mar 18 '25 13:03 leviport

I was able to set up a EAP/PEAP network for testing, but when I attempt to connect from the cosmic wifi applet it does not prompt me for an identity and password. The only way I have been able to get it to connect is through the Add Network option in Network Settings.

I saw these messages in journalctl when I tried to connect:

Mar 18 15:06:28 pop-os dbus-broker[769]: A security policy denied :1.95 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections to org.freedesktop.NetworkManager.
Mar 18 15:06:28 pop-os NetworkManager[770]: <info>  [1742331988.3842] audit: op="connection-add-activate" pid=1765 uid=1000 result="fail" reason="Failed to determine AP security information"
Mar 18 15:06:28 pop-os dbus-broker[769]: A security policy denied :1.95 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections to org.freedesktop.NetworkManager.
Mar 18 15:06:28 pop-os dbus-broker[769]: A security policy denied :1.95 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections to org.freedesktop.NetworkManager.

jacobktm avatar Mar 18 '25 21:03 jacobktm

This should work now

wash2 avatar Apr 18 '25 15:04 wash2