Skip to Content.
Sympa Menu

cat-users - [[cat-users]] Fwd: eduroam CAT tool bug

cat-users AT lists.geant.org

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

List archive

[[cat-users]] Fwd: eduroam CAT tool bug


Chronological Thread 
  • From: Robert Grätz <graetzrx AT cms.hu-berlin.de>
  • To: eduroam CAT Feedback <cat-users AT lists.geant.org>
  • Subject: [[cat-users]] Fwd: eduroam CAT tool bug
  • Date: Tue, 3 Mar 2020 09:16:12 +0100
  • Autocrypt: addr=graetzrx AT cms.hu-berlin.de; keydata= mQINBFs7XE0BEADtV5aUazMSh0QYQLGpB9bziERoTNp1f6WsLH+zjhf4UzVAwIjNxi+U1YrG armCr+H+Pt8xHhn3WulmHbhFZCZ8Lx4Tbm4u6vrzQIEiAAUVHlNdLNhpTNFiYGdlFCcpUtkf bVNekG561a6qWFjO624zNY4ED94782sQ3/pkd+CTi7Vb9ukpRnOfPjn+S9GpyQpi2xeuLtcT OM1a24xLVm5jQnXzAVo0xVSiYaGwZnm70Wq7qHOPamvYT8amnTrV0h5MYNNsrzgCztIljMB5 HS/STZGhjfegSOLRzS222DqcyzqC6gc9pIlpjV4HZm2L1omghFDPUkd4GdCf7woVZEeWsctf K10pYxGY0dLG+gnWf+zRzIUMmVSgMVHvcS/nZfZrH6/FxOXKrNipi0C/FyfDY8+hxNc+4n49 /5vJwszvbr54v5Lw5QSa4MTPxhl/M8y7U+BWj5WbNKPQqk7CkW4zJeXfIoJMmtlf9iocg+3d NHnVF0YIISSOyMh91oGh/l8fu7/itmlHUpCAAopVHmggNK2lPm6nSf7Cr+MpMtlMX/SHN9xT lhnagda616LJTTspbRGEoANpCqvQtIN/pM7GuemiC/zPdhQ9tLCv0fD6whB3ZrZwcIrZ63Wi PviDSK2QqGXgMlRfn889HCt4qKP7X1aTWrVOLjOiPdZegECErQARAQABtCpSb2JlcnQgR3LD pHR6IDxyb2JlcnQuZ3JhZXR6QGh1LWJlcmxpbi5kZT6JAj0EEwEKACcFA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IHkpLjNq6pg14PDvC9Sh/4R/ sOAYvYqHfokwls5rwx8=
  • Ironport-sdr: GB2eWTsTlAlfgb3V+UCF+pj9xst8cKvu1nnSYq1dzGVYAkfMxTv8bfLtpnxYQfXqoCOdDZKanw +PbA0+L+QcBQ==
  • Openpgp: preference=signencrypt

Hello,

the scripts works. But you shouldn't run the script with sudo permission!

The script write the current user to the permission attribute
(permission=user:$USER). So if he run the script with sudo, the current
user is root and the script save permission=user:root.

Best regards
Robert


Am 02.03.20 um 19:08 schrieb Bernd Hanitzsch:
> Hello
>
> I did help someone to get the eduroam running under Linux (current
> ubuntu 18.04.). He did download the CAT for Uni Heidelberg and did the
> documented install:
>
> 1. $ sudo ./eduroam-linux-Universitat_Heidelberg-Standard_ab_2019.py
>
> -> entered all needed details correctly
>
> 2. Then he tried to connect to eduroam. When selecting it in
> Networkmanager, he was asked again for credentials and answered them
> correctly. Networkmanager tried to connect and repeated question for
> password a few times but was not able to connect...
>
> 3. Repeated the install and tried a few other things, nothing lead to a
> solution!!!
>
> 4. Deep investigation did show up following:
>
> root@lx:/etc/NetworkManager/system-connections# ls -al
> insgesamt 32
> drwxr-xr-x 2 root root 4096 Mär  1 13:25  ./
> drwxr-xr-x 7 root root 4096 Dez 27 20:04  ../
> -rw------- 1 root root  563 Mär  1 13:10  eduroam
> -rw------- 1 root root  408 Mär  1 13:25 'eduroam 1'
> -rw------- 1 root root  417 Jan 23 20:01  xyz
> -rw------- 1 root root  316 Jan  5 14:47 abc
>
> -> Above we are in the place where all the system connections from
> NetworkManager are stored. Interestingly we see a second eduroam config
> ("eduroam 1"). This is the one which was created from NetworkManager in
> step 2 as described above and this is the problem! It should have used
> the one created by CAT (just "eduroam"). But id did not. As to see
> below, there is a permission line ("permissions=user:root:;") in it,
> which is just wrong in this case!!! Either it shall be the proper user
> instead root, or just be left empty after the equal sign!!!
>
>  root@lx:/etc/NetworkManager/system-connections# diff eduroam eduroam\ 1
> 2,3c2,3
> < id=eduroam
> < uuid=66ccefa4-4211-4bb1-9e18-1b428a219214
> ---
>> id=eduroam 1
>> uuid=5d62fafa-a648-452b-a96e-0feab7c1a727
> 5c5
> < permissions=user:root:;
> ---
>> permissions=
> 7a8
>> mac-address=aa:bb:cc:...
> 8a10
>> mode=infrastructure
> 12d13
> < group=ccmp;tkip;
> 14,15d14
> < pairwise=ccmp;
> < proto=rsn;
> 18,20d16
>  ...
>
> To clean it up and get it working:
> 1. $ sudo rm "/etc/NetworkManager/system-connections/eduroam 1"
> 2. $ sudo vi "/etc/NetworkManager/system-connections/eduroam"
> -> and modify the "permissions=user:root:;" to "permissions="
> 3. $ sudo systemctl restart NetworkManager
>
> And now it shall be working just with any additional steps needed! I
> would strongly suggest, that someone shall correct the CAT
> (eduroam-linux-Universitat_Heidelberg-Standard_ab_2019.py). If you need
> help, just contact me.
>
> Kind regards
>
> Bernd Hanitzsch
> Oerties GmbH
> To unsubscribe, send this message:
> mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users
> Or use the following link:
> https://lists.geant.org/sympa/sigrequest/cat-users



Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.19.

Top of Page