Specifications:
Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
1GB, 2GB or 4GB LPDDR4-3200 SDRAM (depending on model)
2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.0, BLE
Gigabit Ethernet
2 USB 3.0 ports; 2 USB 2.0 ports.
Raspberry Pi standard 40 pin GPIO headerÂ
2 Ă— micro-HDMI ports (up to 4kp60 supported)
2-lane MIPI DSI display port
2-lane MIPI CSI camera port
4-pole stereo audio and composite video port
H.265 (4kp60 decode), H264 (1080p60 decode, 1080p30 encode)
OpenGL ES 3.0 graphics
Micro-SD card slot for loading operating system and data storage
5V DC via USB-C connector (minimum 3A*)
5V DC via GPIO header (minimum 3A*)
Power over Ethernet (PoE) enabled (requires separate PoE HAT)
Operating temperature: 0 – 50 degrees C ambient
PI Setup
keyboard, hostname, username/password & wifi network
When you are starting up for the first time you need to set up a bunch of things. To keep things consistent please use this set up
Select the US keyboard option
Username: comp<Pi number> (eg: I am using the Pi 16 so the username is comp16
Password:Â comp<Pi number>
The network to connect to is HVHS_COMP
Password: RaspberryPi@hvhs2023
Post 1st boot
Note: In the below text, a dollar sign ($) indicates the start of a command, do not type the dollar sign, only what comes after.
We prefix the commands below with  sudo  to give us extra permissions but only whilst executing the command.
Check the OS-Release file: $ cat /etc/os-release
Update the packages: $ sudo apt update && sudo apt upgrade
Install the stress-test package:Â $ sudo apt install stress
Network commands
hostname -I # display the Pi's ip address
iwconfig # lets see what WiFi we're connected to
ifconfig -a # show all network interfaces
ip addr # show IPv4 address
ip route # show IPv4 gateway & routes
ssh
ssh allows us to use your laptop to control the Pi using the laptops monitor, keyboard & mouse.
ssh is already active on the school laptops.
But you need to activate it on you Pi using the config menu to do this:
sudo raspi-config
Interfaces > ssh
To connect to your Pi your laptiop needs to be on the same network (HVHS_COMP)
ssh in with your Pi's username and ip address eg:
ssh comp16@192.168.111.111
Commands
change the directory you are residing in:Â cd
list the contents of a directory:Â ls -lsa
make a directory:Â mkdir
Permission issues
Adding Media to Jellyfin
Make a place to put the movies
Make a directory for them: sudo mkdir /media/jellyfin
Set the permissions so Jellyfin can see it: sudo chmod 777 /media/jellyfin
Get the files from the USB drive
You need to mount the USB manuallyÂ
Create the mount folder: sudo mkdir /mnt/usb
Mount the drive: sudo mount /dev/sda1 /mnt/usb -o uid=pi,gid=pi
Copy some movies from the drive to your movie folder
Get a high res and a low res of the same movie so you can compare
cp <file_to_move> <place_to_move_it>
When you're done, unmount it: sudo umount /mnt/usb
Add the library in the Jellyfin browser
Linux commands used:
sudo
mkdir
chmod
mount
cp
umount
Other useful ones:
ls
cd
Handy hint:
When you use cp you can use the * character to say "everything"
cp /mnt/MyMovies/*Â /dev/null
copies all the stuff in MyMovies to /dev/null
Browser Issues
The default browser for the Pi is Chromium.
Chromium by default uses the search engine; duckduckgo.
If duckduckgo does not work, you can alter your browser settings to use another search engine - like Google. Just click the browsers settings options.
Htop
handy commands
Network monitoring
We used the Ruckus wifi router when setting up our Pis as it has connection to the internet.
However, Will use the Huawei router for our testing as:
The Ruckus router is used by students in B14 - so its not a fair test
The Huawei router has both 2.4Ghz & 5Ghz bands.
2.4Ghz band ssid = RaspberryPi, 5Ghz band ssid = Raspberry_5Ghz  wifi password is raspberry
traceroute is used to display the physical routing path between 2 internet devices communicating with each other. It maps out the journey from one router to another - sometimes called a hop. Using traceroute to diagnose network problems can help administrators locate the source of a network delay.
ping is a simpler traceroute. It sends out pings -- also referred to as echo request message -- and the measures the amount of time it takes the message to reach its destination and return the source. These replies are called echo reply messages. Pings are useful for gathering latency information about a specific device. Unlike traceroute, ping does not provide a picture map of the routing layout.
nmon
sudo apt update
sudo apt upgrade
sudo apt install nmon
iperf3
sudo apt update
sudo apt upgrade
sudo apt install iperf3
Click NO to auto start the server
Our network
Rough layout of components
Performance specifications of components
Note 1: Actual speeds depend heavily on how you are reading the data. For example; when reading data from a disk, speeds are far higher when you are reading adjacent blocks of data as opposed to reading the same amount of data if it is spread throughout a disk. However they do give an indication of relative speeds of the components.
Note 2: Device seeds are given MB/s or Mega Bytes per second, whilst network speeds are given as Mb/s or Mega bits per second. You can convert Mb/s into MB/s by dividing by the Mb/s value by 8 (computers use 8-bits per byte)
- SD Card
default card speed = 12.5MB/s
high speed card = 25MB/s
ultra high speed card = 80MB/s
- USB3
4.8GB/s
- PI 4 wifi
114Mb/s ==> 14MB/s
- PI 4 eth0
943Mb/s ==> 117MB/s
- Huawei router
5Ghz; upto 1300Mb/s ==> 162.5 MB/s
2.4Ghz; upto 300Mb/s ==> 37.5MB/s