rishikesh.147
Posts: 2
Joined: Sat Mar 07, 2015 7:11 am

Raspberry pi 2 Set-up Stepwise step!

Sat Mar 07, 2015 8:17 am

What's a Raspberry Pi?
The Raspberry Pi is a very capable mini computer that's small enough to fit in your pocket (even though you'd probably never keep it there). For about Rs 2000-3500, you get a caseless computer with HDMI and analog composite video output. You can add up to two USB devices (which, in most cases, will be a mouse and keyboard) and connect it to the internet via wired ethernet. The Raspberry Pi is powerful and inexpensive, allowing you to create a home media center, internet radio, or even your own VPN server on the cheap. That said, a little setup and a lot of other parts are required to get it up and running. In this post we'll take a look at how to get a Raspberry Pi set up so you can start using it for a variety of purposes.

http://upload.wikimedia.org/wikipedia/c ... 2B_top.jpg


SETUP!!!

What You'll Need
  • Raspberry Pi*
  • HDMI Cable or HDMI to VGA converter (For Display Booting and Configure)*
  • Atleast 4GB Class 4 SD card (or better) and a Card reader *
  • A USB keyboard and mouse *
  • An ethernet cable (Not required for first Boot)
  • A good quality, micro USB power supply that can provide at least 700mA at 5V *
How to Set Up Your Raspberry Pi with a Basic Operating System

WINDOWS
STEP 1: Prepare Your SD Card
First things first, we need to prepare your SD card for the Raspberry Pi. This involves formatting it properly and putting Raspbian, the standard Raspberry Pi operating system, on it. The steps vary depending on whether or not you're on a Mac, Linux, or Windows PC, so just follow the instructions for your operating system below.

1. Download the lastest version of Raspbian and unzip the .img file inside. (It's almost 500MB so it may take a little while to download.) Click Here: http://downloads.raspberrypi.org/raspbian_latest
2. Download Win32DiskImager and unzip the application (.exe file) inside
3. Insert your SD card into your Windows PC using a card reader.
4. Open Win32DiskImager.exe, the application you just downloaded, by double-clicking on it. If you're running Windows 7 or 8, right click on it and choose "Run as Administrator" instead.
5. If your SD card isn't automatically detected by the application, click on the drop-down menu at the top right (labeled "Device") and choose it from the list.
6. In the image file section of the application, click the little folder icon and choose the Raspbian .img file you just downloaded.
7. Click the Write button and wait for Win32DiskImager to do its thing. When it finishes, you can safely eject your SD card and insert it into your Raspberry Pi.

STEP 2: Connect all Stuff to Raspberry Pi

Connecting everything to your Raspberry Pi is pretty easy. Start by connecting the HDMI cable from the unit to your television (or monitor). If you're using the analog composite video connection instead, connect it to your television (or monitor) and plug in a set of speakers to the 3.5mm audio jack. If you want your Raspberry Pi to connect to your network and/or the internet, use an Ethernet cable to connect it to your router. If you've set up a computer before, this should all seem familiar.

Finally, you need to connect your Raspberry Pi with a micro USB power adapter. As mentioned earlier, you need an adapter that can provide at least 700mA at 5V. Fortunately, you probably already have one. Many smartphone and tablet chargers utilize micro USB and provide 700mA at 5V (or more). You can find out by reading the small text on the plug and looking for the output section. (Note: it may say 0.7A (or higher) instead of 700mA.) When you have a compatible power adapter on hand, connect it to a micro USB cable and then connect that cable to the micro USB port on your Raspberry Pi unit. It'll turn on all by itself and you should see it boot for the first time.

STEP 3: Configure Your Raspberry Pi

Once your Raspberry Pi boots for the first time you'll need to configure a few things. You'll know it's ready for you when you see a Raspi-config window with a pretty big list of settings. You can mess with the others if you feel so inclined, but the only thing you really need to do is expand the file system so you can use up all the space on your SD card. To do so, follow these steps:

Select expand_rootfs (the second option) and press enter.
Confirm that you want to expand the file system and let Raspbian do its thing.
When you're returned to the configuration list, go all the way to the bottom and select the Finish option.
It'll ask you if you want to reboot. Choose yes.
Your Raspberry Pi will reboot and take a little longer this time because it needs to expand the file system. After a about a minute you'll be asked to log in. You'll need to use the default username and password:

Username: pi
Password: raspberry

Once you've logged in, you've got yourself a working Raspberry Pi. Congratulations!

Do Setup first for Networking and then remove every thing
Goto terminal and type command

ifconfig

You should see something like:

auto lo
iface lo inet loopback
iface eth0 inet dhcp

iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp


But we want to change the setting so type command
sudo nano /etc/network/interfaces

You will Enter into editing section where you can replace dhcp to static and write this settings

iface eth0 inet static
address 192.168.1.90
netmask 255.255.255.0
gateway 192.168.1.1


NOTE:
and then press CNTRL+X and you will asking for Y/N so type Y and press enter and then asking saving the file name we have to save the file with same name so press enter. THIS WAY WE HAVE SET THE IP Address of Raspberry PI. that is 192.168.1.90 and please remember that.

gkreidl
Posts: 6131
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Raspberry pi 2 Set-up Stepwise step!

Sat Mar 07, 2015 10:33 am

90% of all problems when setting up an RPi are related to power. Your advice is definitely wrong here.
Lots of chargers don't work well with the Pi and many have crappy cables that lead to voltage drops. 700mA is not enough for the Pi2. You need a very good, stable power supply 5V1.2 A or better 5v2A, if you want to use the enhanced power (1.2A) for the USB ports.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “General discussion”