TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W

252 pointsby lukicdarkooalmost 5 years ago

16 comments

basilfxalmost 5 years ago
I&#x27;ve been using a similar solution, but I had quite some problems using AP and client mode at the same time. The WiFi chip inside the RPi Zero W (BCM43430) only supports AP and client mode on the same channel. If you setup an AP first, then connect to a client network, hostapd will update the channel of the AP, but clients will notice a disconnect. There are also issues with the firmware blob (see <a href="https:&#x2F;&#x2F;github.com&#x2F;raspberrypi&#x2F;firmware&#x2F;issues&#x2F;1403" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;raspberrypi&#x2F;firmware&#x2F;issues&#x2F;1403</a>) in AP mode that haven&#x27;t been solved yet.
评论 #24254494 未加载
dcminteralmost 5 years ago
The pithier article (linked to from the above) is at<p><a href="https:&#x2F;&#x2F;blog.thewalr.us&#x2F;2017&#x2F;09&#x2F;26&#x2F;raspberry-pi-zero-w-simultaneous-ap-and-managed-mode-wifi&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.thewalr.us&#x2F;2017&#x2F;09&#x2F;26&#x2F;raspberry-pi-zero-w-simul...</a>
评论 #24251258 未加载
评论 #24252303 未加载
shubhamjain0594almost 5 years ago
Thanks for this.<p>I had built [similar repository](<a href="https:&#x2F;&#x2F;github.com&#x2F;computationalprivacy&#x2F;unveil-pi-data-collector" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;computationalprivacy&#x2F;unveil-pi-data-colle...</a>) as a part of wifi data capture and visualisation experiment ([Project UNVEIL](<a href="https:&#x2F;&#x2F;github.com&#x2F;computationalprivacy&#x2F;unveil-deployment)" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;computationalprivacy&#x2F;unveil-deployment)</a>) but it used external antenna.<p>Any links on how does underlying hardware work to enable simultaneous connections?
评论 #24251655 未加载
cptskippyalmost 5 years ago
This is perfect for hotels whose TV sucks and their wifi has those captive portals so you can&#x27;t use a Chromecast, Firestick, or Roku.<p>It just needs a captive portal of its own when the client side is disconnected.
评论 #24256185 未加载
评论 #24257771 未加载
sdfhbdfalmost 5 years ago
I&#x27;ve looked at the links posted here and the repo but I fail to find what is the use case for this?
评论 #24251593 未加载
评论 #24251722 未加载
评论 #24251756 未加载
评论 #24254167 未加载
评论 #24252479 未加载
评论 #24251599 未加载
评论 #24253276 未加载
7ewisalmost 5 years ago
Would this be good for something like connecting the Pi to a VPN for say Canada, then broadcasting an SSID for it.<p>Then connecting a Fire TV Stick or Chromecast to this AP, and tricking it into letting you stream Canadian Netflix or DAZN etc.
评论 #24252505 未加载
评论 #24256734 未加载
评论 #24252486 未加载
评论 #24253346 未加载
brendawalshalmost 5 years ago
Any idea why systemd was not able to be reliably used, and had to use cron?<p>Is there a ‘fix’ for that ?<p>edit: This was not meant to be offensive. I was simply hoping somebody could offer how it could be used with systemd and remove the reliance on cron.
评论 #24251218 未加载
评论 #24251186 未加载
评论 #24251298 未加载
reactchainalmost 5 years ago
Has anyone noticed a shortage of Pi Zeros recently? It seems everywhere has run out of stock.
评论 #24251534 未加载
评论 #24256130 未加载
评论 #24251438 未加载
评论 #24253512 未加载
评论 #24252366 未加载
sorenjanalmost 5 years ago
Can this be used as a range extender if you use the same SSID and password for the access point as the net you&#x27;re connecting to? Would other clients silently roam between the two (or more) networks using the same name and password?
评论 #24251473 未加载
BossingAroundalmost 5 years ago
I wonder what&#x27;s the use case other than a poor wifi extender, or niche cases of sharing one connection between multiple devices where you pay per connection.<p>Though I do wonder whether you can add a proper wifi antenna and make the RPI an &#x27;ok&#x27; wifi extender. That might be a viable option, provided the performance is ok.
评论 #24254884 未加载
评论 #24255522 未加载
评论 #24254895 未加载
评论 #24254684 未加载
ngcc_hkalmost 5 years ago
Why is that not easy and widely used as nearly all devices we used like camera (dslr to car camera) and remote controller all resolved to stop WiFi and switch to another mode etc to connect.
评论 #24251295 未加载
messealmost 5 years ago
Whatever happened to ad-hoc mode?
评论 #24251271 未加载
评论 #24252090 未加载
评论 #24251559 未加载
评论 #24252466 未加载
Dahoonalmost 5 years ago
So in short a poor range extender or a way to do MitM.
评论 #24252171 未加载
Raed667almost 5 years ago
A bit off topic:<p>I&#x27;m looking for a project that starts with an AP. Once someone connected to it; it opens a web page to configure the client (choose which WIFI from a list, and type the password).<p>It connects to the chosen WIFI and shuts down the AP.<p>Anyone here did something similar to that?
评论 #24251442 未加载
评论 #24251307 未加载
评论 #24251513 未加载
评论 #24252008 未加载
评论 #24252846 未加载
评论 #24251697 未加载
评论 #24255166 未加载
non-entityalmost 5 years ago
Just curious, but I was trying to help someone with a Raspberry Pi Zero W wifi issue the other day and had trouble finding sny info about the wireless chipset used. I couldn&#x27;t find it listen anywhere on the site, or several tech review sites, only extremely useless information on the 802.11 versions support. If it recall correctly, it didn&#x27;t even show up in the schematica. Luckily wikipedia had the name of the chipset used, but I don&#x27;t get it. Why does their official documentation seem to be so secretive?
评论 #24252543 未加载
punnerudalmost 5 years ago
How to get faster internet at a hotel: Have 4-5 of these connected and talking with the hotels WiFi, and one who share Internet with you. All the traffic goes to a server you have at home that “join+proxy” the traffic. Based on the idea that every user have a limited bandwidth, combining multiple will give you higher speed.
评论 #24256150 未加载
评论 #24253837 未加载