Raspberry Pi 3 – I got one! Now what do I do with it?

GREETINGS TO ALL FROM MALICE-CORP.COM.  We have he second in Malice-Corp’s series on Raspberry Pi 3!  Here we are going to talk about the first steps with your new Pi and just getting it up and running.  If you want to read about why you should have a Raspberry Pi 3 check out our earlier article here.

Well I am going to assume we all have our unpacked Raspberry Pi 3 Kit.  For the purpose of this article I am going to assume you purchased a kit like this one:

 



This little kit comes with an a 32 GB microSD card and a HDMI cable! Is a really nice purchase at the price. Moving ON!

Step 1 Put the Pi in its case:

Raspberry Pi 3 in my favorite case.
Raspberry Pi 3 in my favorite case.

It is a good idea to put the Pi in the case as soon as possible.  It is an exposed circuit card and so is subject to ESD (electrostatic discharge).  Plus the just look much nicer in there little cases.  Cases will also vary from kit to kit, so take your time putting the Pi in the kit.  Some case are easily broken when disassembled so remember don’t force it.

If you kit comes with a heat sink please attach that first.  Good kits like the one above come with simple instructions on how to do this.  I will not cover it here because it is going to vary from kit to kit.  Heat sinks can become very important if you plan to over clock the Pi.  (Comment below if you have questions about over clocking or would like Malice-Corp to cover it.)

Step 2 putting in the microSD:

If you purchased a kit like above you will have a microSD that

Raspberry Pi 3 microSD
Raspberry Pi 3 microSD

is pre-load with NOOBS (New Out Of the Box Software).  While this is great cause it means you won’t have to do much to get you Pi up and running.  We will cover the ‘I have a blank SD card’ or ‘I trashed my Pi OS now what’ question in a future article.

All you have to do with your fresh out the book pre-loaded microSD is put it in the Pi. It will only go in one way.  Again gold rule here if it doesn’t slide in easy don’t force it, flip it over and try again!

Step 3 Connect monitor, keyboard, mouse, and power:

Don’t worry this massive set-up is only temporary.  When we are done you won’t need all this stuff to access the Raspberry Pi 3.  So after you have connected your monitor with a HDMI cable your mouse and keyboard via the USB controller and power to the microUSB port the Pi will start the boot process.

Step 4 NOOBS:

It will load the NOOBS client you will want to select Raspbian OS if you want to follow along with Malice-Corp.  There are many other OS available through NOOBS and other sources, but Raspbian is in my opnion the best supported with a huge community to ask questions of and seek help.

NOOBS client Raspbian selected
NOOBS Client

If you don’t have a spare mouse or just don’t feel like using one you can use the short cut keys to make your selections.  Once you have selected Raspbian just hit (i) or click on the install icon on the top and step back.  Once you do this NOOBS is going to be removed from the microSD and all you will have is Raspbian OS (operating system) on the card.  That’s OK! That is what we want.  Like I said we will cover recover situations in a later article.

Step 5 Basic new configuration:

Well now your new Pi is going to boot to it’s GUI desktop.  You can use it like this, but now you have a bulk new set-up that looks like a small desktop and that is no good.  So first we are going to click on the ‘terminal’ icon.  This will give us access to the CLI (command line interface) of the Pi and setup a few things.  One other note, Linux unlike most other OS is case sensitive.  Make sure you are using the capitalization on all commands or Linux or Raspbian which is a form of Linux will have no idea what you are talking about!

Once the terminal is open you will type in the string ‘sudo raspi-config’.  This little string (or command if you want to call it that) will access the Raspberry Pi 3 configuration menu.  I want to explain a little bit about this string first ‘sudo’ means ‘superuser do’.  Basically that means you want to use root command privileges to do something that requires a high level of privileges.  That maybe confusing, I can write more about Linux in general if there are questions.  Just comment below.  To take it down as simple as I can that just tells the Pi to run the following because I am the boss and I am telling you to do it.

sudo_raspi-config_example
the sudo raspi-config command

