WiFi Connectivity in Beaglebone Black

Hi everyone. We are working on a project which requires the beaglebone to be connected to two wifi networks. We have the following two approaches but couldn’t find which one could be feasible.
1)One way could be connecting to one wifi network using a cape and connecting another using an adapter to the USB port. If this is possible in beaglebone black could anyone please suggest a wifi cape that can be supported by a beaglebone black.
2)Another way is to use two wifi adapters via a USB hub. But given that we are using a USB hub, both the adapters will have to use the common bus in order to connect to the BBBK. does the beaglebone black support this kind of connectivity?
Thank you.

Could wrong here, but I think you will end up with “wlan0” and “wlan1” if you go the USB route.

Just make sure to use a powered hub.

That is the way some WiFi hacking programs work, by using multiple adapters.

“No one could make a greater mistake than he who did nothing because he could do only a little.”

“All that is necessary for the triumph of evil is that good men do nothing” Edmond Burke (1729 - 1797)