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

From 24PinTech Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Hardware ==
==Hardware==
The hardware required includes:
The hardware required includes:


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


== Setting up the SD card ==
==Setting up the SD card==


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


== Setting up the laptop ==
==Setting up the laptop==
 
#Open control panel
#Network and Internet
#Network and Sharing Center
#Change adapter settings
#Right click the wireless adapter, Properties
#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
 
==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"
#reboot
#sudo raspi-setup
#set the wireless location to the us
#reboot
#sudo apt install curl
#curl -sL <nowiki>https://install.raspap.com</nowiki> | bash
#default ssid is raspui-webgui and password is ChangeMe
#default webgui user is admin and password is secret


# Open control panel
#
#

Latest revision as of 15:20, 3 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"
  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