Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 1 of 1
  1. #1
    Senior Member
    Join Date
    Apr 2008
    Location
    Paris, France
    Posts
    2,201

    Pi3 wifi STA+virtual AP experiment

    FYI, I think I have a recipe for Pi 3 with wifi STA+virtual AP that could be (relatively) robust in limited use cases.

    At this point I can run:
    - wlan0 in WPA2 client mode as uplink
    - a virtual ap0 interface running in Open mode. WPA2 should work.

    Both interfaces are using the same channel, the virtual AP has quite feeble coverage so it is only good for proximity access to a config GUI or something like that. Don't expect a "normal" AP, don't expect a regular Pi 3 AP.
    It is possible to stop/restart the AP without rebooting or oopsing the kernel That requires resetting wpa_supplicant on wlan0. The STA must drop from its AP and reauthenticate when it comes back.

    This was cooked using the latest Raspbian Lite so that firmware/drivers wouldn't be an issue, but I am fairly confident it should work on other distros.
    I don't have a 3b+ or a 0w to test with but I suppose it would work the same as they use the same driver.

    Perhaps one day the brcmfmac driver will improve and most of this recipe can go to the trash where it belongs. Until then, and if you feel like a hero:
    https://www.raspberrypi.org/forums/v...12991#p1313457
    Last edited by epoch1970; 2018-06-25 at 04:06. Reason: Removed hint on bridging uap0: definitely does not work.
    3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •