I reply to myself and ask some new questions. I've noticed this patch:
http://t32208.handhelds-moblin-connman.pdatalk.info/wifi-disable-network-in-disconnected-state-t32208.html and confirmed that that's the issue that prevents wpa_supplicant to re-authenticate (skip-disabled). My question is, why to disable the network ? What if we want to reauthenticate ? Our product is an ecg and normally it just needs to connect with one SSID and remain connected to it, we do not change the SSID. Accordingly, for us is more important to try to reconnect even if we are dropped momentarily than to try to find some other SSID to get connectivity. So, should we revert that patch to adjust to our scenario or maybe am I missing something ? Thanks :) -----Mensaje original----- De: connman [mailto:[email protected]] En nombre de Pedro Erencia Enviado el: martes, 23 de diciembre de 2014 12:42 Para: [email protected] Asunto: RV: Reauthentication after deauth message. Hello, We got some problems with connman and wpa_supplicant with a WLC and static IP. The BSS is a WPA2 PEAP-MSCHAPV2 with RADIUS. We are using connman 1.26 and wpa_supplicant 2.23. The authentication and association is ok but we receive a deauth from the AP after about 2 minutes. That’s also ok, the WLC sent it because we have not informed the WLC about our IP (the BSS does not uses DHCP). However, no that point, if we use only wpa_supplicant, it reassociates automatically without problems: wpa_supplicant.conf : ctrl_interface=/var/run/wpa_supplicant update_config=1 Here is a log of iw event –f on that case. wlan0 (phy #0): disconnected (by AP) reason: 1: Unspecified wlan0 (phy #0): scan started wlan0 (phy #0): scan finished: 2462, "" wlan0 (phy #0): auth 08:d0:9f:ec:47:c0 -> 00:08:ee:08:5f:96 status: 0: Successful [frame: b0 00 3a 01 00 08 ee 08 5f 96 08 d0 9f ec 47 c0 08 d0 9f ec 47 c0 a0 d4 00 00 02 00 00 00] wlan0: new station 08:d0:9f:ec:47:c0 wlan0 (phy #0): assoc 08:d0:9f:ec:47:c0 -> 00:08:ee:08:5f:96 status: 0: Successful [frame: 10 00 3a 01 00 08 ee 08 5f 96 08 d0 9f ec 47 c0 08 d0 9f ec 47 c0 d0 d4 31 04 00 00 02 c0 01 08 82 84 8b 0c 12 96 18 24 32 04 30 48 60 6c 2d 1a 2c 18 1b ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3d 16 0b 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00] wlan0 (phy #0): connected to 08:d0:9f:ec:47:c0 So, when we start any communication the orphan packet will transmit the ip to the WLC and we’ll be inside the BSS without problems. But, and here comes the problem, if we use connman, we are not able to reassociate. The auth/assoc triggered by a connect in connmanctl goes ok, but when the deauth is received and the scan triggered wpa_supplicant continuosly reports the BSS as “skip-disabled” and no authentication/association is done by the supplicant (unfortunately I don’t have the logs now, but I’ll post them as soon as I get access to them) So, why it does not reconnects ? What are those “skip-disabled” which don’t show up without connman ? I don’t know if it is related some way, but the SSID created on the settings file is a number, different from the Name I specified on the wifi_XXX.config. Thanks for reading J Pedro Erencia Millán | <mailto:[email protected]> [email protected] | +34 935 309 650 ext. 91 Departament tècnic _____ logo Gem-Med_transparent_reg.tif Medica_2014_email_foot * gem-med Spain (BCN - Madrid - Sevilla) Cartagena, 243, 1º-6ª 08025-Barcelona (+34 935 309 650 -+34 934 366 144 * gem-med United Kingdom Cowley Road, CB40WS Cambridge (+44(0)1223 422217 -+44(0)1223 420844 Este e-mail se envía para el uso exclusivo de la persona o entidad a la que está dirigido y puede contener información confidencial. Si el lector de este mensaje no es el receptor designado a quien va dirigido, o un empleado o agente responsable de la entrega de este mensaje, al receptor designado le comunicamos que cualquier difusión, distribución o copia de esta comunicación está estrictamente prohibida. Si ha recibido este e-mail por error, por favor, comuníquenoslo inmediatamente por teléfono y elimine este e-mail de su ordenador. Su dirección de correo y demás datos personales que facilitó se hallan incorporados en un fichero de Gem-med S.L, cuya finalidad es mantener la relación contractual que en su caso establezca con Gem-med S.L, y/o sus profesionales.. Usted puede ejercer su derecho de acceso, rectificación, cancelación y oposición notificándolo a Gem-med S.L, por e-mail, a la dirección electrónica <mailto:[email protected]> [email protected] o carta a c/Cartagena, 243, 1-6, 08025- Barcelona. Muchas gracias. Aquest e-mail s’envia exclusivament a la persona o entitat a qui es dirigeix i pot contenir informació confidencial. Si el lector d’aquest missatge no és el receptor designat a qui va dirigit, o un empleat o agent responsable de l’entrega d’aquest missatge, al receptor designat, li comuniquem que qualsevol difusió, distribució o còpia d’aquesta comunicació, està estrictament prohibida. Si ha rebut aquest e-mail per error, si us plau, comuniqui’ns-ho immediatament per telèfon i elimini aquest e-mail del seu ordinador. La seva adreça de correu electrònic i altres dades personals que hagi facilitat es troben incorporades en un fitxer de Gem-med S.L, amb la finalitat de mantenir la relació contractual que en el seu cas estableixi amb Gem-med S.L, i/o els seus professionals. Vostè pot exercir el seu dret d´accés, rectificació, cancel·lació i oposició notificant-t’ho a Gem-med S.L, per e-mail, a l’adreça electrònica <mailto:[email protected]> [email protected] o carta a c/ Cartagena, 243, 1-6, 08025-Barcelona. Moltes gràcies. This e-mail is sent exclusively to the person or entity to whom it is addressed and can contain confidential information. For that reason, in case that the e-mail is read by a person different to the addressee, or an employee or an agent responsible for the delivery, herein we notify that any communication, distribution or copy of the content of this e-mail is strictly forbidden. If you have recived this e-mail by mistake, please contact us immediately and remove this e-mail from your computer. Your email address and other personal data disclosed by you are incorpored in a file of Gem-med S.L, which purpose is managing the contractual relationship which, given the case, you establish with Gem-med S.L and/or its professionals. You can exercise your access, rectification, cancellation, and/or opposition rights by means of notice to Gem-med S.L, by email, to the email address <mailto:[email protected]> [email protected] or by letter addressed to Cartagena street, 243, 1-6, 08025- Barcelona. Thank you. Antes de imprimir este e-mail asegúrese que es necesario. _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
