loading

This instructable helps you to setup raspberry pi for the first time without hdmi monitor .By the end of this tutorial you can see the raspberry pi desktop screen from your server laptop.

difficulty level:- 1/5

Not required any technical knowledge

My current project: (Check this)

IOT enabled NFC Shopping

Working Video: https://www.youtube.com/watch?v=6t5t8SaKrW4

Instructables: https://www.instructables.com/id/IOT-Enable-NFC-shopping/

Step 1: Requirements

  • software:-
  1. Raspbian image--934mb
  2. Putty---484kb
  3. DHCP Server--100kb
  4. Xming----2.2mb
  5. Sd card formatter--6mb
  6. Windows Disk Imager--12mb
  • hardware:-
  1. A Raspberry Pi Model A/B/B+
  2. An Ethernet cable
  3. USB power cord
  4. PC with an Ethernet adapter (here i'm using windows 8 )
  5. SD card 8Gb with Adapter

Step 2: Preparing SD Card

Download the SD formatter (link provided in step 1)

Place SD card in card reader and connect it to your PC.Open SD formatter , choose the SD card location and format it (before formatting make sure you choose format size adjustment ON in options).

Download the image file of the Raspbian (zip file)

Download and open Windows Disk imager then choose the raspbian image file (extract the zip file) and click write.It takes some time (keep calm and watch the progress bar).

Congrats!!! you have successfully done with the SD card ,now move forward to see ,how to boot the raspberry pi.

Step 3: Time to Power Up Your Raspberry Pi !

Insert your SD card in the adapter and place it in the SD card slot of the PI.

Power up the raspberry pi with power cord. (make sure red led PWR in PI glows).

now get read to connect the PI with ethernet cable.

Step 4: Ethernet Connection to PI !!

connect the pi with ethernet cable.

Setting Static IP address for Raspberry PI

open controlpanel > network and sharing center > change adapter settings >ethernet (it will be Local area network in win7)

properties of ethernet > choose the manual ip

change the ip and subnet mask as below .

ip: 192.168.1.1 (usually IP address of pi is 192.168.X.Y)

Subnet mask: 255.255.255.0

check the ip config (you can skip this section):-

open cmd prompt and type "ipconfiig" and verify the ipv4 in ethernet section

double check the connection by pinging the network

type ping 192.168.1.1 in cmd prompt

Step 5: Creating Server in PC

download dhcpsrv2.4

Refer the images for clear understanding.

Open "dhcpwiz", choose the ethernet and click next (don't change any supported protocols).

Change the ip-pool range from 192.168.1.100 to 110 ,click the write INI file and tick the "overwrite the existing file"

check that the status of service is running and firewall exceptions is configured , if not check the admin option.

Finally tick the "run DHCP server immediately" option and click finish.

Now open "dhcpsrv" and click the "Continuous as tray app" (you can see the app running in the taskbar).

If raspberry pi is powered , disconnect the power connection and power up it again.

Wait till "assigning ip address 192.168.1.100 to client b8.xx-xx-xx-xx-xx " notification is displayed near the tray icon of the taskbar.

If you see the above statement , 85% of your job is complete ...cheers!!!

Step 6: Puttyyy!!!!!

Download and open the putty

Type "192.168.1.100" in host name column and leave port column as 22(default).

Check the ssh option and click open if you are running for the first time you will get a warning message , click ok , it will ask for the login id and pass word.

login as: pi
pi@192.168.1.100's password:raspberry

(password will not be visible when your typing )

Now you are successfully connected to the raspberry pi from the laptop.

Now type the following command

sudo raspi-config

You can see a blue screen ,where you can check the configuration of PI ,vary the time and lot more.

(navigate the options by tab button)

Step 7: Monitor the PI From Xming.

Download and open xming ,you can see it running in the taskbar below.

Now type the following command in putty

lxsession

It takes some time and opens a new window (yes.i know it is for what, your waiting for) with a beautiful raspberry symbol on desktop.

congrats!!! you have successfully opened the raspberry pi OS from your pc.

happy2help:

If you have any queries or feedback ,please leave your comment below.

<p>Amazing instructable. Trying on my RPi.</p><p>Just one thing. When you say - </p><p><em>Wait till &quot;assigning ip address 192.168.1.100 to client <br>b8.xx-xx-xx-xx-xx &quot; notification is displayed near the tray icon of the <br>taskbar.<br></em></p><p>What typically is the wait time??<br></p>
<p>Well... it worked without actually giving the notification. </p><p>I confirmed the connection by checking the updated dhcptrc.txt file.</p><p>The file keeps updating with text like this - </p><blockquote>[05/19/2017 18:27:39] Client B8-27-EB-F4-02-C6 is configured with the IP address 192.168.1.100<br>[05/19/2017 18:27:39] Client B8-27-EB-F4-02-C6 is configured with the IP address 192.168.1.100</blockquote>
<br>i get this as output if i pinged it it in the prompt. is it correct?<br>i have attached the image. if it is correct then why cant i activate the putty? help me please
<p>in putty use &quot;192.168.1.100&quot; instead of &quot;192.168.1.1&quot; on port number &quot;22&quot;</p>
i used &quot;192.168.1.100&quot; and &quot;192.168.1.1&quot;. For both the ip the putty does not work. It becomes inactive giving network error message
<p>please download the &quot;angry ip&quot; and find the ip address of the raspberry pi </p>
<p>hi. i followed your tutorial but at the end when i opened putty,and after setting it ,a message appeared saying &quot;Network error:Connection timed out&quot; and when clicked to &quot;ok&quot; Putty began inactive.</p>
<p>do u able to get success on pinging the raspberry PI ?</p>
<p>yes,i got the notification but when i enter that ip address in putty ,it says &quot;Network error:Connection timed out&quot; and putty became inactive</p>
<p>try with &quot;192.168.1.100&quot; on port no &quot;22&quot; in putty</p>
<p>i used both &quot;192.168.1.100&quot; and &quot;192.168.1.1&quot;. But the putty becomes inactive.plz help me it's very urgent </p>
<p>do you want me to change the ip address 192.168.1.100 in properties of ethernet?</p>
<p>hi. everything went right as you said but finally when i entered the ip address in the putty and clicked open. network error pop up came for me and the putty became inactive.please help me its urgent </p>
<p>Have you connected raspberry pi to the PC using lan cable? Have you assigned the static ip to it in the control panel? finally do u able to ping the raspberry pi from you PC ? </p><p>let me know ..</p>
yes i connected the pi to my pc with lan cable.I also assigned the static ip and i can ping the raspberry pi also. but after giving ip in putty it does not work.i dont know what to do now
<p>hi. i followed your tuto but at the end when i opened putty,and after setting it ,a message appeared saying &quot;Network error:Connection timed out&quot; and when clicked to &quot;ok&quot; Putty began inactive. Help me please .thanks. :)</p>
<p>Nice work! Thank you for sharing this!</p>
<p>thanks for your kind words.</p>
U might want to be a little more detailed in describing software and hardware components, especially for people who have just opened their box for the first time:) Like when you say open the config file in pi/home/blah you might want to tell them what and how to type into the terminal.
Sorry, didn't completely read:( disregard my last few sentences:)
<p>thanks @cudy789 for your feedback...i'll try to change the things ,which were not clear .please give me more details that has to be change.</p>

About This Instructable

14,269views

158favorites

License:

More by achakravarthi:Weebo (Concept) Wifi Chat -DIY IOT Enable NFC shopping 
Add instructable to: