Thursday, April 28, 2016

Diving Deeper into Raspberry Pi

After a lot of trial and error, my Raspberry Pi 3 and Pi Zero are both up and running on wifi.  The biggest obstacle ended up being that our router was using a WEP key instead of a WAP key. While I don't fully understand how these differ, the router was the root of my difficulty.  I originally attempted to change the pi's configuration with code, but I was unsuccessful.

After changing a setting on the router itself (from WEP to WAP), writing a clean image of Raspian (via NOOBS), followed by running updates (via Ethernet), was enough to work on my Pi3.





I used the following updates:

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo rpi-update

Afterwards, I rebooted the Pi, took out the Ethnernet cable, and re-typed my wifi key.

While I wasn't able to directly replicate these results using the Pi Zero on its own, moving the SD card from my Pi3 to the Pi Zero did the trick.

Being new to Raspberry Pi, I'm excited that I've gotten this far.  It's challenging to wade through all of the information available online, because so much of it is outdated or too complex.

At this point, I know enough to be dangerous.

For example, I can use sample code to make a Pimoroni Scroll Phat blink.