Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours

(singke) #1
If you are using another display output connection other than HDMI, such as video composite or
DVI, then hook it up to the Raspberry Pi and your monitor or TV in a manner similar to the
above.


  1. You are now ready for the initial test drive (exciting isn’t it?!). Sit down in front of your
    monitor or TV and plug the power cord into a power source.


If nothing happens, go directly to the “Troubleshooting Your Raspberry Pi” section, later in this hour.


If a lot of words go flying by on the screen and you see a menu similar to the one shown in the listing
below, congratulations! Your Raspberry Pi boots!


Click here to view code image


Raspi-config
info Information about this tool
expand_rootfs Expand root partition to fill SD card
overscan Change overscan
configure_keyboard Set keyboard layout
change_pass Change password for 'pi' user
change_locale Set locale
change_timezone Set timezone
memory_split Change memory split
overclock Configure overclocking
ssh Enable or disable ssh server
boot_behaviour Start desktop on boot?
update Try to upgrade raspi-config

<Select> <Finish>

Press the Tab key until you reach the menu item and then press the Enter key. The command
line appears, and it looks like this:


pi@raspberrypi ~ $

Pat yourself on the back. All your hard work has paid off, and you have your Raspberry Pi up and
running.


Type sudo poweroff at the command prompt and press the Enter key to shut down and power off
your Raspberry Pi.


Did You Know: Where Did the Menu Go?
Don’t worry if you do not see the Raspberry Pi configuration menu the next time you
boot your Pi. It is configured to show up only the first time you boot. However, in Hour
2 , “Understanding the Raspbian Linux Distribution,” you will learn how to call it up
any time you please.

Whether your Raspberry Pi boots or not, be sure to read through the next section, and then you can
safely proceed to Hour 2.


Troubleshooting Your Raspberry Pi


The following sections discuss the most common areas to check when you are having problems
getting a Raspberry Pi to boot.


Check Your Peripheral Cords

Free download pdf