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

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...
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