Record of Raspberry PI Setup Procedure for ENGN1931Z
** This setup log will begin with quite explicit instructions, but as we proceed, I assume that you will be able to help fill in the blanks.
- Begin with micro SD card loaded with latest NOOBS - New Out of the Box Software
- The microSDs provided with the class kit have been loaded with NOOBS v1.9 (Build-date: 2016-03-18)
- Alternatively, you can follow the instructions here to download and load NOOBS on your own microSD.
- Insert microSD into RPi, connect display+keyboard+mouse, and then power on.
- Note that the RPi autodetects the display resolution on startup, so make sure to connect display first. (Otherwise, you will get very low resolution by default)
- Select and Install Raspbian from NOOBS menr
- This step will take a while (~10-15 minutes), and after the installation is complete it will reboot to a graphic interface.
-
Setup keyboard, location, etc. using top
Menu
>Preferences
>Rasp. Pi Config.
-
Connect to the internet via ethernet cable or Brown-Guest WiFi (instructions below).
-
Select Brown-Guest using network icon in upper right.
-
Launch Epiphany web browser using icon in upper left
-
Navigate to any address to see and accept Brown-Guest WiFi login terms
-
Launch a terminal and update to lastest Raspbian distribution using following commands:
sudo apt-get update sudo apt-get dist-upgrade
-
Change Login Password using the terminal command
passwd
- Note that the default username is
pi
and the default password israspberry
for all RPis.
-
Generate new Secure Shell (SSH) keys using the following terminal command:
sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server
-
Register your RPi with Brown to bypass WiFi terms acceptance in the future
-
Find your MAC (
HWaddr
) address of your WiFi adapter (wlan0
) by usingifconfig
command -
Note and record your
IPv4 address
for the future use. (This should probably resemble 172.18.xx.xx) -
Register your device at http://guestwifi.net.brown.edu/ using another computer. (The web browser on RPi is not secure, so please do not use it to enter your Brown credentials.)
-
Setup SSH on your personal computer following the platform dependent instructions found here
- Now you should be able to SSH into your RPi using the IPv4 address you recorded earlier (Step 9) together with the username
pi
and your password (Step 7).
-
Setup basic (unencrypted) VNC - Virtual Network Connection following subset of instructions here
-
Install and launch tightvnc on RPi from terminal:
sudo apt-get install tightvncserver vncserver :1 -geometry 1920x1080 -depth 24
```
- **When setting up tightvnc, choose a password that is distinct from your RPi login.**
- Install and launch Real VNC's Chrome Add-on link here on your personal computer
- Connect to your RPi by entering IPv4 address (from Step 9) followed by
:
and the port number for tightvnc (usually1
). - For example, if IPv4 address is172.18.24.24
and the vnc is on port1
, then you should use172.18.24.24:1
- Login with your vnc password (see step 11.i above)