Connect to Raspberry Pi via SSH WiFi through Router

Setup:

Enable the SSH server from the config menu:

sudo raspi-config

Setting up WiFi for the Pi: http://raspberrypihq.com/how-to-add-wifi-to-the-raspberry-pi/

In order to connect to the Pi via SSH through router, we have to fix the IP address of the Pi.

In order to allow the Pi sending requests to the server (localhost in my laptop), we have to fix the IP address of my laptop. These can be done inside the router setting:

fixip

SSH connection:

Download Putty
Enter the fixed IP address of the Pi and select SSH with port 22

putty
By clicking Open, the Pi terminal will show up, and we can control the Pi.

ssh.JPG

Sending HTTP Request :

using

curl [of the computer hosting the server: port/ path]

 

, the Pi now are connected to the server!

curl.JPG

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s