GNOME Network Settings don't show network configured with NetworkManager

I used the eduroam CAT python script from my university to configure the network, but it doesn’t show up under Settings->WiFi->Known WiFi Networks and when I try connecting to it, it wants to be configured.
I used the script with Fedora Systems before, even with Fedora 34 w/o any problems. The script doesn’t show any problems even when adding debugging flags.

Now I found that there is actually a eduroam.nmconnection file in /etc/NetworkManager/system-connections together with other networks which do show up in the GUI. So the question is why this one doesn’t show up in the GUI and what I can do about that.

Try to be more specific:

rpm -q -a NetworkManager\* | sort
PAGER= nmcli connection show id eduroam
1 Like
$ rpm -q -a NetworkManager\* | sort
PAGER= nmcli connection show id eduroam
NetworkManager-1.30.4-1.fc34.x86_64
NetworkManager-adsl-1.30.4-1.fc34.x86_64
NetworkManager-bluetooth-1.30.4-1.fc34.x86_64
NetworkManager-config-connectivity-fedora-1.30.4-1.fc34.noarch
NetworkManager-libnm-1.30.4-1.fc34.x86_64
NetworkManager-openconnect-1.2.6-6.fc34.x86_64
NetworkManager-openconnect-gnome-1.2.6-6.fc34.x86_64
NetworkManager-openvpn-1.8.14-1.fc34.x86_64
NetworkManager-openvpn-gnome-1.8.14-1.fc34.x86_64
NetworkManager-ppp-1.30.4-1.fc34.x86_64
NetworkManager-pptp-1.2.8-2.fc34.2.x86_64
NetworkManager-pptp-gnome-1.2.8-2.fc34.2.x86_64
NetworkManager-ssh-1.2.12-1.fc34.x86_64
NetworkManager-ssh-gnome-1.2.12-1.fc34.x86_64
NetworkManager-team-1.30.4-1.fc34.x86_64
NetworkManager-vpnc-1.2.6-6.fc34.x86_64
NetworkManager-vpnc-gnome-1.2.6-6.fc34.x86_64
NetworkManager-wifi-1.30.4-1.fc34.x86_64
NetworkManager-wwan-1.30.4-1.fc34.x86_64
Error: eduroam - no such connection profile.
1 Like
nmcli connection reload; nmcli connection show

What is the output?

1 Like

The wifi networks are the one the GUI is also showing.

NAME                UUID                                  TYPE      DEVICE 
WLAN-474916         bffd86cf-4358-4a59-ab27-d5654eb17f5e  wifi      wlp9s0 
virbr0              3930ad11-772f-4283-8b7b-4627e71114f0  bridge    virbr0 
Nokia 6.2           b76215ea-a3ea-4f93-b6c3-8831bbae001c  wifi      --     
Wired connection 1  8ffd9cb8-3178-3812-83fe-22e86fbefa90  ethernet  -- 
1 Like
ls -l -Z /etc/NetworkManager/system-connections
1 Like
-rw-------. 1 root root system_u:object_r:NetworkManager_etc_rw_t:s0 568 Jun 25 10:04  eduroam.nmconnection
-rw-------. 1 root root system_u:object_r:NetworkManager_etc_rw_t:s0 346 Jun 25 09:24 'Nokia 6.2.nmconnection'
-rw-------. 1 root root system_u:object_r:NetworkManager_etc_rw_t:s0 358 Jun 23 21:44  WLAN-474916.nmconnection
1 Like

Post the output redacting the private parts:

sudo cat -A /etc/NetworkManager/system-connections/eduroam.nmconnection
1 Like
[connection]$
id=eduroam$
uuid=b7c343c8-7d39-462f-908c-e355ef4920c5$
type=wifi$
permissions=user:root:;$
$
[wifi]$
mac-address-blacklist=$
ssid=eduroam$
$
[wifi-security]$
group=ccmp;tkip;$
key-mgmt=wpa-eap$
pairwise=ccmp;$
proto=rsn;$
$
[802-1x]$
altsubject-matches=DNS:radius-node1.urz.uni-heidelberg.de;$
anonymous-identity=eduroamHDcat2019@uni-heidelberg.de$
ca-cert=/root/.cat_installer/ca.pem$
eap=ttls;$
identity=foo$
password=bar$
phase2-auth=mschapv2$
$
[ipv4]$
dns-search=$
method=auto$
$
[ipv6]$
addr-gen-mode=stable-privacy$
dns-search=$
method=auto$
$
[proxy]$
1 Like
sudo nmcli connection modify id eduroam connection.permissions ""
1 Like

It does show up in the GUI now. I will test if it works when I’m at university tomorrow and let you know/mark this as solved. Thanks a lot for your time already!

1 Like

It wasn’t the final solution, as it still failed connecting to eduroam, but it gave me the right idea. I seem to have used sudo to execute the script (a bad habit due to so many things needing sudo when setting up a fresh OS) which is why the file had permissions=user:root:;.
When running the Skript w/o sudo it works and has my local username in the permissions field instead of root or nothing.

Thanks a lot again!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.