Skip to content

Configures simultaneous AP and Managed Mode Wifi on Raspberry Pi

License

Notifications You must be signed in to change notification settings

ShalimRazzak/rpi-wifi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Simultaneous AP and Managed Mode Wifi on Raspberry Pi

This repo was forked from https://github.com/lukicdarkoo/rpi-wifi

Video Demonstration

Environments and Technologies Used

- This works on Raspberry Pi OS Lite (Legacy): https://www.raspberrypi.com/software/operating-systems/
  Raspberry Pi Imager
  Release date: May 3rd 2023
  System: 32-bit
  Kernel version: 5.10
  Debian version: 10 (buster)
  • After etching buster into a sd card and setting up ssh and wpa_supplicant.conf for remote access, ssh into the PI. In the pi terminal run sudo apt update, accept the prompts.
    • Your wpa_supplicant.conf file should look like the following:

      country=US
      ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
      update_config=1
      
      network={
          ssid="YOUR_WIFI_SSID"
          psk="YOUR_WIFI_PASSWORD"
      }
      
    • To create an empty ssh file inside the Boot: folder of the sd card do: type NUL >> ssh on Windows (command prompt) and touch ssh on Unix (Terminal)

  • Once this is done, run:
  for i in {1..2}; do curl https://raw.githubusercontent.com/ShalimRazzak/rpi-wifi/master/PIxT_Config | sudo bash -s -- -a MyAP myappass -c WifiSSID wifipass; done
  • Replace MyAP and myappass with ssid and password of the network you want to create and replace WifiSSID wifipass with ssid and password of your existing wifi network. Note: Make sure that the length of the password you set is greater than 7 characters, otherwise this fails.
  • Reboot Pi Zero W
  • Profit

About

Configures simultaneous AP and Managed Mode Wifi on Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%