Send connman mailing list submissions to
        connman@lists.01.org

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
        connman-requ...@lists.01.org

You can reach the person managing the list at
        connman-ow...@lists.01.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."

Today's Topics:

   1. Re: How to configure an IoT wifi setup (Jupiter)
   2. Re: How to configure an IoT wifi setup (Denis Kenzior)


----------------------------------------------------------------------

Date: Thu, 20 May 2021 19:55:44 +1000
From: Jupiter <jupiter....@gmail.com>
Subject: Re: How to configure an IoT wifi setup
To: Daniel Wagner <w...@monom.org>
Cc: KeithG <ys3al...@gmail.com>, connman <connman@lists.01.org>,
        i...@lists.01.org
Message-ID:
        <CAA=hcwthmeixfmlwu-dddd_ncdqqlso5d_5gnc3htksawar...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi Daniel et al,

> On Wed, May 19, 2021 at 04:20:20PM -0500, Denis Kenzior wrote:
>> > If I set up connman by:
>> > "# connmanctl tether wifi on SSID password" I can connect and 'see' my
>> > new SSID, but I cannot scan for any APs to set up. I do not know how
>> > to set the SSID IP address, if this has been enabled in connman.
>>
>> Daniel or Marcel can correct me if I'm wrong, but I don't think this is a
>> usecase connman supports.  Tethering is just that, sharing your
>> ethernet/wwan/whatever connection over wifi.
>
> You are right. ConnMan does not support AP mode. There is no D-Bus API
> exposing the AP mode of an WiFi interface. ConnMan does not expose
> devices either, so it's not something we could just add.

That problem bothered me for a long time, I am sure someone has
implemented connman to configure WiFi remotely, if Connman cannot scan
SSID like NetworkManager, what method or alternative open source are
you using to scan SSID to allow users to configure WiFi remotely?

Thank you very much.

Kind regards,

Jupiter

------------------------------

Date: Thu, 20 May 2021 13:36:48 -0500
From: Denis Kenzior <denk...@gmail.com>
Subject: Re: How to configure an IoT wifi setup
To: Diego Santa Cruz <diego.santac...@spinetix.com>, KeithG
        <ys3al...@gmail.com>
Cc: "connman@lists.01.org" <connman@lists.01.org>, "i...@lists.01.org"
        <i...@lists.01.org>
Message-ID: <d027b362-9ed8-efae-0dd3-efb5e0e0c...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Diego,

>>> In theory 2 can be done today, either by iwd or combo iwd/hostapd with
>> some
>>> manual magic.
> 
> We do exactly this on our devices, when we explored things a while back it 
> was not really an option to do it all with iwd, so we use iwd for the client 
> part, create a new interface on the same WiFi adapter and fire up a hostapd + 
> dnsmasq combo on it as a "configuration AP", if the device is not configured 
> yet.  The advantage is that iwd works in parallel in client mode so we can 
> get the list of available networks and test that the configuration provided 
> by the user really works without having to disconnect the user from the 
> "configuration AP" until configuration is complete.

Awesome, thanks for confirming that this can be done.  In theory iwd should be 
getting to the point where our AP mode support should be good enough for simple 
scenarios like this one.

> 
> Creating a second interface in AP mode works on all the WiFi adapters we have 
> encountered, which are mainly Intel and Qualcomm.
> 

Keith,

Any P2P capable adapter should be able to do this (so pretty much any modern 
hardware).  There was an earlier discussion on the list where I suggested that 
we add a config option to main.conf to start iwd either in station + p2p or 
station + ap mode.

Patches are always welcome!

Regards,
-Denis

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list -- connman@lists.01.org
To unsubscribe send an email to connman-le...@lists.01.org


------------------------------

End of connman Digest, Vol 67, Issue 13
***************************************

Reply via email to