Difference between revisions of "Digital technologies/Raspberry Pi"

From CEED Wiki
Jump to navigation Jump to search
(Created page with "Setting up the OS on a Raspberry Pi Connecting to wifi networks")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Setting up the OS on a Raspberry Pi
+
Check out this page for a description of different types of Pis and it's history: https://en.wikipedia.org/wiki/Raspberry_Pi
  
Connecting to wifi networks
+
== 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.
 +
 
 +
# Navigate to the folder etc/wpa_supplicant/ (<code>cd /etc/wpa_supplicant/</code>).
 +
# Open the wpa_supplicant.conf file (<code>sudo nano wpa_supplicant.conf</code>).
 +
# Add the lines below to the file, then save and close it.
 +
# 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.
 +
 
 +
# 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 [https://www.raspberrypi-spy.co.uk/2012/06/finding-the-mac-address-of-a-raspberry-pi/ following this guide].
 +
# Once you have the MAC, please send it to [mailto:makerlab@uottawa.ca?subject=Add%20Raspberry%20Pi%20to%20UOdevices%20network makerlab@uottawa.ca] so it can be given to our IT department.
 +
# 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 [mailto:makerlab@uottawa.ca makerlab@uottawa.ca] will also be able to give you the password.

Latest revision as of 18:22, 24 July 2024

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.