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
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 *
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:
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
You should see something like:
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet manual
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
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.