Hotspot coupled with WIFI switching on another interface on Raspberry Pi

0

I would like to setup a Raspberry Pi with two wifi interfaces. On the first one, I would like to setup a AP to expose an API on it. On the second one, I would like to programmatically switch between WIFI (GoPro) to trigger some actions.

I'm basically able to set up each of these independently, but not together, it seems that each configuration is breaking the other one.

I'm using dnsmasq and hostapd to create my AP on the first interface and actually I am using the Wireless python library. I've tried to look down in the code, and it seems to override the wpa_supplicant configuration.

Is there someone that faced this kind of problem ? Or maybe there is another way to manage my problem which is basically exposing an API on a local network created by a raspberry whilst being able to connect to others WIFI.

Q. Eude

Posted 2019-07-29T14:08:44.353

Reputation: 1

No answers