Process Things

debian

How to connect your Raspberry Pi to two Wi-Fi networks at the same time

For a pretty cool project I’m working on, I need to connect to an array of GoPro cameras. A GoPro, if you don’t know, is a powerful but tiny camera that can record in very high resolutions as well as withstand extreme conditions, which makes it super useful for sports recording.

Unfortunately, it’s a pain in the ass to use at every turn. Its only Wi-Fi access is ad-hoc, which means you need to connect to it directly instead of connecting it to a Wi-Fi network of your own. That means the computer you’re using can’t have Internet access while connected to the GoPro. Which, conveniently, means you can’t look anything up while you’re trying to reverse-engineer the GoPro’s API. It also means that you can only connect to one GoPro at a time, which is problematic for this project.

Fortunately, we got some Raspberry Pis to play with where I work. I used one to bridge a connection between the GoPro’s limited ad-hoc Wi-Fi network and an ordinary Wi-Fi network, which not only gave me access to …