Difference between revisions of "Sharing "Student Access" wifi with a Raspberry Pi"

From 24PinTech Wiki
Jump to navigation Jump to search
Line 25: Line 25:
#Sharing, check "Allow other network users to connect through this computer's Internet connection"
#Sharing, check "Allow other network users to connect through this computer's Internet connection"
#Select "Ethernet" on the drop-down that says "Select a private network connection" and hit OK
#Select "Ethernet" on the drop-down that says "Select a private network connection" and hit OK
== Configuring the Pi ==
# Insert the SD card into the Pi and plug it in to the laptop via ethernet and USB-C
# After it boots, open Command Prompt on the laptop
# arp -a to find the IP of the Pi
# ssh pi@<IP>
# password is raspberry
# change the password to whatever you want with "sudo passwd pi"
# update and upgrade "sudo apt update && sudo apt full-upgrade"


#
#

Revision as of 16:12, 2 November 2021

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"