I've been trying to configure my PI to connect to two networks at the same time with inconsistent results.
I am using both the built in adapter and a USB adapter. The USB adapter reports as a Edimax EW-7811Un (Realtek RTL8188CUS. As for the same file part. When I manually connect the adapters the network settings are both appended to the original supplicant file.
My only success so far has been temporary. If I clear out my wpa-supplicant file and connect each adapter to it's respective network things seem to work fine. This just adds two different entries into the same file for each network though, which I've learned isn't effective as a long term solution. The connection doesn't persist. After some time one network will disassociate and not reconnect and if I restart both adapters will only connect to the first entry in the supplicant file. Any attempt to manually connect the second device to the second network fails and it just stays disassociated. The only workaround seems to be to repeat the process of cleaning the file and manually connecting again.
I found this thread while searching for a solution but I seem to be missing something important: https://www.raspberrypi.org/forums/viewtopic.php?t=190525
I've created the separate supplicant files and entries in the interfaces file as mentioned. However there seems to be a critical step I'm missing as the system keeps referencing the original supplicant file. I assume the op understood some steps in the process that were not explicitly mentioned in the thread, leaving me guessing.
So what am I missing?