On 4/20/22 20:40, zlinuxboy(a)outlook.com wrote:
I am trying to plug 3 wifi dongle into one SBC(odroid c2 running
armbian 22.01), wish to run separate iwd instance for each wifi dongle, in order to
connect different ssid and acquire dhcp ip address and assign to them.
I have successfully implement with systemd-networkd+vrf+iwd, assign three wifi dongle to
different vrf. start iwd, all three wifi dongle could connect to the same ssid and get
different ip with dhcp, including default route.
but when I assign different wifi dongle to the same ssid with different psk(my ap is
aerohive, support ppsk, everything user have a different private key. cisco, ruckus, aruba
has such the same feature), iwd could not save the multiple config for the same ssid,
because the same ssid share one config. so any possible to run separate iwd for every wifi
I don't think you'd be able to accomplish this easily with iwd as of today. You
can try running a private system bus (dbus) for each iwd instance and using phy
filtering (see 'iwd --help') so that each iwd instance only manages the
particular phy you want. Or use namespaces. But you'd need to access each iwd
instance via its private bus/namespace separately. You'd also need to override
the state directory for each iwd instance.
Also, iwd isn't aware of SAE password identities (I assume this is what you mean
by PPSK). Or is this something else?
Anyhow, you'd probably need to add some intelligence into iwd for it to use
multiple PSKs on the same SSID properly within the same iwd instance.