Book Image

Building Networks and Servers Using BeagleBone

By : Glenn V Veer, William Pretty, Glenn Vander Veer
Book Image

Building Networks and Servers Using BeagleBone

By: Glenn V Veer, William Pretty, Glenn Vander Veer

Overview of this book

Table of Contents (13 chapters)


Learn how to build and configure your own network based on the BeagleBone. You will do this in a fun and informative way that will not only teach you networking skills but also result in an impressive project.

What this book covers

Chapter 1, Installing Debian onto Your BeagleBone Black, introduces how to install Debian onto your BeagleBone. There are two ways to boot the BeagleBone and run the OS.

Chapter 2, Installing and Configuring Multimedia Server Software, serves as an installation guide for the software that will be used to store the streamed video and to serve up both the audio and video files to any device on the network, either BB, computers, or tablets/phones.

Chapter 3, Installing and Configuring Network Monitoring Software, acts as an installation guide for the software that will be used to monitor the traffic on your local network.

Chapter 4, Installing and Setting Up a BeagleBone RAID System, acts as an installation guide for the software that will be used to create a RAID array out of the partitions that you will create on your USB-connected drives.

Chapter 5, Streaming Videos, will show you how to set up both live and recorded video streaming, using a web-based application.

Chapter 6, Setting Up a Wireless Access Point, shows you how to install and set up a wireless access point or WAP on your BeagleBone system.

What you need for this book

The following is a list of the suggested hardware for those of you who wish to build the entire system described in this book. Additional information has been outlined in the applicable chapters.

  • Two identical USB 2 memory sticks: These should be at least 2 GB in size. The actual size depends on the amount of multimedia data you intend to store.

  • A Beagle Bone compatible USB 2 WiFi adapter: There is a list of compatible adapters available at

  • A four-port USB 2 hub: Depending on the output power of your WiFi adapter, a powered hub may be required.

  • An 8 GB, series 10, uSD card: This is used to boot the root file system.

  • Win32DiskImager: This is available with a search engine search. This will install the Debian image onto the uSD card.

Two memory sticks from the same manufacturer and same model number.

Who this book is for

This book is for beginners to intermediate readers who wish to learn more about how Linux networks are configured. You will learn this in a fun and informative way that will provide you with a finished product that you can enjoy and the skills to make improvements if you wish.


In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Once fdisk is running, enter p as the first command."

A block of code is set as follows:

### Wireless network name ###
### Set your bridge name ###

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

DAEMON_CONF="/etc/hostapd/hostapd.conf" ß Add this line

# Additional daemon options to be appended to hostapd command:-

Any command-line input or output is written as follows:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "It will be displayed as an Open network."


Warnings or important notes appear in a box like this.


Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail , and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files from your account at for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit and register to have the files e-mailed directly to you.


Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to and enter the name of the book in the search field. The required information will appear under the Errata section.


Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.


If you have a problem with any aspect of this book, you can contact us at , and we will do our best to address the problem.