Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Raspberry Pi for Secret Agents - Second Edition
  • Toc
  • feedback
Raspberry Pi for Secret Agents - Second Edition

Raspberry Pi for Secret Agents - Second Edition

By : Sjogelid
4.1 (14)
close
Raspberry Pi for Secret Agents - Second Edition

Raspberry Pi for Secret Agents - Second Edition

4.1 (14)
By: Sjogelid

Overview of this book

This book is an easy-to-follow guide with practical examples in each chapter. Suitable for the novice and expert alike, each topic provides a fast and easy way to get started with exciting applications and also guides you through setting up the Raspberry Pi as a secret agent toolbox.
Table of Contents (7 chapters)
close
6
Index

Setting up point-to-point networking


When you take your headless Pi outside into the real world, chances are you'll want to communicate with it from a netbook or laptop from time to time. Since you won't be bringing your router or access point along, we need a way to make a direct point-to-point connection between your Pi and the other computer.

Creating a direct wired connection

As there won't be a DHCP server to hand out IP addresses to our two network devices, what we want to do is assign static IP addresses on both the Pi and the laptop. We can pick any two addresses from the private IPv4 address space we saw in the Mapping out your network with Nmap section in Chapter 4, Wi-Fi Pranks – Exploring Your Network. In the following example, we'll use 192.168.10.1 for the Pi and 192.168.10.2 for the laptop. These are the steps to create a direct wired connection:

  1. Type in the following command on the Pi to open up the network interfaces configuration:

    pi@raspberrypi ~ $ sudo nano /etc/network...
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete