10

Everything points to that the Raspberry Pi Zero W can be access point and connect to wifi at the same time.

According to this article, with the command iw list describes:

valid interface combinations:
* #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
   total <= 3, #channels <= 2
* #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
   total <= 4, #channels <= 1

I tried to follow the steps of this article, but I have not been successful:

When I reboot the rpi zero w, it does not automatically connect to the wifi network. Instead, it emits signal as access point (although when I connect to the network from my mobile, does not support the password as valid).

In this scenario, if I turn off the wifi and turn it on again, it connects to the internet through the WiFi network, but it does not act as an access point (it does not show the network to connect).

The distribution is Pixel (based Jessie).

Thanks in advance

Mario
  • 101
  • 1
  • 1
  • 3

4 Answers4

6

It is perfectly possible. Look at the link. Note that the channel used must be the same on the access point and on the Wi-Fi.

link rpi3 wifi-client-ap

2

As I commented here it is possible to do, but most of the articles I found online did not work for me. I wrote a detailed blog post on it here: https://albeec13.github.io/2017/09/26/raspberry-pi-zero-w-simultaneous-ap-and-managed-mode-wifi/

It's a little quirky, and I recommend reading the comments first, as I haven't yet updated the original post to include some helpful suggestions from the comments. Either way, I've gotten it to work using my instructions. Good luck!

albeec13
  • 41
  • 2
1

It is perfectly possible, my Pi Zero W does so, but the client and AP must use the same channel.

See a screenshot from my ZW:

enter image description here

The output from your iw list shows that only the second combination allows managed (i.e. client) and AP at the same time , but it says channels <=1. That is, they need to use the same channnel.

I have used the guide from http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap (which is the same linked by Alfredo Pons Menargues) adapted to my own needs.

-2

A single wlan interface may only connect to one WiFi network at a time. It cannot do both things simultaneously. If you have an​ external WiFi adaptor, then you can bridge the internal and external wlan interface, then you can bridge both of them to make one act as access point and the other as hotspot.

Adarsh
  • 23
  • 2