Digital technologies/Raspberry Pi

< Digital technologies
Revision as of 18:22, 24 July 2024 by Jboud030 (talk | contribs) (Jboud030 moved page Raspberry Pi to Digital technologies/Raspberry Pi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Check out this page for a description of different types of Pis and it's history: https://en.wikipedia.org/wiki/Raspberry_Pi

Setting up the OS on a Raspberry Pi

When you first get a Rasperry Pi you need to setup the operating system on a micro SD card. You will download the ZIP for the operating system and either copy over the files to the SD card (NOOBS) or use an imager to do the installation (Raspbian).

Here is a guide to help set up: https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up

Here is the official operating system with an installation guide: https://www.raspberrypi.org/downloads/raspbian/

Connecting to Wi-Fi networks on campus

Connecting to wifi on campus can be difficult. You can connect to your phone or laptop if you turn on a hotspot, you can connect to eduroam by configuring it in the Pi or you can connect to an IOT (Internet Of Things) network called UOdevices by providing your Pi's MAC address.

Hotspot

Setting up a hotspot with a PC: https://www.howtogeek.com/214080/how-to-turn-your-windows-pc-into-a-wi-fi-hotspot/

Setting up a hotspot with a MAC: https://www.howtogeek.com/214053/how-to-turn-your-mac-into-a-wi-fi-hotspot/

Setting up a hotspot with a smart phone: https://www.pcmag.com/how-to/how-to-turn-your-phone-into-a-wi-fi-hotspot

eduroam

You will need to go into the network settings of the Pi to configure the eduroam parameters.

  1. Navigate to the folder etc/wpa_supplicant/ (cd /etc/wpa_supplicant/).
  2. Open the wpa_supplicant.conf file (sudo nano wpa_supplicant.conf).
  3. Add the lines below to the file, then save and close it.
  4. You may need to restart the Pi for the changes to take effect
network={
  ssid="eduroam"
  priority=1
  proto=RSN
  key_mgmt=WPA-EAP
  pairwise=CCMP
  auth_alg=OPEN
  eap=PEAP
  identity="youremail123@uottawa.ca"
  password="your uozone password"
}

UOdevices

This network covers STEM, CBY and SITE.

  1. You will need the MAC address of the Pi so that your device can be registered and approved to use the UOdevices network. You can find it by following this guide.
  2. Once you have the MAC, please send it to makerlab@uottawa.ca so it can be given to our IT department.
  3. When the MAC has been added, you will be able to connect to it in the same way as the Eduroam network with the SSID UOdevices and makerlab@uottawa.ca will also be able to give you the password.