Book Image

BeagleBone By Example

By : Pei JIA, Jayakarthigeyan Prabakar, Alexander Hiam
Book Image

BeagleBone By Example

By: Pei JIA, Jayakarthigeyan Prabakar, Alexander Hiam

Overview of this book

BeagleBone is a low cost, community-supported development platform to develop a variety of electronic projects. This book will introduce you to BeagleBone and get you building fun, cool, and innovative projects with it. Start with the specifications of BeagleBone Black and its operating systems, then get to grips with the GPIOs available in BeagleBone Black. Work through four types of exciting projects: building real-time physical computing systems, home automation, image processing for a security system, and building your own tele-controlled robot and learn the fundamentals of a variety of projects in a single book. By the end of this book, you will be able to write code for BeagleBone in order to operate hardware and impart decision-making capabilities with the help of efficient coding in Python.
Table of Contents (17 chapters)
BeagleBone By Example
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Giving Internet access to your BeagleBone board


Giving Internet access to the BeagleBone board via the Ethernet is very simple. All you need to do is connect one end of Ethernet cable to the BeagleBone board, and the other end to a router with an Internet connection. The BeagleBone board will obtain the IP address dynamically from the router using DHCP and get Internet access. To check this you can just type in the following command:

ping www.google.com

You will get the response as shown in the following screenshot. This means you have a working Internet connection.

Actually, what the ping command does is, it tests the connection and latency between two network connections. The ping command sends packets of data to the other network computer, in our case the www.google.com server, or the IP address of that server. You can see next to www.google.com in the output above, the global IP address of the server is shown. The picture shows how the ping command measures the time taken to get a response...