PirateBox
First, you should set a password for the root account (which also
will enable SSH). Telnet into the router, and run
passwd.
The next thing you need to do is set up your network interfaces. Modify /etc/config/network to look similar to this:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.2.111'
option netmask '255.255.255.0'
option gateway '192.168.2.1'
list dns '192.168.2.1'
list dns '8.8.8.8'
assuming that the router's IP address will be 192.168.2.111 and your gateway is at 192.168.2.1.
Next, modify the beginning of the firewall config file (/etc/config/firewall) to look like this:
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
#Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name 'lan'
option network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config zone
option name 'wan'
option network 'wan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option masq '1'
option mtu_fix '1'
Leave the rest of the file untouched.
In /etc/config/wireless, find the line that reads "option disabled" and change it to "option disabled 0" to enable wireless. At this point, you need to reboot the router.
Now, connect a FAT32-partitioned USB Flash drive to the router, and run the following commands on the router:
cd /tmp
wget http://piratebox.aod-rpg.de/piratebox_0.3-2_all.ipk
opkg update && opkg install piratebox*
When you restart the device, you should see a new wireless network called "PirateBox - Share Freely". Plug your router in to a USB battery, and place everything into an enclosure of some kind (preferably something black with the Jolly Roger emblazoned on the side). Congratulations! With little to no hassle, you've created a mobile, anonymous sharing device!
Using the PirateBox
The point of the PirateBox is to be integrated easily into a public space with zero effort on the part of the end user; otherwise, no one ever would use it! This means using it has to be incredibly simple, and it is. If you are connected to the "PirateBox - Share Freely" network and you try to open a Web page, you automatically will be redirected to this page (Figure 1).
Figure 1. PirateBox Home Screen
As you can see, you are given choices as to what you wish to do: browse and download files, upload files or chat with other users—all of which is exceedingly easy to do. Go build your own PirateBox and get sharing!
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
| Dart: a New Web Programming Experience | May 07, 2013 |
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- A Topic for Discussion - Open Source Feature-Richness?
- Drupal Is a Framework: Why Everyone Needs to Understand This
- Home, My Backup Data Center
- What's the tweeting protocol?
- New Products
- One Hand Slapping
- Readers' Choice Awards
- Developer Poll
- Reply to comment | Linux Journal
6 hours 36 min ago - Reply to comment | Linux Journal
9 hours 9 min ago - Reply to comment | Linux Journal
10 hours 26 min ago - great post
11 hours 1 min ago - Google Docs
11 hours 24 min ago - Reply to comment | Linux Journal
16 hours 12 min ago - Reply to comment | Linux Journal
16 hours 59 min ago - Web Hosting IQ
18 hours 33 min ago - Thanks for taking the time to
20 hours 9 min ago - Linux is good
22 hours 7 min ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.



Comments
Mobilya Modelleri
this kind of box. I wonder what's inside?
Fantastic concept but...
What's the point of being able to share your files, if there's no1 to share them with? How many people have ever heard of Pirate Box? This is certainly my first time and I'm a huge nerd. Let's say I go fully mobile and take it to a public location, what are the odds of me finding someone who is looking for a pirate box as well? Probably slim. And if they did know about it, why wouldn't they try to bring their own? Then everyone's sharing with each other, yet nobody is connected to one another. Neat concept, but far from practical use.
Veronica @ http://www.bluepelicanloans.com/
PirateBox
One of the most fun aspects of a LAN party was exploring the shared files of all the other users on the network. There were people that would show up, solely for the file swapping. That is exactly what this project is about.PirateBox is a mobile p2p sharing and collaboration platform. Basically it is a wireless hotspot with a slick interface and a shared folder.
regards.
bizworldusa
This will be useful for our
This will be useful for our last finals this coming Saturday. Well, that is, to set it up today so we can pass notes and the other files we have to one another via a centralized location. This way we won't have to format our own individual mess of files in a way that everyone in the group can understand.
I just got it to work in the
I just got it to work in the dorm. Instead of what we normally did before, now everyone can just grab what they want instead of interrupting studying just to ask for the USB again...walking back and forth,..getting frustrated...you know the deal. I must admit, we "kids today" are pretty spoiled in some ways with respect to how convenient some things are. I made a page (well took some notes) on how I was able to get it to work at school: (Actually my brother had to stand over my shoulder when doing it haha)
http://www.baseops.net/aviationbooks/history.html
one question:
how do the dead-drop folks prevent their USB sticks from becoming malware vectors? For that matter, how does the Pirate Box prevent this?
is this essentially an ad
is this essentially an ad hock network that you setup?
The is incredible!
This is a totally awesome idea. I will have to make one my self now lol.
Source code
Any link of the piratebox_0.3-2_all.ipk source code?
:)
I believe it's on Source
I believe it's on Source Forge somewhere but I have the documentation posted on my page: http://www.daplayersclubz.net/networksetups/linux.html