DietPI for wan0 lan0 bridge?

It is necessary to connect the Raspberry and the Baglebone by LAN in the same network. Through Wi-Fi, have access to manage these devices (ideally through wpa_suplicant (client)). Through the hotspot is also possible but less preferable.

I can’t find a solution for dietpi.
On openWrt I can do it without problems.

You can install hostapd / Wifi Hotspot via dietpi-software, when the device should act as an hotspot.

If you don’t wanna use hostapd, you need a wifi router in the same subnet.

We do not have any tools that set up the bridge mode. This would have to be done manually if needed, but should be possible.

What we do offer is a hotspot mode where a separate network is created for the hotspot.

My task is to do without a router. Use only raspberry

Yes its work, but my task is more difficult

What does this means?

hotspot and lan work as different devices, and I need to combine them. Probably in bridge and add rules to IPtables. But I don’t understand how

As stated above, our script don’t offer the possibility to create a bridge network device. This would need to be done manually. There should be plenty of guides on the web how to do it using ifupdown