AP & STA
on Raspberry Pi 3

With the same wifi chip!

View the Project on GitHub
raspberry pi 3A+

Tested on

  • Raspberry Pi Zero
  • Raspberry Pi 3 B+
  • Raspberry Pi 3 A+
  • Raspberry Pi 4 B+
CLI image

Total control with cli parameters

  • # ap ssid + ap passphrase
    $ --ap your_ap_ssid your_ap_passphrase
  • # ap ip address (by default ip pattern 192.168.10.x)
    $ --ip your_ap_ip_range
  • # sta ssid + sta passphrase
    $ --client your_sta_ssid your_sta_passphrase
  • # ISO3166 Country Code for wpa_supplicant (by default FR)
    $ --country your_ISO3166_country_code
  • # mode Wi-Fi a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g (by default g)
    $ --hwmode wifi_mode

Optionals flags

  • # Set only STA (used to update STA configuration)
    $ --sta-only
  • # Set only AP (used to update AP configuration)
    $ --ap-only
  • # no ip forwarding on ap + sta or ap + eth mode
    $ --no-internet
  • # show script help
    $ --help
animated rocket launch image

Launch it without any installation

$ curl https://raw.githubusercontent.com/MkLHX/AP_STA_RPI_SAME_WIFI_CHIP/master/ap_sta_config.sh | bash -s -- --ap ap_ssid ap_passphrases --client client_ssid client_passphrase --country FR