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: [RFC connman 1/1] WIP: Add WPA3-SAE support (Daniel Wagner)
   2. Re: How to configure an IoT wifi setup (Denis Kenzior)
   3. Re: How to configure an IoT wifi setup (Daniel Wagner)


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

Date: Wed, 19 May 2021 09:32:39 +0200
From: Daniel Wagner <w...@monom.org>
Subject: Re: [RFC connman 1/1] WIP: Add WPA3-SAE support
To: Ariel D'Alessandro <ariel.dalessan...@collabora.com>
Cc: Andrej Shadura <andrew.shad...@collabora.co.uk>,
        connman@lists.01.org, sven.dembia...@bshg.com, i...@lists.01.org
Message-ID: <20210519073239.u43a27gc4r3wm...@beryllium.lan>
Content-Type: text/plain; charset=us-ascii

Hi,

On Wed, May 19, 2021 at 08:58:01AM +0200, Marcel Holtmann wrote:
> > So AFAIU from the above, the patchset is implementing wpa_supplicant
> > WPA3-SAE support in the right place: wifi plugin. Any change required? I
> > understand that documentation should be updated probably, anything else?
> 
> if you need to update the Service API documentation, then you are
> doing something wrong.

The only thing you need to do is to extend the wifi.c plugin to set to
SAE if it's available when PSK is selected via the D-Bus API. As Marcel
pointed out this should not be exposed to the user.

Thanks,
DAniel

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

Date: Wed, 19 May 2021 16:20:20 -0500
From: Denis Kenzior <denk...@gmail.com>
Subject: Re: How to configure an IoT wifi setup
To: KeithG <ys3al...@gmail.com>, connman@lists.01.org,
        i...@lists.01.org
Message-ID: <9edf45db-6cb5-1a9c-68da-5f08ff933...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Keith,

On 5/19/21 2:36 PM, KeithG wrote:
> Group,
> 
> I am not sure if this is the right terminology but this is what I am
> trying to do:
> Power up a headless device. If it does not get an ethernet or wifi
> connection, it launches AP mode of some sort and allows a device to
> connect then configure the wifi connection by selecting an AP and
> typing in a password.
> 
> This works with hostapd/dsnmasq, currently. I want to switch over to
> connman and/or iwd to do this, but have not been successful in doing
> this.

So do you know how this works, exactly?

> 
> 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.

> 
> I have tried with iwctl as well:
> set up /etc/iwd/main.conf
> [General]
> EnableNetworkConfiguration=true
> APRanges=192.168.1.0/24
> 
> # iwctl device wlan0 set-property Mode ap
> # iwctl ap wlan0 start SSID password
> 
> With this I can connect, but once again, I cannot scan for any
> available SSIDs to connect to. It is not important that I be able to
> connect, but I do need to see the SSIDs so the user can set it up then
> reboot (or restart connman/iwd) to connect to the new 'known' SSID.

So I think there are two ways of doing this:

1. Being able to scan while in AP mode.  This is something that has been 
brought 
up before as desirable, etc.  But no one has made any contributions just yet. 
All this does is lets you see the surrounding SSIDs...

2. Use multiple interfaces if your hw supports them.  So 1 interface in AP 
mode, 
the other in station mode.  Then you could connect to the headless device on 
the 
ap interface and run iwd on the station interface as usual to set up the 
network.

In theory 2 can be done today, either by iwd or combo iwd/hostapd with some 
manual magic.

Regards,
-Denis

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

Date: Thu, 20 May 2021 08:42:47 +0200
From: Daniel Wagner <w...@monom.org>
Subject: Re: How to configure an IoT wifi setup
To: Denis Kenzior <denk...@gmail.com>
Cc: KeithG <ys3al...@gmail.com>, connman@lists.01.org,
        i...@lists.01.org
Message-ID: <20210520064247.ce64u2y637ofb...@beryllium.lan>
Content-Type: text/plain; charset=us-ascii

Hi,

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.

Thanks,
Daniel

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

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 12
***************************************

Reply via email to