Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Gaming - Second Edition

You're reading from   Raspberry Pi Gaming - Second Edition Design, create, and play all kinds of video games on your Raspberry Pi computer

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784399337
Length 140 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Shea Silverman Shea Silverman
Author Profile Icon Shea Silverman
Shea Silverman
Arrow right icon
View More author details
Toc

Hooking up your Raspberry Pi

It's very easy to properly set up a Raspberry Pi. If you can build a Lego set, you can build your Raspberry Pi computer. The following steps will help you in this:

  1. Place your SD card into the SD card slot on the underside of the Raspberry Pi.
  2. Connect the HDMI or RCA cable to the respective connector on the Raspberry Pi, and plug the other end into your monitor.
  3. Plug the Ethernet cable into the Ethernet jack (not applicable to Model A and A+) on the Raspberry Pi and the other end into your router or switch.
  4. Connect the USB mouse and keyboard to the two USB ports available on the Raspberry Pi. If you are using Model A, connect a USB hub to your Raspberry Pi and the mouse and keyboard to the hub.
  5. Plug the power supply's Micro USB connector into the Micro USB port on the Raspberry Pi to turn it on.
  6. A red LED, by the USB ports, will light up to indicate that the power is turned on.
  7. On your screen, a square rainbow image will appear for a brief moment, followed by some quick moving text or a graphic loading screen.

Congratulations! You have successfully booted up your Raspberry Pi!

Connecting to a Wi-Fi access point

The Raspberry Pi and Raspbian can easily connect to the Internet via Ethernet, but when using a USB wireless device, you can also connect to a Wi-Fi network. Raspbian includes a graphical utility to make connecting to a Wi-Fi access point easy. Go through the following steps:

  1. Boot up your Raspberry Pi.
  2. At the login screen, enter your username and password (default is pi and raspberry, respectively).
  3. In the command prompt, type startx to launch the desktop environment.
  4. Using your mouse, double-click on the WiFi Config icon that is on the desktop.
  5. The Wi-Fi configuration tool will appear shortly.
    Connecting to a Wi-Fi access point
  6. Click on Scan to scan for available wireless networks around you.
  7. Double-click on the one you wish to connect to.
    Connecting to a Wi-Fi access point
  8. If it is a secured network, you will be asked for a password.
  9. Enter the password and click on Add.
    Connecting to a Wi-Fi access point
  10. The Status: Disconnected message should now change to Status: Completed.
    Connecting to a Wi-Fi access point
  11. You are now connected to your wireless network.

    Note

    wpa_gui saves your connection information. If you logout or reboot your Raspberry Pi, it will automatically try to connect to a previously added access point.

    If you do not see wlan0 appear in the wpa_gui, or if your Raspberry Pi is unstable, you might need to use a powered USB hub. You should connect your device to a powered hub, and then connect the hub to the Raspberry Pi. This will ensure that the correct amount of power is received.

    You can also check whether your Wi-Fi adapter is supported by visiting http://elinux.org/RPi_USB_Wi-Fi_Adapters.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image