Northern Mike
Posts: 43
Joined: Mon Oct 31, 2016 11:41 am

Multiple AP on one PI?

Sun Mar 12, 2017 12:52 am

Has anyone tried or know if it is possible to run more than one AP on a single pi?
I'm working on a project with my son where we will have more that one directional antenna, same AP info, just different channels aimed in different directions.
I know we could run a few pis but we would rather keep the power requirements down by using one pi instead.

epoch1970
Posts: 5203
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Multiple AP on one PI?

Sun Mar 12, 2017 7:05 pm

Well for sure you can run multiple instances of hostapd, with separate configs.
I think there is also a mode where you specify multiple APs in one single config file (example) however I've never used it personally since my experience with hostapd is mainly related to Pi 3, and its built-in wifi interface doesn't support that.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Northern Mike
Posts: 43
Joined: Mon Oct 31, 2016 11:41 am

Re: Multiple AP on one PI?

Sun Mar 12, 2017 7:18 pm

I am playing with hostap right now on my pi3. It runs fine with the built in wlan0 but fails with the external wlan1.
The usb wifi works fine for normal us and with airocrack so I may just need to find the missing item in the hostap configs.

epoch1970
Posts: 5203
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Multiple AP on one PI?

Sun Mar 12, 2017 8:30 pm

Yes, everything wifi is very much hardware-dependent.
I'd advise looking for the chipset name ("lsusb" should disclose this info) and use it to search on the forum for specifics about driver module or hostapd config requirements.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Northern Mike
Posts: 43
Joined: Mon Oct 31, 2016 11:41 am

Re: Multiple AP on one PI?

Sun Mar 12, 2017 9:19 pm

Running now on the USB wifi. Had to kill a few services bound then resolve the IP address wlan0 had (even down) which was the same as wlan1.

Going to play a bit with trying to run a second AP on the same PI. Will use the onboard wifi (wlan0) for now to test.

Return to “Advanced users”