Book Image

Raspberry Pi Home Automation with Arduino - Second Edition

By : Andrew K. Dennis
Book Image

Raspberry Pi Home Automation with Arduino - Second Edition

By: Andrew K. Dennis

Overview of this book

Table of Contents (16 chapters)
Raspberry Pi Home Automation with Arduino Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Temperature Storage – Setting Up a Database to Store Your Results
Index

SSH


In the first chapter, we verified that SSH was up and running on Raspbian. In order to connect to the SSH service that we started, you will need the Raspberry Pi's IP address.

There are several ways of getting the IP address assigned to your Raspberry Pi, one of which is to check out the DHCP table on your home modem or router. However, an easier method is to check it out on the Raspberry Pi itself.

Note

There are several types of IP address, including public and private. We will be using a private IP address range on our home network.

To do this, power up your Raspberry Pi and load LXTerminal again. Then type the following command:

ipaddr show eth0

Note

You can find your IP address after Inet, like this:

Inet 192.168.3.122/24 brd 192.168.3.255 scope global eth0

You need the portion before /. It reads 192.168.3.122.

Note

An IP address is a way of assigning a unique identifier to a computer or device on a local network or the Internet. The most common form of IP addresses at the moment is IPv6...