You can do a lot here; change host name, passwords, turn on/off peripherals and many others.  For right now we are going to do two things.  Set the time-zone and turn on the SSH Daemon. Now just use the tab and arrow keys to move around in this menu.  You may have noticed the ‘pi@thor:’ on my example.  well ‘pi’ is the default user name for a fresh out of the box Raspberry Pi.  It is the user name I am logged in under.  Well the ‘thor’ is the host name I set for this Pi.  You can set yours through the ‘raspi-config’ menu.  It can help you tell them apart later if you have more then one.  Yes before you ask naming my Pi Thor does make me a huge nerd, what website are you reading again?

raspi-config menu
raspi-config menu

Time Zone is the ‘Localisation Options’

  • Set it to your local time zone – So the Pi knows the right time

SSH is under ‘Interfacing Options

  • This little option will allow us to access the Pi remotely over CLI with out the keyboard, mouse, and keyboard messiness.  This will be CLI only, so back to text entry.  OH NO!  wait we will cover later this cool trick called VNC later on in another article.  Yes yes another article.  So just set this option to’ yes’.

Once you have set these two options you select ‘finish’ at the bottom of the menu and it will take you right back to the terminal.

Step 6 Remote CLI access:

Now disconnect your Raspberry Pi and head over to your home router.  You are going to need a Ethernet cable to connect the Pi to your router.  Connect the Pi to the router and reconnect power to the Pi as well.

Rotuer_example
Router Example

Head on over to your desktop or laptop that is connected to your home network.  You are doing to now need to down load a SSH client (Secure Shell).  PuTTY is the most well known and is really easy to use, download it for your PC here.  Once putty is installed on your pc we need to get the Pi’s IP address first.  Your router should have assigned it one through DHCP.  Don’t worry about all that we can cover that later, just comment below if you have questions about DHCP.  To find out what you Pi’s IP is open up your favorite internet browser and log into your router.  Wait I can log into my router.  Oh yeah you can.  All you need to do is type in the address field the IP of the router.  They are default 192.168.0.1 or 192.168.1.1 usually.  Consult your routers manual or manufactures web site for more details or again just ask for help in the comments below.  You will also need your routers user name and password to log in

PuTTy_example
Putty Example

Once you have logged onto your router find how your router displays connected devices. There will be a list of devices and their IPs.  It should be something like 192.168.0.15.  That all depends on your home network and how many devices are attached to your network once you have your Pi’s IP address we can SSH into the little guy. Open PuTTy or what ever SSH client you have decided to use and your going to need to fill in some information.  You will need to filling the ‘username@IP_address’ of your Pi.  You can leave out the username@ but it will just ask you for the username anyway once you connect.  You click open at the bottom, BOOM! You now have a secure connection to your Pi.  OH NO! It wants a password.  The default password for a Pi is ‘raspberry’.  You will be ok unless you changed it and forgot it!

Wow this is a lot, but we are almost all done with the first set-up.  We will be able to talk about more fun stuff later in other articles.

Step 7 Update the Pi:

sudo_apt-get_update
sudo apt-get update example

Now you are logged id in via SSH through your router guess what.  You Pi is also connected to the internet and can now be updated.  Your first step is update the repository links.  This may sound complicated but it is super easy.  You just going to have the Pi go out and check if there are any new changes to the Raspbian website links where it gets it’s updates from.  Use ‘sudo apt-get update’.

This will take a few minutes, once it has finished the Pi now knows about all the repositories it can pull from to upgrade its self to the newest version of software.  We have one last step to finish off the Pi’s initial setup up and that is the upgrade. Use ‘sudo apt-get upgrade’ to have the Pi upgrade all its OS and installed software.  This could take a while depending how old the version of Raspbian is installed on your Pi.  I suggest you go watch the Walking Dead or Game of Thrones episode while you wait.

sudo apt-get upgrade example
sudo apt-get upgrade example

Once it is done you are now completely set up and ready to start experimenting with the Pi.  Stay tuned for more articles on tips, tricks, or projects you can do with the Raspberry Pi 3.  If you have questions or ideas please comment below or use the Contact/Support Us link to send your questions on over to us.

Jack Malice, Contributor and founder.

 

Leave a Reply

Your email address will not be published. Required fields are marked *