Anonymous communication with PirateBox
Hoist the Mainsails
Besides the installation instructions, you will find a detailed page with further "Raspberry Pi(rate) Box Mods" in the PirateBox wiki [6]. For example, you can enable a USB WiFi stick if you do not want to use the wireless module built into the RPi3, and you will also find information on how to encrypt the WiFi network provided by PirateBox.
For security reasons, PirateBox isolates the devices logged in over WiFi from one another. In network engineering-speak, this is known as "AP isolation," with the result that data can only be exchanged between participants via PirateBox. In return, isolation provides security against unfriendly access to the client computers. If so desired, you can disable this function with a configuration in the /opt/piratebox/conf/hostapd.conf
file (Listing 5).
Listing 5
Disabling AP Isolation
$ sudo sed -i -e 's|ap_isolate=1|#ap_isolate=1|g' /opt/piratebox/conf/hostapd.conf $ sudo systemctl restart piratebox
If you have run out of small memory cards, and you do not want to waste space on the system SD, you can extend the system to the complete SD card by logging in to PirateBox via SSH and executing the command:
$ sudo /opt/piratebox/rpi/bin/sdcard_share.sh
After a brief moment, the complete storage capacity of the SD card is available under /mnt/sdshare
.
Lessons Learned
PirateBox is suitable for users who want to make an anonymous file server available to friends and acquaintances at meetings. The developers have designed the system to work without logins, and it works independently of the locally available network infrastructure: Using the Raspberry Pi's wireless LAN adapter, it sets up its own network. Additionally, PirateBox does not keep any logbooks, so it cannot trace who is chatting, has what nickname, is writing forum posts, or is loading data into the treasure chest.
Application scenarios include, for example, musicians and bands who want to offer their fans individual tracks for download at concerts or pop-up gigs. A power bank is all you need to supply the Raspberry Pi with electricity. Teachers could provide their students with a fast and easy way to use a server for projects, and presenters could use PirateBox to provide materials for a conference.
Infos
- PirateBox: https://piratebox.cc/raspberry_pi:diy
- Kareha: http://wakaba.c3.cx/s/web/wakaba_kareha
- foobar2000: https://www.foobar2000.org
- VLC Media Player: https://www.videolan.org/vlc/
- Slick UPnP: https://play.google.com/store/apps/details?id=com.cajor.dk.dlna&hl=de
- Raspberry Pi(rate)Box Mods: https://piratebox.cc/raspberry_pi:mods
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.