Setting up an eduroam connection using UPC (Universitat Politècnica de Catalunya) instructions was not easy to me. Particularly the dbus
part fails silently.
This was tested on Linux Mint 21.1
- Have linux and python installed
- Download python script from https://cat.eduroam.org/ at
SOME_PATH
sudo chmod +x SOME_PATH/eduroam_script.py
- Install
dbus
sudo apt install build-essential libdbus-glib-1-dev libgirepository1.0-dev
pip install dbus-python
- Run
python SOME_PATH/eduroam_script.py
and complete the steps. - Try to connect to
eduroam
signal. You should be prompted for your credentials again. - You are connected now.
For anyone using NixOS, this worked:
nix-shell -p python3 python312Packages.dbus-python --run 'python eduroam-linux-U-UPdC-General_Profile.py'
Not declarative, I know, but it works.