From a4c74687462992dcf5998346de7315f3ba63ef92 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Wed, 10 Aug 2016 11:27:13 +0100 Subject: [PATCH] added secure notes --- notes/pi | 41 +++++++++++++++++++++++++++++++++++++++++ notes/secure_codes.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 notes/pi create mode 100644 notes/secure_codes.txt diff --git a/notes/pi b/notes/pi new file mode 100644 index 0000000..d9ef86e --- /dev/null +++ b/notes/pi @@ -0,0 +1,41 @@ +# Pi Notes # + +### Setting up Wifi ### + +Open the wpa-supplicant configuration file in nano: + +``` +sudo nano /etc/wpa_supplicant/wpa_supplicant.conf +``` + +Go to the bottom of the file and add the following: + +``` +network={ + ssid="The_ESSID_from_earlier" + psk="Your_wifi_password" +} +``` +In the case of the example network, we would enter: + +``` +network={ + ssid="testing" + psk="testingPassword" +} +``` + +Now save the file by pressing Ctrl+X then Y, then finally press Enter. + +At this point, wpa-supplicant will normally notice a change has occurred within a few seconds, and it will try and connect to the network. If it does not, either manually restart the interface with sudo ifdown wlan0 and sudo ifup wlan0, or reboot your Raspberry Pi with sudo reboot. + +You can verify if it has successfully connected using ifconfig wlan0. If the inet addr field has an address beside it, the Pi has connected to the network. If not, check your password and ESSID are correct. + + +## Swapfile ## + +``` +sudo nano /etc/fstab + +/swapfile1 none swap sw 0 0 +``` \ No newline at end of file diff --git a/notes/secure_codes.txt b/notes/secure_codes.txt new file mode 100644 index 0000000..3eb2ead --- /dev/null +++ b/notes/secure_codes.txt @@ -0,0 +1,26 @@ +-----BEGIN INFOENCRYPT.COM MESSAGE----- +Encryption-Info: AES-128,CBC,PKCS5 Padding +Key-Info: MD5,PBKDF2 HmacSHA1 +Decrypt-URL: https://www.infoencrypt.com + +Er/UT4mH0LlCLUdnhS82QMekya6OFE1k28FmwQD+rUfwGxZpO6cd1DZvmcMssXJzFpyzVUZEuKwt +H8i8TC9HoiNwM2EN7pFbNT9JKi6IuBtbKVJrc4cj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HZsdzhqB7mDOeBa6AFedH +1e/v1wnN0Eie9AlhkqRLaOD2pt6/dwjw8hup0akBPiu+Ji4ypDeXDb1p5t6AZcoxj82zKUSxdeL2 +H6PCG5RTr98OXBnJPKwSr+TZk1Gio1hkR+/uCYA8sbIsD9wKgHkruk+jOdpiYbMKz6dLlNJE06HG +LZRMx6ehabJf/my6p2sz8EHJYhnStCk4wv/XhJkNvCtuXWj7KD1KYAyQ9ZVqp4gT4CdswdjT0EzN +u55wfUkOktM0Xgg7B8qntogRQ7jp +-----END INFOENCRYPT.COM MESSAGE----- \ No newline at end of file