Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Raspberry Pi for Secret Agents - Second Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
Raspberry Pi for Secret Agents - Second Edition

Raspberry Pi for Secret Agents - Second Edition

By : Sjogelid
4.1 (14)
close
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
close
6
Index

Turning the Pi into a Wi-Fi hotspot

Let's say you're out in the field with a couple of fellow agents and you want to quickly put up a network for your computers, maybe even share an Internet connection together; your Pi equipped with a Wi-Fi dongle can easily be made into a makeshift access point. Follow these steps to set up your hotspot:

  1. First install the required software with the following command:
    pi@raspberrypi ~ $ sudo apt-get install hostapd bridge-utils
    
  2. Next we need to prevent Raspbian from interfering with the Wi-Fi interface. Open up /etc/network/interfaces for editing:
    pi@raspberrypi ~ $ sudo nano /etc/network/interfaces
    
  3. Find the block that starts with allow-hotplug wlan0 and put a # character in front of each line, like we've done here:
    #allow-hotplug wlan0
    #iface wlan0 inet manual
    #wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
    #iface default inet dhcp
  4. Optionally, if you would like to share a wired Internet connection with the wireless clients, add the following...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
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

Delete Note

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

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY