| Newsgroups |
dev.linux.lists.connman |
| Message-ID |
<[email protected]> |
Hi,
I just started to test Ugoos X5M Pro with Amlogic W2 chip.
With this chip it is again not possible to connect to Wifi.
There does no info exist about this chip, only this source:
https://github.com/CoreELEC/w2-aml
Only by adding the revert of the connman commit and disable CONFIG_SAE it is working again.
I also tried without the revert and using wpa_supplicant defconfig it does not work.
Any idea how to find the reason?
With reverted commit and disabled CONFIG_SAE I get connected with this information:
/net/connman/service/wifi_f0960256bbc4_43492d30303330313536_managed_psk
Type = wifi
Security = [ psk ]
State = ready
Strength = 99
Favorite = True
Immutable = False
AutoConnect = True
Name = CI-0030156
Ethernet = [ Method=auto, Interface=wlan0, Address=F0:96:02:56:BB:C4, MTU=1500 ]
IPv4 = [ Method=dhcp, Address=192.168.2.221, Netmask=255.255.255.0, Gateway=192.168.2.1 ]
IPv4.Configuration = [ Method=dhcp ]
IPv6 = [ ]
IPv6.Configuration = [ Method=off ]
Nameservers = [ 8.8.8.8, 8.8.4.4 ]
Nameservers.Configuration = [ ]
Timeservers = [ 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org ]
Timeservers.Configuration = [ ]
Domains = [ lan ]
Domains.Configuration = [ ]
Proxy = [ ]
Proxy.Configuration = [ ]
mDNS = False
mDNS.Configuration = False
Provider = [ ]
With reverted commit and enabled CONFIG_SAE, no connection:
/net/connman/service/wifi_f0960256bbc4_43492d30303330313536_managed_psk
Type = wifi
Security = [ psk ]
State = failure
Error = invalid-key
Strength = 91
Favorite = True
Immutable = False
AutoConnect = True
Name = CI-0030156
Ethernet = [ Method=auto, Interface=wlan0, Address=F0:96:02:56:BB:C4, MTU=1500 ]
IPv4 = [ ]
IPv4.Configuration = [ Method=dhcp ]
IPv6 = [ ]
IPv6.Configuration = [ Method=off ]
Nameservers = [ ]
Nameservers.Configuration = [ ]
Timeservers = [ ]
Timeservers.Configuration = [ ]
Domains = [ ]
Domains.Configuration = [ ]
Proxy = [ ]
Proxy.Configuration = [ ]
mDNS = False
mDNS.Configuration = False
Provider = [ ]
Thank you for your help!
Portisch
Am Donnerstag, 21. August 2025 um 10:01:59 MESZ hat Dembianny Sven (BSH GDE-EDSD7) <[email protected]> Folgendes geschrieben:
That's good news.
> -----Ursprüngliche Nachricht-----
> Von: [email protected] <[email protected]>
> Gesendet: Donnerstag, 21. August 2025 08:27
> An: [email protected]; Dembianny Sven (BSH GDE-EDSD7) <[email protected]>
> Betreff: Re: AW: AW: v1.45, broken wifi connect
>
> Thx,
>
> indeed, this do solve the issue:
> https://github.com/CoreELEC/Core
> ELEC%2Fcommit%2Fa8f96d2c4a97bd2afdd49c5aac6d14cd6efb8494&data=05%7C02%7Csven.dembianny
> %40bshg.com%7C4da5633dff8a4053421a08dde07bc07e%7C0ae51e1907c84e4bbb6d648ee58410f4%7C
> 0%7C0%7C638913544287997489%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiI
> wLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=GAlOx
> 3ugq0WWVUMwUXE%2F1AqZelOQvRd8FndGqYwiMfM%3D&reserved=0
> Maybe connman should be include a switch if this option is enabled or not?
No idea, CONFIG_SAE is activated per default by hostap, if mainline defconfig is used, or a self-maintained
one is updated with wpa_supplicant updates there should be no issue:
https://w1.fi/cgit/hostap/tree/wpa_supplicant/defconfig#n258
Best regards, Sven
>
> I tried also to replace wpa_supplicant by iwd like LibreELEC was doing in past.
> But the results are like the Wifi networks are not visible at all anymore.
> If visible connection is not possible.
>
> So we will stay with wpa_supplicant.
>
> Thanks for your help!
> Ticket can then be closed now I think.
>
> Portisch
>
>
>
>
>
>
> Am Mittwoch, 20. August 2025 um 15:44:38 MESZ hat Dembianny Sven (BSH GDE-EDSD7)
> <[email protected]> Folgendes geschrieben:
>
>
>
>
>
> Hi Portisch,
>
> maybe adding WPA3 support for wpa_supplicant can help us.
> Can you give it a try and add
>
> CONFIG_SAE=y
>
> in
>
> https://github.com/CoreELEC/Core
> ELEC%2Fblob%2Fcoreelec-
> 22%2Fpackages%2Fnetwork%2Fwpa_supplicant%2Fconfig%2Fmakefile.config&data=05%7C02%7Csven.d
> embianny%40bshg.com%7C4da5633dff8a4053421a08dde07bc07e%7C0ae51e1907c84e4bbb6d648ee58
> 410f4%7C0%7C0%7C638913544288023231%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRyd
> WUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sd
> ata=HSQurgEaI8o%2Fvx5D5IoEQylng796X1TcA181TV9qf3A%3D&reserved=0
>
> Best regards, Sven
>
> > -----Ursprüngliche Nachricht-----
> > Von: [email protected] <[email protected]>
> > Gesendet: Mittwoch, 20. August 2025 15:21
> > An: [email protected]; Dembianny Sven (BSH GDE-EDSD7)
> > <[email protected]>
> > Betreff: Re: AW: v1.45, broken wifi connect
> >
> > Hi,
> >
> > server is OpenWRT with: SSID: CI-0030156, Encryption: mixed WPA2/WPA3
> > PSK, SAE (CCMP) Client Khadas VIM3: AP6398S
> >
> > Same behavior with X96 M300, RTL8822CS, vid: 0x024C, pid: 0xC822
> >
> > With commit included:
> > --------------------------------------
> > VIM3:~ # connmanctl
> > connmanctl> services
> > *AO Wired ethernet_0200001e1f01_cable
> > *A CI-0030156 wifi_6c21a29b2882_43492d30303330313536_managed_psk
> > connmanctl> connect wifi_6c21a29b2882_43492d30303330313536_managed_psk
> > Error
> > /net/connman/service/wifi_6c21a29b2882_43492d30303330313536_managed_ps
> > k: Not registered
> > connmanctl> state
> > State = online
> > OfflineMode = False
> > SessionMode = False
> > connmanctl> disconnect
> > connmanctl> wifi_6c21a29b2882_43492d30303330313536_managed_psk
> > Error
> > /net/connman/service/wifi_6c21a29b2882_43492d30303330313536_managed_ps
> > k: Not connected
> > --------------------------------------
> >
> > With commit reverted:
> > --------------------------------------
> > VIM3:~ # connmanctl
> > connmanctl> services
> > *AO Wired ethernet_0200001e1f01_cable
> > *AR CI-0030156 wifi_6c21a29b2882_43492d30303330313536_managed_psk
> > connmanctl> connect wifi_6c21a29b2882_43492d30303330313536_managed_psk
> > Error
> > /net/connman/service/wifi_6c21a29b2882_43492d30303330313536_managed_ps
> > k: Already connected
> > connmanctl> disconnect
> > connmanctl> wifi_6c21a29b2882_43492d30303330313536_managed_psk
> > Disconnected wifi_6c21a29b2882_43492d30303330313536_managed_psk
> > connmanctl> connect wifi_6c21a29b2882_43492d30303330313536_managed_psk
> > Connected wifi_6c21a29b2882_43492d30303330313536_managed_psk
> > connmanctl> state
> > State = online
> > OfflineMode = False
> > SessionMode = False
> > --------------------------------------
> >
> > Wifi is working again.
> > We got multiple reports from users haveing same issue:
> > https://disc/
> > ourse.coreelec.org%2Ft%2Famlo&data=05%7C02%7Csven.dembianny%40bshg.com
> > %7C4da5633dff8a4053421a08dde07bc07e%7C0ae51e1907c84e4bbb6d648ee58410f4
> > %7C0%7C0%7C638913544288040178%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGki
> > OnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ
> > %3D%3D%7C0%7C%7C%7C&sdata=m%2BtmZYRdI8bMJxhT2%2FU3j5XvwmBZfjqsnZ%2BfOK
> > gIeb0%3D&reserved=0
> > gic-no-
> > discussion%2F46663%2F2296&data=05%7C02%7Csven.dembianny%40bshg.com%7C3
> > cce9ee05e2049040
> > 15108dddfec6794%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C638912928
> > 619230523%7CUn
> > known%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOi
> > JXaW4zMiIsIkFOIjoi
> > TWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=EjK%2FrOlN1nhCNVmlmxzbpeYw
> > cyRt6tqLJt9VS0y
> > uJpc%3D&reserved=0
> > Then we reverted this commit and all is good again.
> >
> > Thank you very much!
> > Portisch
> >
> >
> >
> >
> > Am Mittwoch, 20. August 2025 um 13:33:40 MESZ hat Dembianny Sven (BSH
> > GDE-EDSD7) <[email protected]> Folgendes geschrieben:
> >
> >
> >
> >
> >
> > Hi Portisch,
> > >
> > > Hi,
> > >
> > > current connman is broken and can not connect to encrypted networks.
> > >
> > do you have more info about your setup?
> >
> > We can't reproduce the issue with 43455 chip.
> > Which chip do you use, is it WPA3 capable?
> >
> > What AKM is configured on your AP?
> > Which wpa_supplicant version?
> > Is SAE activated for wpa_supplicant?
> > >
> > > Revert of this commit do solve the issue.
> > >
> > > Error log:
> > > connmanctl> connect
> > > connmanctl> wifi_485c2cd4ca36_43492d30303330313536_managed_psk
> > > connmanctl> Error
> > > connmanctl> /net/connman/service/wifi_485c2cd4ca36_43492d30303330313
> > > connmanctl> 53
> > > connmanctl> 6_
> > > connmanctl> managed_psk: Input/output error disconnect
> > > connmanctl> wifi_485c2cd4ca36_43492d30303330313536_managed_psk Error
> > > connmanctl> /net/connman/service/wifi_485c2cd4ca36_43492d30303330313
> > > connmanctl> 53
> > > connmanctl> 6_
> > > connmanctl> managed_psk: Not connected
> > >
> > >
> > > With 1.44 there is no such error:
> > > connmanctl> disconnect
> > > connmanctl> wifi_485c2cd4ca36_43492d30303330313536_managed_psk
> > > connmanctl> Disconnected
> > > connmanctl> wifi_485c2cd4ca36_43492d30303330313536_managed_psk
> > > connmanctl> connmanctl> connect
> > > connmanctl> wifi_485c2cd4ca36_43492d30303330313536_managed_psk
> > > connmanctl> Connected
>
> > > connmanctl> wifi_485c2cd4ca36_43492d30303330313536_managed_psk
> >
> > >
> > > Thanks,
> > > Portisch
> > > Team CoreELEC
> >
> > >
> > Best regards, Sven