Raspberry Pi Networking Cookbook

Raspberry Pi Networking Cookbook
eBook: $20.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 20%!
Print + free eBook + free PacktLib access to the book: $55.98    Print cover: $34.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • 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


Book Details

Language : English
Paperback : 204 pages [ 235mm x 191mm ]
Release Date : March 2013
ISBN : 1849694605
ISBN 13 : 9781849694605
Author(s) : Rick Golden
Topics and Technologies : All Books, Other, Cookbooks

Table of Contents

Chapter 1: Installation and Setup
Chapter 2: Administration
Chapter 3: Maintenance
Chapter 4: File Sharing
Chapter 5: Advanced Networking
  • Chapter 1: Installation and Setup
    • Introduction
    • Preparing for the initial boot
    • Printing a case – the Punnet
    • Setting up new SD cards
    • Image writer for Windows cards (Win32DiskImager)
    • Convert and copy for Linux (dd)
    • Creating SD cards with BerryBoot
    • Booting the "official" Raspbian Linux distribution
    • Shutting down the Raspberry Pi (shutdown)
    • Chapter 2: Administration
      • Introduction
      • Configuring remote access (raspi-config)
      • Configuring memory usage (raspi-config)
      • Remote access (SSH)
      • Remote access (PuTTY)
      • Changing the login password (passwd)
      • Chapter 3: Maintenance
        • Introduction
        • Updating the operating system (apt-get)
        • Searching for the software packages (apt-cache)
        • Installing a package (apt-get)
        • Package management (aptitude)
        • Reading the built-in documentation (man)
        • Reading the built-in documentation (info)
        • Chapter 4: File Sharing
          • Introduction
          • Mounting USB drives (pmount)
          • Sharing folders from other computers (mount.cifs)
          • Automounting USB disks at boot (/etc/fstab)
          • Automounting a shared folder at boot
          • Creating a file server (Samba)
          • Sharing an attached USB disk via Samba
          • Accessing another computer's files (smbclient)
          • Chapter 5: Advanced Networking
            • Introduction
            • Creating a firewall with ufw
            • Connecting to the desktop remotely (xrdp)
            • Installing a web server (Apache, lighttpd, Nginx)
            • Installing a wiki (MediaWiki)
            • Creating a wireless access point with hostapd

            Rick Golden

            Rick Golden sat in the computer lab at SUNY Fredonia and completed his first CAI tutorial for programming in APL. It was the summer of 1972; he was nine years old. Most of the programming that he has done since then has been in Algol-based languages such as PL/I, FORTRAN, BASIC, Pascal, C, C++, C#, Objective C, and Java. He did occasionally write code in languages such as APL, FORTH, LISP, and Scheme; however, he could not find an employer that would actually pay him to develop solutions using those non-structured languages. In recent years he has had more success introducing organizations to scripting languages such as Python, Perl, TCL, Ruby, Groovy, and Node.js. He also had the privilege to work in many different domains applying leading technologies through each cutting-edge wave of structured programming, architectural frameworks, and design patterns. He has championed distributed computing, scripting languages, SOA, browser applications, CMS, ESBs, web services, nosql and map-reduce, top-down structured approach, UML, use cases, XP - extreme programming, iterative development, and agile development. And, he is still moving forward. Now, as he approaches his 40th year as a programmer, software architect, and product manager—a career that has spanned eighty percent of his life. He greatly enjoys guiding and coaching the next generation of programmers and software architects—awakening others to the same joy and passion for computing that he has had for the past 40 years.

            Submit Errata

            Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


            - 1 submitted: last submission 30 Oct 2013

            Errata type: Code | Page number: 74

            2.   Execute the following command:
            apt-cache search fortune –names-only

            the "–names" should be "––names"

            Errata type: Code | Page number: 75

            When apt-cache command is run without the option -names-only, the command summary is also searched.

            Should be:

            When apt-cache command is run without the option --names-only, the command summary is also searched.

            Sample chapters

            You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

            Frequently bought together

            Raspberry Pi Networking Cookbook +    Raspberry Pi Cookbook for Python Programmers =
            50% Off
            the second eBook
            Price for both: £21.45

            Buy both these recommended eBooks together and get 50% off the cheapest eBook.

            What you will learn from this book

            • Get started with the Internet of Things (IoT)
            • Discover how to configure and secure your Raspberry Pi device
            • Enable remote access both to and from other computers
            • Use your Raspberry Pi to securely share your documents and files
            • Learn how to deploy a web server capable of serving your own content
            • Build your own wireless access point and even a firewall

            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.


            Written in an accessible yet practical manner, the "Raspberry Pi Networking Cookbook" is the perfect companion guide for the ARM GNU/Linux box. From the moment you get your hands on your Raspberry Pi you can start to build your understanding with our specially selected collection of recipes.

            Who this book is for

            This book is for anybody who wants to learn how they can utilize the Raspberry Pi to its full potential without having to immediately dive into programming. It's full of step-by-step instructions and detailed descriptions in language that is appropriate for computer enthusiasts and experts alike.

            Code Download and Errata
            Packt Anytime, Anywhere
            Register Books
            Print Upgrades
            eBook Downloads
            Video Support
            Contact Us
            Awards Voting Nominations Previous Winners
            Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
            Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software