Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. mac80211_hwsim device not powered (BOURDIL Pierre-Alain)
2. Re: mac80211_hwsim device not powered (Jose Blanquicet)
3. RE: mac80211_hwsim device not powered (BOURDIL Pierre-Alain)
----------------------------------------------------------------------
Message: 1
Date: Wed, 29 Nov 2017 22:09:25 +0000
From: BOURDIL Pierre-Alain <[email protected]>
To: "[email protected]" <[email protected]>
Subject: mac80211_hwsim device not powered
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
i'm trying to get connman managing virtual wifi device created using
mac80211_hwsim kernel module.
In this configuration, a scan wifi from connmanctl always return a "no carrier"
error message.
Using gdb, i found that the connman_device is seen as unpowered. Hence, the
test in device.c:610 fails and connmand return -ENOLINK (err code -67).
This does not seem logical to me. Is this a bug ?
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.01.org/pipermail/connman/attachments/20171129/a8c7ed55/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 29 Nov 2017 23:41:51 +0100
From: Jose Blanquicet <[email protected]>
To: BOURDIL Pierre-Alain <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: mac80211_hwsim device not powered
Message-ID:
<CAFC8iJKdypnV84bO5hrTVaiNit6+f=etmjnluu-+fcqvw_t...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Hi Pierre,
On Wed, Nov 29, 2017 at 11:09 PM, BOURDIL Pierre-Alain
<[email protected]> wrote:
> i'm trying to get connman managing virtual wifi device created using
> mac80211_hwsim kernel module.
>
> In this configuration, a scan wifi from connmanctl always return a "no
> carrier" error message.
This usually occurs when ConnMan cannot forward such request toward
wpa_supplicant. Therefore, I would suggest you to ensure
wpa_supplicant has control over this new interface. For instance,
check you can request for scanning from wpa_cli. If once done you
still get the same error, you should check wpa_supplicant has been
compiled and executed with the required options, see section
"wpa_supplicant configuration" in documentation [1].
[1] https://git.kernel.org/pub/scm/network/connman/connman.git/about/
Cheers,
Jose Blanquicet
------------------------------
Message: 3
Date: Thu, 30 Nov 2017 13:50:39 +0000
From: BOURDIL Pierre-Alain <[email protected]>
To: Jose Blanquicet <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: RE: mac80211_hwsim device not powered
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"
Hi,
scanning with wpa_cli is ok. Also, i recompiled wpa_supplicant following the
advice from connman config recommendation (at least CONFIG_BGSCAN was missing)
Now i still have a problem :
"connmanctl> scan wifi
Error /net/connman/technology/wifi: Not supported"
>From gdb, it still is triggered from device.c:device_scan, but because the
>device's driver is null.
i attached here the log from connmand -n -d output.
Pierre-Alain BOURDIL
Responsable Scientifique R&D, Syt?mes Num?riques
06.31.00.75.79
05.31.08.34.39
__________________________________________
EUROGICIEL Ing?nierie
Groupe SCALIAN
417 L?Occitane
CS 77679
31676 LABEGE Cedex
T?l: +33 (0)5 61 00 79 79 - Fax: +33 (0)5 61 39 01 15
www.scalian.com
__________________________________________
-----Message d'origine-----
De?: Jose Blanquicet [mailto:[email protected]]
Envoy??: mercredi 29 novembre 2017 23:42
??: BOURDIL Pierre-Alain
Cc?: [email protected]
Objet?: Re: mac80211_hwsim device not powered
Hi Pierre,
On Wed, Nov 29, 2017 at 11:09 PM, BOURDIL Pierre-Alain
<[email protected]> wrote:
> i'm trying to get connman managing virtual wifi device created using
> mac80211_hwsim kernel module.
>
> In this configuration, a scan wifi from connmanctl always return a "no
> carrier" error message.
This usually occurs when ConnMan cannot forward such request toward
wpa_supplicant. Therefore, I would suggest you to ensure wpa_supplicant has
control over this new interface. For instance, check you can request for
scanning from wpa_cli. If once done you still get the same error, you should
check wpa_supplicant has been compiled and executed with the required options,
see section "wpa_supplicant configuration" in documentation [1].
[1] https://git.kernel.org/pub/scm/network/connman/connman.git/about/
Cheers,
Jose Blanquicet
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log_connmand.txt
URL:
<http://lists.01.org/pipermail/connman/attachments/20171130/5789300d/attachment.txt>
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 25, Issue 17
***************************************