O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building Networks and Servers Using BeagleBone

Book Description

Set up and configure a local area network and file server by building your own home-based multimedia server

In Detail

Create your own video theatre and music jukebox using Beaglebone. Make your multimedia library available to all the devices on your network, without spending an excessive amount of money on computer components and software.

You'll start off by installing the Debian operating system image onto your BeagleBone, and setting up the software required to serve up both audio and video files to any device on the network. Next, you'll move on to network monitoring software, and install traceroute, MTR (My traceroute), Nmap, and iptraf-ng, to monitor the traffic on your local network. Once the monitoring software is set up, you'll create a RAID array to store all your media files. You'll then go one step further, and set up live and recorded video streaming using a web-based application. Finally, you'll learn to add Wi-Fi connectivity to your multimedia server by setting up WAP on your BeagleBone system.

What You Will Learn

  • Install and configure the latest Debian image onto your BeagleBone
  • Set up simple file services and multimedia sharing services
  • Monitor your network traffic to ensure high-speed streaming
  • Build and utilize a RAID storage system
  • Stream live video action from your BeagleBone
  • Make your multimedia server wireless by setting up a DHCP WiFi Server

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Building Networks and Servers Using BeagleBone
    1. Table of Contents
    2. Building Networks and Servers Using BeagleBone
    3. Credits
    4. About the Authors
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Installing Debian onto Your BeagleBone Black
      1. Setting up to install Debian
        1. Using the SD card before the resizing operation
      2. Installing Tightvnc
      3. Running the Cloud9 IDE
      4. Summary
    9. 2. Installing and Configuring Multimedia Server Software
      1. Setting up a static IP on the BeagleBone
      2. Starting the VNC server
        1. Installing NTP
        2. Setting the local time zone
      3. Installing and configuring Samba
      4. Installing the DLNA server
      5. Summary
    10. 3. Installing and Configuring Network Monitoring Software
      1. Installing Traceroute
        1. Installing My Traceroute
      2. Installing Nmap
        1. Using Nmap
      3. Installing iptraf-ng
        1. Configuring iptraf-ng
      4. Summary
    11. 4. Installing and Setting Up a BeagleBone RAID System
      1. Determining the available partitions
      2. Preparing the partitions with fdisk
      3. Installing Mdadm
      4. Preparing the RAID set
        1. Confirming whether RAID is correctly initialized
        2. Creating the Mdadm.conf configuration file
        3. Creating a mount point for the RAID set
        4. Configuring Samba
      5. Summary
    12. 5. Streaming Videos
      1. Installing MySQL5
      2. Installing Lighttpd
      3. Disabling Cloud9 services
      4. Installing PHP5
        1. Configuring Lighttpd and PHP5
        2. Testing PHP5
        3. Setting up MySQL support in PHP5
      5. Creating your own home page
        1. Creating two modified PHP files
      6. Configuring a streaming video
      7. Summary
    13. 6. Setting Up a Wireless Access Point
      1. Installing hostapd
      2. Installing DHCP
        1. Enabling Wi-Fi security
      3. The hardware
      4. Summary
    14. Index