Skip to main content

Raspberry Pi remote ssh

In this post I will teach you how to remotely access your rasperry pi from another computer on the same network. we can access the raspberry pi without connecting a monitor, keyboard or a mouse to it. I assume you have downloaded the SD card Image of raspbian "wheezy" or similar. and setup your SD card. By default the ssh will be enabled on the raspbian "wheezy". Now you just need to insert the SD card and plug in the LAN cable or a WiFi Dongle. check the connection once and power it up.

now you have to find the internal IP address for the raspberry pi. The common one is to connect it to a monitor and connect a keyboard. power it on and enter
user name: pi
password: raspberry
Now type ifconfig, scroll and find the IP address. usually i will start from 192.168.x.x. note down this IP address.
The second method which I discovered was to log in to your WiFi router (I had connected my raspberry pi to LAN using the WiFi router). In this method you need not connect a monitor or a keyboard to the raspberry pi. just connect the powersupply and to LAN/WiFi You can do this from your computer by going to the URL bar and typing 192.168.1.1 (this might be different for different manufacturer/service provider) By default,
user name: admin
password: password
Then browse and select device info and scroll down and click on DHCP. There you can see the devices connected on your network. search for raspberrypi and see the IP address to its right and note it down.
Now to connect to the raspberry pi from the computer.

For windows User:
Download puTTY and execute it.
puTTY
No enter the IP address of the raspberry pi and click on open. you will get a terminal.
login as: pi
password: Raspberry
Now type sudo raspi-config and configure your raspberry pi!

For Linux users:
Open the terminal and type ssh pi@192.168.1.3(Type your raspberry pi IP adddress instead of 192.168.1.3) and press Enter
login as: pi
password: Raspberry
Now type sudo raspi-config and configure your raspberry pi!


Comments

Popular posts from this blog

Switch debouncer using SR Latch

We use switch in our day to day life to switch ON/OFF a bulb or a fan or  any electrical devices. But when we use switches in digital circuits, we observe a phenomenon called bouncing. This occurs because, when we turn the switch, the mechanical parts vibrate. i.e It toggles between ON and OFF state for some time until the mechanical contact attain equilibrium. this vibrations are minute and are not at all noticeable in electrical circuit. where as in digital circuits, these vibrations create pulses. which are detected by circuits which results in an error.               In the above circuit, there is a switch connected to VCC. You can toggle it between terminal 'a' and terminal 'b'. which as a voltage drop of 'Va' and 'Vb' respectively. In digital circuits if you can observe, it takes a finite amount of time to toggle between terminal 'a' and 'b'. which might approximately take 15ns. Now let us consider the terminal is at 'a'. we

PIC 18F452 Programming: LED blinking using assembly

Here is the basic program you need to start off with when you learn to use a microcontroller. We are using the microchip family PIC microcontroller. Which stands for Peripheral Interface Controller, PIC 18F452 is a 40 pin 8-bit microcontroller with 32 KBytes flash, 1536 Bytes of RAM and 256 Bytes EEPROM. It also boasts 4 timers, and three external interrupt pins. Coming to our first program, We will be using MPLAB for Building this project. Create a new project and select MPASM Suite for compiling. After writing the program, Dont forget to add the linker file and the source file in the source window. The linker file for the PIC 18F452 can be found in the  C:\Program Files\Microchip\MPASM Suite\LKR. search for 18f452. In this program, the Bit RB0, toggles continuously with some delay. Connect an LED to The RB0 Pin, i.e Pin 33.connect a 330E resistor in series with the LED. PROGRAM #INCLUDE p18f452.INC; CONFIG WDT=OFF; disabling the watchdog timer ORG 0; Specifing the st

PIC Programming: making a port bits toggle using assembly

CIRCUIT: Program: #INCLUDE p18f452.INC ORG 0 CLRF TRISD  L1 SETF PORTD CALL DELAY CLRF PORTD CALL DELAY GOTO L1 DELAY MOVLW 0xff MOVWF 0x10 L2 DECF 0x10,F BNZ L2 RETURN END