You are previewing Raspberry Pi Networking Cookbook.
O'Reilly logo
Raspberry Pi Networking Cookbook

Book Description

An epic collection of practical and engaging recipes for the Raspberry Pi!

  • Learn how to install, administer, and maintain your Raspberry Pi!

  • Create a network fileserver for sharing documents, music, and videos

  • Host a web portal, collaboration wiki, or even your own wireless access point

  • Connect to your desktop remotely, with minimum hassle

In Detail

The Raspberry Pi is more than just a platform for teaching students how to program computers! The recipes in this book show you how this inexpensive computer can be used out of the box for a number of practical solutions that utilize existing networks and connectivity.

The Raspberry Pi Networking Cookbook is an essential reference full of practical solutions for use both at home and in the office. Beginning with step-by-step instructions for installation and configuration, this book can either be read from cover to cover or treated as an essential reference companion to your Raspberry Pi.

Full of practical and engaging content designed to expand and build upon your existing skills as you work through individual recipes, any computer novice can quickly learn how to become a Raspberry Pi expert without any programming knowledge required. The Raspberry Pi Networking Cookbook will allow you to revolutionize how you use technology on a daily basis, ranging from sharing your media across multiple devices to deploying your very own web portal, or even accessing your desktop remotely.

Table of Contents

  1. Raspberry Pi Networking Cookbook
    1. Table of Contents
    2. Raspberry Pi Networking Cookbook
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
      2. Why Subscribe?
      3. 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. Errata
        2. Piracy
        3. Questions
    8. 1. Installation and Setup
      1. Introduction
      2. Preparing for the initial boot
        1. Getting Ready
        2. How to do it...
        3. How it works…
        4. There's more…
        5. See also
      3. Printing a case – the Punnet
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
        5. See also
      4. Setting up new SD cards
        1. How to do it…
        2. How it works…
        3. See also
      5. Image writer for Windows cards (Win32DiskImager)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. Convert and copy for Linux (dd)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Creating SD cards with BerryBoot
        1. Getting ready
        2. How to do it...
        3. How it works...
          1. Application cartridges
        4. See also
      8. Booting the "official" Raspbian Linux distribution
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      9. Shutting down the Raspberry Pi (shutdown)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
    9. 2. Administration
      1. Introduction
      2. Configuring remote access (raspi-config)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Configuring memory usage (raspi-config)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Remote access (ssh)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Remote access (PuTTY)
        1. Getting ready
        2. How to do it...
        3. There's more...
        4. See also
      6. Changing the login password (passwd)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    10. 3. Maintenance
      1. Introduction
      2. Updating the operating system (apt-get)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
        5. See also
      3. Searching for the software packages (apt-cache)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Installing a package (apt-get)
        1. Getting ready
        2. How to do it...
        3. How it works...
      5. Package management (aptitude)
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more...
        5. See also
      6. Reading the built-in documentation (man)
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more...
        5. See also
      7. Reading the built-in documentation (info)
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more...
        5. See also
    11. 4. File Sharing
      1. Introduction
      2. Mounting USB drives (pmount)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Sharing folders from other computers (mount.cifs)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Automounting USB disks at boot (/etc/fstab)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Automounting a shared folder at boot
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Creating a file server (Samba)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Sharing an attached USB disk via Samba
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      8. Accessing another computer's files (smbclient)
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more...
        5. See also
    12. 5. Advanced Networking
      1. Introduction
      2. Creating a firewall with ufw
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Connecting to the desktop remotely (xrdp)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Installing a web server (Apache, lighttpd, Nginx)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. lighttpd
          2. Nginx
        5. See also
      5. Installing a wiki (MediaWiki)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Creating a wireless access point with hostapd
        1. Getting ready
        2. How to do it...
        3. How it works...
          1. Check the wireless USB adapter
          2. Configure the DHCP server (udhcpd)
          3. Configure the Wireless Access Point server (hostpad)
            1. Set up IP Forwarding
            2. Configure the boot parameters
            3. Start the Wireless Access Point
        4. There's more…
        5. See also
    13. Index