Like us on google+

Wednesday, 13 November 2013

Widgets

Booting Up & Configuring Pi


Follow these steps to book up your Raspberry Pi for the first time:
1. Plug the SD card into the socket.
2. Plug in a USB keyboard and mouse. On the Model A, plug them into a
     powered hub, then plug the hub into the Pi.
3. Plug the HDMI output into your TV or monitor. Make sure your monitor
    is on.
4. Plug in the power supply. In general, try to make sure everything else is
    hooked up before connecting the power.

If all goes well, you should see a bunch of startup log entries appearing on
your screen. These log messages show all of the processes that
are launching as you boot up the Pi. You’ll see the network interface be initialized,
and you’ll see all of your USB peripherals being recognized and logged.
You can see these log messages after you log in by typing dmesg on the
command line.
The very first time you boot up you’ll be presented with a few the raspi-config
tool . There are a few key settings you’ll need to tweak here;
chances are good that your Raspberry Pi won’t work exactly the way you want
right out of the box. If you need to get back to this configuration tool at any
time by typing the following at the command line:
sudo raspi-config

Configuring Your Pi: 

Next we’ll walk through the steps and show you which configuration options
are essential and which you can come back to if you need them. When setting
options in the tool, use the up and down arrows to move around the list, the
space bar to select something, and tab to change fields or move the cursor
to the buttons at the bottom of the window. Let’s go in the order of the menu
options in the configuration tool:

Expand rootfs:
You should always choose this option; this will enlarge the filesystem to
let you use the whole SD card.

Overscan:
Leave the overscan option disabled at first. If you have a high definition
monitor you may find that text runs off the side of the screen. To fix this,
enable the overscan and change the values to fit the image to the screen.
The values indicate the amount of overscan so the display software can
correct; use positive values if the image goes off the screen, negative if
there are black borders around the edge of the display.

Keyboard:
The default keyboard settings are for a generic keyboard in a UK-style
layout. If you want they keys to do what they’re labeled to do, you’ll definitely
want to select a keyboard type and mapping that corresponds to
your setup. Luckily the keyboard list is very robust. Note that your locale
settings can affect your keyboard settings as well.

Password:
It’s a good idea to change the default password from raspberry to something
a little stronger.

Change Locale:
If you’re outside the UK you should change your locale to reflect your
language and character encoding preferences. The default setting is for
UK English with a standard UTF-8 character encoding (en_GB.UTF-8).
Select en_US.UTF-8 if you’re in the US.

Change timezone:
You’ll probably want to set this.

Memory split:
This option allows you to change the amount of memory used by the
CPU and the GPU. Leave the default split for now.

Overclock:
You now have the option of running the processor at speeds higher than
700MHz with this option. For your first time booting, leave the default
settings or try Medium or Modest. You may want to return to this later
(Turbo mode can run at 1000MHz).

SSH:
This option turns on the Secure Shell (ssh) server, which will allow you
to login to the Raspberry Pi remotely over a network. This is really handy,
so you should turn it on.

Desktop Behavior:
This option lets you boot straight to the graphical desktop environment
and is set to Yes by default. If you select No, you’ll get the command line
when you boot up and you’ll have to login and start the graphical interface
manually like this:
raspberrypi login: pi
Password: raspberry
pi@raspberrypi ~ $ startx
When you’re in the graphical desktop, your command prompt will disappear.
You can open a terminal program to get a command prompt
while you’re in the graphical desktop. Click the desktop menu in the lower
left, then choose Accessories→LXTerminal.

Update:
Finally, if you’re connected to the Internet you’ll be able to update the
conifg utility with this option. Don’t update the OS on your first time
around.

When you’re done, select Finish and you’ll be dumped back to the command
line. Type:
pi@raspberrypi ~ $ sudo reboot
and your Pi will reboot with your new settings. If all goes well (and if you chose
the option to boot straight to the graphical desktop environment) you should
see the Openbox window manager running on the Lightweight X11 Desktop
Environment (LXDE). You’re off and running!

Shutting Down:
There’s no power button on the Raspberry Pi . The proper way to shutdown is through the
Logout menu on the graphical desktop; select Shutdown to halt the system.

You can also shut down from the command line by typing:
pi@raspberrypi ~ $ sudo shutdown -h now

Be sure to do a clean shutdown (and don’t just pull the plug). In some cases
you can corrupt the SD card if you turn off power without halting the system

SHARE THIS POST   

  • Facebook
  • Twitter
  • Myspace
  • Google Buzz
  • Reddit
  • Stumnleupon
  • Delicious
  • Digg
  • Technorati
About us:
Hi guys Sandesh and Rajesh here ... studing engineering in PESIT started this blog as a google contest and also we love blogging ...Hope u like it ...Encourage us by liking us on g+... Any queries dont hesitate to ask Read More →

0 comments: