fyi: Here is my guide that I created while I set up a Raspberry Pi Zero W. My previous Raspberry PI 2 Setup Guide here and I wanted to try the single core Raspberry Pi Zero W. Eventually, want to run my Raspberry Pi from batteries (my older guide here).
I plugged in a 2Amp 5v micro USB powder pack, micro HDMI cable, micro USB keyboard and expected to see a light but nothing. This guide says the Raspberry Pi has no power LED. Unfortunately, I thought the power pack was faulty and I plugged it in a few times and corrupted the installed SD-card.
After reading this guide I remembered I forgot to switch the monitor to the HDMI input (oops).
Yep, I realized I corrupted the OS on the SD Card.
Old Noobs Operating System
I checked the SD-Card (that I purchased from eBay) I noticed the SD-Card had an older NOOBS 2.0.0 installation in an in an invalid subfolder (that’s why it would not boot).
I plugged the Micro SD card into an SD-Card adapter and plugged it into my Mac (time to install a newer OS).
Downloading the latest Raspian Operating System
I downloaded a 1.66GB Zip File.
The file took 30 mins to download.
I expanded the zip file to a 4.66 img file.
Formatting the SD-Card
I formatted my SD Card with the SD Card Associations SD formatting tool from https://www.sdcard.org/downloads/formatter_4/ here.
Setting up the SD-Card
The Raspberry Pi Foundation has a great guide on how to install the Raspberry Pi Raspian image onto an SD-Card here.
I downloaded the free 64MB Etcher program for Mac OS here https://etcher.io/ in order to copy (flash) Raspian onto the SD-Card.
I opened Etcher and selected the Raspian Jesse image file and clicked flash.
The flash will take between 5-10 minutes.
SD Card Contents
The Raspian image is now ready for reinsertion back into the Raspberry Pi to setup
1st Raspberry Pi (Raspian) boot.
The raspberry pi does, in fact, have a power/activity led with the latest operating system 🙂
The desktop loaded quite swiftly too. My Bay special keyboard detected just fine. You can manually connect to your wifi by entering the following command in the terminal (thanks to this guide).
sudo nano /etc/network/interfaces
sudo rasps-config # > I changed the password. # > I chnaged the hostname. # > Configured the pi to book to console (logged in) and not the desktop # > Configured the pi to wait for the network on boot # > Configured the splash screen not to show at boot # > Configured the local to be "en_AU.UTF-8 UTF-8" ("en_AU.UTF-8") # > Configured timezone to be Australia/Sydney # > Configured the keyboard to be a "Generic 104 Key PC" (Englist (US) # > Configured Wifi Country to be AU # > Configured the (Interface) Camera = ON # > Configured the (Interface) SSH = ON # > Configured the (Interface) SPI = ON # > Configured the (Interface) I2C = ON # > Configured the (Interface) Serial = ON # > Configured the (Interface) 1-Wire = ON # > Configured the (Interface) Remote GPIO = OFF # > Configured the (Interface) SPI = ON # > Configured the (Advanced) GPU Memory = 16 # Finish and Reboot
I am not using the desktop much so I am happy setting 16MB for the video card.
Get the Mac Address and set a static IP Address (to allow remote SSH management)
After a reboot, I was logged into a shell and was able to bring up the devices network details (including mac address).
Test the network connection
I was successful;y able to ping a remote server via wifi.
Static IP Address
Todo: I set up my local ADSL router to give the Raspberry Pi a Static (known) IP every time it boots.
Update the Pi Software (after the network is up)
Now that I knew the network is working I was able to update the Pi software.
sudo apt-get update sudo apt-get upgrade sudo rpi-update sudo reboot
I re-ran the update just in case. Now my Pi is all up to date.
Installed Misc Software
sudo apt-get install image-magick sudo apt-get install nginx sudo /etc/init.d/nginx start sudo apt-get install php5-fpm
More on setting up a NGINX web server here.
Set the Pi Mouse (regular sized USB devices)
I had small micro USB to larger USB adapters (from eBay) but could only use a keyboard or mouse at any one time. I Also had a micro USB to multiple micro USB and Ethernet adapter (from eBay) (SN: YS-LAN38) but it failed to work with NOOBS 2.0.0 (maybe it will work with Raspian latest)
I wanted to test regular devices in the case of an emergency.
Add information on adding and using a 5MP Raspberry Pi camera and setting this up as a https://fearby.com/article/raspberry-pi-2b-security-webcam/secuerity webcam.
Donate and make this blog better
Ask a question or recommend an article
[contact-form-7 404 "Not Found"]
v1.2 DRAFT: Added more images