Tuesday, January 20, 2015

Setting Up Raspberry Pi Using a Laptop loaded with windows.



Recently I bought a Raspberry Pi B+ model, didn’t had extra monitor, keyboard and mouse so I tried to configure the Pi using my laptop loaded with windows 8.I searched on net for the same and got succeeded in configuring it. In this post I have enlisted step by step procedure to configure a raspberry Pi using laptop's monitor.

Things required:



  • Raspberry Pi.
  • Ethernet cable.
  • Memory Card Reader.
  • Micro SD Card.
Power source for raspberry pi (Here I am using my smart phone charger to power the Pi).

We are using source shelling technique to access the Pi through our laptop using SSH client puTTY and will load the GUI onto the laptop screen using Virtual Machine Xming.

You can download them from following links:
Preparing the Memory Card For Raspberry Pi:

I am using Raspberry Pi B+ which is the latest version.This version uses micro sd card for booting up.It's necessary to write the memory card with Operating System.
You can use one of the Operating Systems given in Raspberry Pi website.
I am using Raspbian Wheezy.

Step 1:
 Download the Raspbian wheezy from this link.
Unzip the folder you will get the img file of Raspbian.We need a writer to write the Os onto the micro sd card. We are using win32 diskimager for the task.

Step 2:
 Insert the micro sd card into card reader and plug it to laptop.note the letter of the disk in my case it is ‘I:’.
Start win32 disk imager.load the img file of Raspbian,select the device ie., memory card,in my case it is ‘I:’. Click write and wait until write finishes.


Accessing Raspberry Pi using Laptop loaded with windows:

Step 1: 
Insert micro sd card into raspberry pi. Connect it to power using smart phone charger or by any other means. Connect the Pi to the laptop using Ethernet cable.Open command prompt.Type 'ipconfig'.  Note down the ipV4 address.In my case it is ‘169.254.47.43’.


Step 2:
Disconnect the Raspberry Pi.Switch off the power. Carefully remove micro sd card. Connect it to laptop using card reader. Open ‘cmdline’ at the end write the following ‘ip=169.254.47.46’.Change the ip address to your convenience.Format of the assigned address should be similar to that of ipV4 to ensure that both are in the same network.


Step 3:
 Insert micro sd card into Pi. Connect Raspberry pi back to laptop. Switch on the power. Open puTTY  allow X11 forwarding.Now enter the address into puTTY which is assigned to Raspberry Pi ie., 169.254.47.46.following window will open.User name is ‘pi’.Password is ‘raspberry’.





Step 4:
 Now we have entered in to raspberry pi, we have to load the GUI on to the laptop screen.Start Xming. Enter ‘lxsession’ or ‘startlxde’ into the window.GUI of Raspbian Wheezy will be loaded onto Xming.Open Lxterminal it’s like command prompt in Windows.Enter ‘sudo raspi-config’.You can change user name and password and a lot of things.Rsapbian is preloaded with IDLE which is the text editor for python.It also has many things preloaded to start working with Pi.




 





This was the tutorial to setup raspberry pi without any external monitor or laptop.In my next post I will try to come up with some more interesting stuff.

Until then 

Happy working with Raspberry Pi !!!!.


2 comments: