RE: Connection to a WPA2 Wi-Fi router fails
"Dembianny Sven (BSH GDE-EDSD7)" <[email protected]>
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <VI0PR10MB89081958F1C9D72759AEEC8DF4A72@VI0PR10MB8908.EURPRD10.PROD.OUTLOOK.COM> |
Hi Waldemar, no idea at the moment, but this looks like a different issue, potentially an initialization-related topic. Best regards, Sven > -----Original Message----- > From: Waldemar Brodkorb <[email protected]> > Sent: Samstag, 15. August 2026 08:13 > To: Dembianny Sven (BSH GDE-EDSD7) <[email protected]> > Cc: Waldemar Brodkorb <[email protected]>; Michael Nazzareno Trimarchi > <[email protected]>; François Galea <[email protected]>; [email protected] > Subject: Re: Connection to a WPA2 Wi-Fi router fails > > Hi Sven, > > but without even the possibility to scan I am not able to reproduce the initial bug anymore. Do you > have an idea why connmanctl scan wifi fails for me? > > I use Buildroot master (tried arm and aarch64), enable the wifi firmware and connman. After booting > with the SD card I stop connmand /etc/init.d/S45connman stop modprobe brcmfmac > /etc/init.d/S45connman start connmanctl enable wifi connmanctl scan wifi > > Error /net/connman/technology/wifi: Not supported > > When I add -d for debug information before I start connmand, I see in the log that wlan0 is recognized: > Jan 1 00:01:11 buildroot daemon.info connmand[232]: Adding interface eth0 [ ethernet ] Jan 1 > 00:01:11 buildroot daemon.debug connmand[232]: src/technology.c:technology_find() type 2 Jan 1 > 00:01:11 buildroot daemon.debug connmand[232]: src/rtnl.c:rtnl_message() NEWLINK len 1476 type > 16 flags 0x0002 seq 0 pid 232 Jan 1 00:01:11 buildroot daemon.debug connmand[232]: > src/ipconfig.c:__connman_ipconfig_newlink() index 3 Jan 1 00:01:11 buildroot daemon.info > connmand[232]: wlan0 {create} index 3 type 1 <ETHER> Jan 1 00:01:11 buildroot daemon.info > connmand[232]: wlan0 {update} flags 4098 <DOWN> Jan 1 00:01:11 buildroot daemon.info > connmand[232]: wlan0 {newlink} index 3 address E4:5F:01:16:5A:26 mtu 1500 Jan 1 00:01:11 buildroot > daemon.info connmand[232]: wlan0 {newlink} index 3 operstate 2 <DOWN> Jan 1 00:01:11 buildroot > daemon.debug connmand[232]: src/detect.c:detect_newlink() type 1 index 3 Jan 1 00:01:11 buildroot > daemon.debug connmand[232]: src/device.c:connman_device_create() node e45f01165a26 type 2 Jan > 1 00:01:11 buildroot daemon.debug connmand[232]: src/device.c:connman_device_create() device > 0x5599d3a8f0 Jan 1 00:01:11 buildroot daemon.debug connmand[232]: > src/device.c:connman_device_set_string() device 0x5599d3a8f0 key Address value E4:5F:01:16:5A:26 > Jan 1 00:01:11 buildroot daemon.debug connmand[232]: src/device.c:connman_device_register() > device 0x5599d3a8f0 name Wireless Jan 1 00:01:11 buildroot daemon.info connmand[232]: Adding > interface wlan0 [ wifi ] Jan 1 00:01:11 buildroot daemon.debug connmand[232]: > src/technology.c:technology_find() type 3 > > > Any idea? > > best regards > Waldemar > > Dembianny Sven (BSH GDE-EDSD7) wrote, > > > Hi Waldemar, > > > > yes, that seems reasonable. We need additional information to better understand what is happening. > > Could you please provide a wpa_supplicant log with debug logging enabled? > > > > Best regards, Sven > > > -----Original Message----- > > > From: Waldemar Brodkorb <[email protected]> > > > Sent: Dienstag, 11. August 2026 19:30 > > > To: Dembianny Sven (BSH GDE-EDSD7) <[email protected]> > > > Cc: Michael Nazzareno Trimarchi <[email protected]>; > > > François Galea <[email protected]>; [email protected]; > > > [email protected] > > > Subject: Re: Connection to a WPA2 Wi-Fi router fails > > > > > > Hi Sven, > > > Dembianny Sven (BSH GDE-EDSD7) wrote, > > > > > > > Hi Waldemar, > > > > > > > > > > Hi Sven, > > > > > Dembianny Sven (BSH GDE-EDSD7) wrote, > > > > > > > > > > > Hi Michael, > > > > > > > > > > > > I don't think so, e.g., if AP does not support SAE but repeater does, roaming will fail. > > > > > > This will also break certification tests. > > > > > > > > > > > > @ François do you have more info about your setup, e.g. MFP > > > > > > setting on AP/wpa_supplicant > > > > > config/WPA-PSK-SHA256 instead of WPA-PSK? > > > > > > > > > > Sorry for the late reply. Francois seems not to answered your > > > > > question and I see no fixes for this problem in GIT master either. > > > > > > > > > > My AP is a standard Vodafone AP with WPA2. > > > > > How can I give you better information about the details of this AP? > > > > What model is being used? > > > > > > Vodafone Wifi 6. > > > It is this one: > > > https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fww > > > w.vodafone.de%2Fdownload&data=05%7C02%7Csven.dembianny%40bshg.com%7C > > > 28ff4dffa49c488a7b4e08defa9441af%7C0ae51e1907c84e4bbb6d648ee58410f4% > > > 7C0%7C0%7C639223711836903590%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGk > > > iOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjo > > > yfQ%3D%3D%7C0%7C%7C%7C&sdata=%2BG4XESNZmUWwrlifdv2Xda4fX8gZbVaDGCKfF > > > 09Bu88%3D&reserved=0 > > > area%2FCGA6444VF-DMS3-CTC-25- > > > 593_v2.0_German_public_20210511.pdf&data=05%7C02%7Csven.dembianny%40 > > > bshg.com%7C59663c > > > 7c2d2d49ac217508def7ce2d13%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C > > > 0%7C63922066219 > > > 4440574%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAu > > > MDAwMCIsIlAiOiJ > > > XaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=ycBjQxm > > > EPcxuLgXBXIMrjCg > > > OsU9mHQ%2B%2B%2B%2BOcVwvkfTg%3D&reserved=0 > > > > > > > It is possible that MFP is additionally configured as optional. > > > > Could you please check the AP settings > > > or the beacon frames? > > > > > > It seems not. > > > See: > > > sudo iw dev wlan0 scan | grep -A20 -B2 'Vodafone-C30C' > > > last seen: 84 ms ago > > > Information elements from Probe Response frame: > > > SSID: Vodafone-C30C > > > Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 > > > DS Parameter set: channel 11 > > > Country: DE Environment: Indoor/Outdoor > > > Channels [1 - 13] @ 20 dBm > > > TPC report: TX power: 18 dBm > > > ERP: Barker_Preamble_Mode > > > Extended supported rates: 6.0 9.0 12.0 48.0 > > > RSN: * Version: 1 > > > * Group cipher: CCMP > > > * Pairwise ciphers: CCMP > > > * Authentication suites: PSK > > > * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c) > > > BSS Load: > > > * station count: 2 > > > * channel utilisation: 31/255 > > > * available admission capacity: 0 [*32us] > > > RM enabled capabilities: > > > Capabilities: 0x72 0x00 0x00 0x00 0x00 > > > Neighbor Report > > > Beacon Passive Measurement > > > -- > > > signal: -72.00 dBm > > > last seen: 3208 ms ago > > > SSID: Vodafone-C30C > > > Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 > > > TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0 > > > Country: DE Environment: Indoor/Outdoor > > > Channels [36 - 64] @ 23 dBm > > > Channels [100 - 140] @ 30 dBm > > > Power constraint: 0 dB > > > TPC report: TX power: 23 dBm > > > RSN: * Version: 1 > > > * Group cipher: CCMP > > > * Pairwise ciphers: CCMP > > > * Authentication suites: PSK > > > * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c) > > > BSS Load: > > > * station count: 6 > > > * channel utilisation: 6/255 > > > * available admission capacity: 0 [*32us] > > > RM enabled capabilities: > > > Capabilities: 0x72 0x00 0x00 0x00 0x00 > > > Neighbor Report > > > Beacon Passive Measurement > > > > > > > > > > Also, what firmware version is running on the Raspberry Pi 4? The > > > > firmware files should be located > > > under: > > > > /lib/firmware/ > > > > > > That is the dmesg output after loading the Wifi driver in Buildroot: > > > [ 249.369934] brcmfmac: F1 signature read @0x18000000=0x15264345 [ 249.373427] brcmfmac: > > > brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 249.382449] > usbcore: > > > registered new interface driver brcmfmac [ 249.618723] brcmfmac: > > > brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ > > > 249.626771] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 > > > wl0: Aug 29 2023 01:47:08 version 7.45.265 (28bca26 CY) FWID > > > 01-b677b91b > > > > > > But at the moment I am fighting with connmanctl, it seems I cannot scan wifi anymore: > > > # connmanctl scan wifi > > > Error /net/connman/technology/wifi: Not supported # connmanctl > > > enable wifi wifi is already enabled # connmanctl scan wifi Error > > > /net/connman/technology/wifi: Not supported # connmanctl technologies > /net/connman/technology/ethernet > > > Name = Wired > > > Type = ethernet > > > Powered = True > > > Connected = False > > > Tethering = False > > > TetheringFreq = 2412 > > > /net/connman/technology/wifi > > > Name = WiFi > > > Type = wifi > > > Powered = True > > > Connected = False > > > Tethering = False > > > TetheringFreq = 2412 > > > > > > I can scan wifi with iw on the RPI4. > > > > > > best regards > > > Waldemar > > > > >