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