Skip to Content.

cat-users - [[cat-users]] Question / Possible to use CAT installer on Linux w/o GUI

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive


[[cat-users]] Question / Possible to use CAT installer on Linux w/o GUI


Chronological Thread 
  • From: <dominic.stalder AT unibe.ch>
  • To: <cat-users AT lists.geant.org>
  • Cc: <philipp.tobler AT unibe.ch>, <michael.pfister AT unibe.ch>, <alexander.kashev AT unibe.ch>
  • Subject: [[cat-users]] Question / Possible to use CAT installer on Linux w/o GUI
  • Date: Sat, 27 Jan 2024 09:19:46 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=unibe.ch; dmarc=pass action=none header.from=unibe.ch; dkim=pass header.d=unibe.ch; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EF+sc5Mvryhk++m6mORQ2+m0gKb3H4ZRzKXS0VYuDuo=; b=H23koEwn1nGL8d/iGxlkeDHGmLbzs0rs/j351u/c8b4xzZSzEz3Kjj4CHXfkFjZRXY02Zrqt0+xU2KbESEPbeFQOyjnT/9y626SAo4KDw3q9b/+PZU6aHbsyPMKgiy9RIh4vVGJHgeoRGG5ZOrgFOmoM9iFSTM4OOI+FsuoGD24pvTelO1WzqCpefRUazxZk4Rehj0vYdbbQITJFvYwQ37IiqFcakZ1b+tsHFy0YEGJofJlD8nZbA3ggED0YFoSqQsijmw3ToAhiEun9t6jsWpRMFM+1V0+K3NQukOoXyIOQHI61jsZrc9e8g1oW/WyqrqLTliEdFi4FJifW5Oy/3g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DZpL1bkw9dZX0Xhie9cddIG1cwVnvzwMRBfJHqSf7/z/DsXsinh9tHgj1ah7UhvjmI+m3hPi4whwqQj0ZfQtIG+mCVOLS31fciz1DfOfai7/78bWCt8h6YLf1oeyXZm9MYFTQeSDrjtRRgGI0JWpjkR+SzpaIc46UK6233aq5onwaLjXl7NTqkz+39VGdJW0pfYeXI/BZfr7hkc5+d3Q6vX3YIUBTfrYgIo6UYeQvWjIWsf8ZUr8ehKhzzTnnjdKdzy2QwGndK/7m8tNL9ZUut4G81yY+LFvN9wx84/Vh9YwW0Os84c9ON/xWYDa+ZUUU6c6w2f0gkh3vzfr/nnKDQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=unibe.ch;

Dear CAT eduroam community

 

I hope I’ve chosen the correct email list, otherwise, please just let me know.

 

I am part of the network & security team, responsible for the WiFi infrastructure at the University of Bern; the AAA backend is operated by another team. Nonetheless, I also help supporting the client side from time to time. Right now we have a ticket with a phD  student, trying to setup eduroam on a CLI-only Linux distro. My Linux knowledge is above average, but far from expert level.

 

Some questions concerning the issue:

 

1. In general, is it possible to use the python CAT installer on linux in a CLI-only environment? I would know how to configure it manually with wpa_supplicant.conf, but we try to encourage our employees and students to use the CAT installer / profile instead…

 

2. I tried it on a my test client with Ubuntu 22.04.3 LTS and get the following error (sorry, the input prompts are in German, but at least the exception is in English):

 

argus@netsec-ubuntu-desktop:~/Downloads$ python3 eduroam-linux-Universitaet_Bern-EduROAM AT UniBE.py

Dieses Installationsprogramm wurde für Universitaet Bern hergestellt.

 

Mehr Informationen und Kommentare:

 

EMAIL: servicedesk AT unibe.ch

WWW: https://serviceportal.unibe.ch/sp

 

Das Installationsprogramm wurde mit Software vom GEANT Projekt erstellt.

 

-------

Dieses Installationsprogramm funktioniert nur für Anwender von Universitaet Bern in der Benutzergruppe: EduROAM@UniBE.

 

Weiter? (J/N) [J]j

Geben Sie ihre Benutzerkennung ein: dominic.stalder AT unibe.ch

Geben Sie ihr Passwort ein:

Wiederholen Sie das Passwort:

Traceback (most recent call last):

  File /home/argus/Downloads/eduroam-linux-Universitaet_Bern-EduROAM AT UniBE.py, line 1190, in <module>

    run_installer()

  File /home/argus/Downloads/eduroam-linux-Universitaet_Bern-EduROAM AT UniBE.py, line 204, in run_installer

    config_tool.add_connections(installer_data)

  File /home/argus/Downloads/eduroam-linux-Universitaet_Bern-EduROAM AT UniBE.py, line 1023, in add_connections

    self.__add_connection(ssid)

  File /home/argus/Downloads/eduroam-linux-Universitaet_Bern-EduROAM AT UniBE.py, line 1015, in __add_connection

    self.settings.AddConnection(con)

  File “/usr/lib/python3/dist-packages/dbus/proxies.py”, line 141, in __call__

    return self._connection.call_blocking(self._named_service,

  File “/usr/lib/python3/dist-packages/dbus/connection.py”, line 652, in call_blocking

    reply_message = self.send_message_with_reply_and_block(

dbus.exceptions.DBusException: org.freedesktop.NetworkManager.Settings.PermissionDenied: Insufficient privileges

 

I know there would be ways to change the permissions for the nmcli, but I don’t want our student to take any risks at this.

 

3. On GitHub I found the following change note:

 

Changes in 2.1

[FEATURE #7] introduce a Linux "bash" installer in parallel to the Python one. Disabled by default.

 

à Where can this be “enabled” and would that solve the CLI-only installation problem described above?

 

Any help would be appreciated a lot!

 

Thanks in advance, best regards and have a nice weekend

Dominic

_________________________________

Universität Bern

Abteilung Informatikdienste

 

Dominic Stalder

Network Engineer (CCIE #37166)

 

Hochschulstrasse 6

CH-3012 Bern

Tel. +41 (0)31 684 38 18

dominic.stalder AT unibe.ch

www.id.unibe.ch

_________________________________



  • [[cat-users]] Question / Possible to use CAT installer on Linux w/o GUI, dominic.stalder, 01/27/2024

Archive powered by MHonArc 2.6.24.

Top of Page