Homework 2 - nlynch25/DigiWorld-HW2 GitHub Wiki
How to Setup tusecurewireless for raspberry pi:
**Project Objective:**
• To get the raspberry pi connected to tusecurewireless using your Temple accessnet username and password
• Ability to use raspberry pi for internet-needed programs
• Continue learning raspberry pi applications
**Components Needed:**
• Raspberry Pi • microSD card • Serial Cable • Computer • Serial2USB • Raspbian
**Setup Procedure:**
-
Using the serial Cable, connect USB to serial
-
On the terminal window, after logging into your pi, type: cd /etc/wpa_supplicant/
-
Then, type ls to see all files
-
Then, open new terminal window to begin creating hash
-
On the OLD window, type: sudo nano wpa_supplicant.conf
-
Home network info as well as TU network info will be shown, find identity=
-
On NEW window, type: echo –n password | iconv –t UTF-16LE | openssl md4
-
Copy hash created. (in Step 7, “password” should be your TU password
-
On OLD window, remove what’s written in password=hash:”x”, and replace with new hash
-
Change the TUid to your personal one, then type Control+X to save
-
Type: sudo reboot
-
Relog into raspberry pi, then type: ifconfig
-
Copy new IP. It can be found written after: inet addr: ”IP”
**Summary / FAQ**
Using the terminal window on Mac, a raspberry pi can be connected to the computer through serial connection to initially set up internet access on tusecurewireless. In order to successfully achieve internet access on Temple’s WPA2(sophisticated enterprise internet) network, the hash and identity of your Pi must be located. The hash and identity of your raspberry pi must match those of your TU accessnet account. The steps above will help to find and replace your TU hash and identity with the hash and identity of your pi.
What is a serial cable?
A serial cable connects Pi’s to computers. One can be provided in class by Professor Bai __ Why does nothing happen after I complete step 7?
Your accessnet password should be typed where it says “password,” not the actual word password.