GitHub: https://github.com/michaeldelcid/Design6/tree/master/Lab%201
In this lab I will be sending an email using the Raspberry Pi's terminal. Since the email will be sent from the terminal, I will have to add my Raspberry Pi to Google's 'App Passwords'. This feature will let me sign in to my Google Account without doing 2-Step Verification.
Successfully added Raspberry Pi to App passwords
Before running the program, I have to assign an email recipient, the sender (my email) and the password (16-digit password generated from App Passwords).
Module 'my_ip.py' uses Simple Mail Transfer Protocol to send host IP address from one email address to the recipient.
Enter command to run:
$ python my_ip.py
SUCCESS! The IP address sent to the email address was encoded for security purposes.
In Part D of the Lab I experimented with VNC Viewer on a Mac and VNC server on the Pi.
Some background info:
Virtual Network Computing is a graphical desktop-sharing system that uses the Remote Frame Buffer protocol to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical-screen updates back in the other direction, over a network.
I downloaded VNC Viewer and input the IP address of my raspberry pi. I was immediately prompted for login credentials. Pics of the VNC Viewer screens for the Mac and pi are shown below.