Skip to Content.
Sympa Menu

geteduroam - Re: letswifi-portal modifications

Subject: An open discussion list for topics related to the geteduroam service

List archive

Chronological Thread  
  • From: Christian Mittring <christian.mittring AT rz.uni-augsburg.de>
  • To: Jørn Åne de Jong <jornane.dejong AT surf.nl>, geteduroam AT lists.geant.org
  • Subject: Re: letswifi-portal modifications
  • Date: Wed, 4 Jun 2025 11:08:05 +0200

Hello Jørn,


> > Oh that's strange. We just tried and with the up-to-date portal from
> > the beta branch and the up-to-date app on Google Play it works.
> > I don't have an answer to this, we tested it and it works for us..
> >
> > Can you try downloading an eap-config from the portal, inspecting it and
> > try loading it in the Android app?
>
>
> I think we found the issue with eap-config.

Android is working now, we had some issues with our test-device and Andorid 10 ;)

Thanks

Christian Mittring

Universität Augsburg
Rechenzentrum
86135 Augsburg

Telefon 0821/598-2042
christian.mittring AT rz.uni-augsburg.de
https://www.rz.uni-augsburg.de

Am 03.06.2025 um 15:21 schrieb Christian Mittring:
Hello Jørn,


> Oh that's strange.  We just tried and with the up-to-date portal from
> the beta branch and the up-to-date app on Google Play it works.
> I don't have an answer to this, we tested it and it works for us..
>
> Can you try downloading an eap-config from the portal, inspecting it and
> try loading it in the Android app?


I think we found the issue with eap-config.

We have mutliple DisplayName and Description Fields in the providerconfig, but on Android this is no ElementList, see: https:// github.com/geteduroam/android-app/blob/main/android/app/src/main/java/ app/eduroam/geteduroam/config/model/ProviderInfo.kt

If we change the Webportal config to only one display_name and description in the realms config, Android is impoting the file.

But Networkconnection seems not to work.


> I asked our Linux developer. He says it's a bug in the NetworkManager
> UI.  The underlying NetworkManager has no problem with an empty identity
> value, only the UI complains about it.  We'll solve it server-side to
> set the OuterIdentity value in the eap-config.

I modified letswifi-portal/src/letswifi/credential/ certificatecredential.php to return OuterIdentity:

        public function getAnonymousIdentity(): ?string
        {
                return substr($this->credentialId,3);
        }

Now Linux is working fine.


Thanks

Christian Mittring

Universität Augsburg
Rechenzentrum
86135 Augsburg

Telefon 0821/598-2042
christian.mittring AT rz.uni-augsburg.de
https://www.rz.uni-augsburg.de

Am 02.06.2025 um 20:58 schrieb Jørn Åne de Jong:
On 02/06/2025 16:38, Christian Mittring wrote:
Hello Jørn,

 >> We also found a issue with the Android App downloaded from the Play
 >> Store. The App shows "no valid EAP Provider found".
 >> Is there a compability issue with the beta portal?
 >
 > Yes, it's fixed in https://github.com/geteduroam/letswifi-portal/ commit/
 > e437d451768064de0a230fcbfe406647abe02d91, which is already in the beta
 > branch.

We already had this fix implemented, error message is the same even if oid is removed completely.

Code from ‎"src/letswifi/format/eapconfigformat.php"
"
private function generateHS20NetworkXml( NetworkPasspoint $network ): string
         {
                 $result = '';
                 foreach ( $network->oids as $oid ) {
                         $result = ''
                                 . "\r\n\t\t\t<IEEE80211>"
                                 . "\r\n\t\t\t\t<ConsortiumOID>" . $this->e( $oid ) . '</ConsortiumOID>'
                                 . "\r\n\t\t\t</IEEE80211>";
                 }

                 return $result;
         }

"

Oh that's strange.  We just tried and with the up-to-date portal from the beta branch and the up-to-date app on Google Play it works.
I don't have an answer to this, we tested it and it works for us..

Can you try downloading an eap-config from the portal, inspecting it and try loading it in the Android app?


 >> With Ubuntu there seems to be a a missing value in the NetworkManager.
 >> The "Identity filed" is empty and highligted red. If certificate CN is
 >> inserted into the Identity field connection is working fine.
 >
 > Interesting, I'll ask our Linux dev.  If you're on the eduroam Slack,
 > you can join #letswifi and #letswifi-portal there.  If he confirms it
 > we'll create a Github issue, or you can create one yourself.

I will do some more tests with Ubuntu tomorrow and ask the college working on our radius server.
If it is not related to Radius I will open a Github issue.

I asked our Linux developer. He says it's a bug in the NetworkManager UI.  The underlying NetworkManager has no problem with an empty identity value, only the UI complains about it.  We'll solve it server-side to set the OuterIdentity value in the eap-config.







Archive powered by MHonArc 2.6.24.

Top of Page