hostapd: add additional network section to wpa_supplicant
Daniel Golle
daniel at makrotopia.org
Mon Oct 12 10:00:44 EDT 2020
On Mon, Oct 12, 2020 at 03:22:27PM +0200, Florian Eckert wrote:
> Hello Community,
>
> I have a openwrt system in mobile use.
> That means I have a hostapd running as an access point for clients and at
> the same time a wpa_supplicant running to another access point as uplink.
> So the router is client and access point at the same time on one radio.
> My problem is that the access points for the uplink have different SSIDs.
> I have to add several enabled uci wireless "wifi-iface" sections to connect
> to them.
> The problem is now that I have running a wpa_supplicant process for each
> wifi-iface section.
>
> I have seen that in the wpa_supplicant config you can add several network
> sections for each ssid, so I have only one wpa_supplicant process with x
> network sections.
>
> The way I see it this is currently not possible with openwrt.
Correct.
> Does anyone have an idea how to implement this?
We would need to associate several network settings (ssid, key, ...)
to one virtual interface.
> Or where do I have to start?
>
This could be done by introducing a new type of UCI section,
'wifi-credential' which can be listed in the 'wifi-iface' section of a
station interface.
> Kind regards
>
> Florian
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list