Skip to content

These scripts configure a Raspberry Pi 3B+ running Debian Stretch to use its onboard WiFi interface as an access point.

Notifications You must be signed in to change notification settings

CCGSRobotics/WiFi-Setup-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WiFi-Setup-Scripts

This script configures the on board WiFi interface of a Raspberry Pi 3B+ running Raspbian Stretch to work as an access point. This configuration also allows you to connect a secondary WiFi interface card (i.e. USB dongle) and use it to connect to a second wireless network (and the Internet) without interfering with the AP.

INSTRUCTIONS

  1. Format a Micro SD Card using the SD Formatter tool from https://www.sdcard.org/

  2. Download a fresh copy of NOOBS (with Raspbian Stretch) from https://www.raspberrypi.org/downloads/noobs/

  3. Follow the instructions from the site above to install Raspbian Stretch (or above) onto a Raspberry PI 3B+

  4. Boot the Raspberry Pi using the newly prepared SD card and connect to the Internet (Unfiltered! Use a hotspot if you have to.)

  5. Open the Terminal application and clone this repository to the Desktop with the following commands

    	 cd ~/Desktop/
    	 git clone https://github.com/CCGSRobotics/WiFi-Setup-Scripts
    
  6. Navigate to the repository directory

    	 cd WiFi-Setup-Scripts
    
  7. The script takes two arguments. One for the SSID (required) and one for the password (optional). If no password is provided then it will default to 'raspberry'.

    Example Usage:

      sudo bash ./pi3bplus-setup.sh KingsLegacy supersecretpassword
    

    Important: The above command only works if you are in the same directory as the script.

  8. Make a cup of tea while you wait for the script to complete.

  9. When complete, type sudo raspi-config and enable SSH and the Pi Camera.

  10. Reboot.

Test that you can connect to the new AP then download the code and enjoy your new robot!

Caution: DO NOT boot the Pi with a WiFi dongle connected. Do this only after the AP has been raised. Leaving a dongle connected during the boot process sometimes prevents the AP from being raised properly.

About

These scripts configure a Raspberry Pi 3B+ running Debian Stretch to use its onboard WiFi interface as an access point.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages