Using Raspberry Without monitor using ssh



Step1: Download wheezy image from http://www.raspberrypi.org/downloads

Step2: In order to install this image into SD card use win disk manager in windows.Open the windisk manager and give the path of the image and click on write



Now put the sd-card into raspbery pi and connect to the monitor and on the supply.here u enable ssh


Step 3: Open the file system in ubuntu or any linux versions and go to /etc/network
and open the interface file
               sudo nano  /etc/network/interfaces


You will get a screen like this



In the above he is using dhcp to get the ip. lets make the ip static


Step4: Write in the file following
        change the iface eth0 inet dhcp to iface eth0 inet static

          and add auto eth0 after auto lo

and add the following libes after iface eth0 inet static
addr 192.168.1.4

netmask 255.255.255.0
gateway 192.168.1.1


 
Step5: Now Connect the SD-Card to the Raspberry Pi and connect RJ-45 cable from raspberry pi to laptop or pc

                    Step6: Give Ip address to ur linux system. Enter the following command
                       sudo ifconfig eth0 192.168.1.3 up

                Step7: Now use ssh to connect to Raspberry
               ssh pi@192.168.1.4
              Enter the password:raspberry and u r connected

        


Comments

Popular posts from this blog

bb.utils.contains yocto

Difference between RDEPENDS and DEPENDS in Yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig