Sharing "Student Access" wifi with a Raspberry Pi

From 24PinTech Wiki
Revision as of 15:20, 3 November 2021 by Jdeegan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Hardware

The hardware required includes:

  • Raspberry Pi
  • Laptop with access to the "Student Access" network (Admin Required)
  • USB type C cable
  • Ethernet Cable
  • Micro SD Card
  • Either a MIcro SD to SD or USB to Micro SD adapter

Setting up the SD card

  1. Insert the SD card into the laptop
  2. Install the Raspberry Pi imaging tool (https://downloads.raspberrypi.org/imager/imager_latest.exe)
  3. Run the imaging tool, and select Raspberry Pi OS Lite for the OS and your SD card as the media
  4. Write the image to the drive, and remove the drive from the laptop

Setting up the laptop

  1. Open control panel
  2. Network and Internet
  3. Network and Sharing Center
  4. Change adapter settings
  5. Right click the wireless adapter, Properties
  6. Sharing, check "Allow other network users to connect through this computer's Internet connection"
  7. Select "Ethernet" on the drop-down that says "Select a private network connection" and hit OK

Configuring the Pi

  1. Insert the SD card into the Pi and plug it in to the laptop via ethernet and USB-C
  2. After it boots, open Command Prompt on the laptop
  3. arp -a to find the IP of the Pi
  4. ssh pi@<IP>
  5. password is raspberry
  6. change the password to whatever you want with "sudo passwd pi"
  7. update and upgrade "sudo apt update && sudo apt full-upgrade"
  8. reboot
  9. sudo raspi-setup
  10. set the wireless location to the us
  11. reboot
  12. sudo apt install curl
  13. curl -sL https://install.raspap.com | bash
  14. default ssid is raspui-webgui and password is ChangeMe
  15. default webgui user is admin and password is secret