Difference between revisions of "Tutorial (Catenary)"

From Lofaro Lab Wiki
Jump to: navigation, search
(Setup the PI)
(Setup the PI)
Line 18: Line 18:
 
Finally click the '''write''' button to start writing the image onto the card. It will take a while to write, so take a break and grab a donut.
 
Finally click the '''write''' button to start writing the image onto the card. It will take a while to write, so take a break and grab a donut.
  
2. After the image has been written on the microSD card, insert it in the Raspberry Pi 2. Also, connect the wireless adapter to the Pi.
+
2. After the image has been written on the microSD card, insert the card in the Raspberry Pi 2. Also, connect the wireless adapter to the Pi. Finally, connect the Pi to a power source via the microUSB port.
Lastly, connect the Raspberry Pi 2 to a power source via the microUSB port.
+
 
+
If the wireless adapter does not turn on or connect to network, follow these steps:
+
  
 +
==If the wireless adapter does not turn on or connect to network==
 +
follow these steps:
 
Since we cannot ssh to pi from our computer because the wifi adapter is not working,  
 
Since we cannot ssh to pi from our computer because the wifi adapter is not working,  
 
connect the pi to an lcd monitor via HDMI and boot it up there.
 
connect the pi to an lcd monitor via HDMI and boot it up there.

Revision as of 23:20, 7 May 2016

Materials Needed

Two P3DXs Two Raspberry PI 2 Model B V1.1 Two microSD cards (both have to be same size; 32GB and 32GB) for the Raspberry Pis a 60 inch chain from HomeDepot

Setup the PI

1. Flash the microSD card using the image file from this link: image link

After you download the zip file from the provided link, extract it to get the image file.

To write the image on the microSD card, we used the software Win32Disk Disk Imager, which can be downloaded from this link: Win32 Link

Once downloaded, install Win32 and run it. Then click the folder icon to locate and select the image file that was previously downloaded. Now make sure that the microSD card is inserted at this point. Then on the device drop-down menu, select the name/directory of the microSD card. Finally click the write button to start writing the image onto the card. It will take a while to write, so take a break and grab a donut.

2. After the image has been written on the microSD card, insert the card in the Raspberry Pi 2. Also, connect the wireless adapter to the Pi. Finally, connect the Pi to a power source via the microUSB port.

If the wireless adapter does not turn on or connect to network

follow these steps: Since we cannot ssh to pi from our computer because the wifi adapter is not working, connect the pi to an lcd monitor via HDMI and boot it up there.

2. Once booted, login with the username rpi2 and password (not shown here. Ask people at the lab).

3. Then on the terminal go to the root directory, and edit the network interface file:

   cd ~/ 
   nano /etc/network/interfaces