Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 55 lines (48 sloc) 2.111 kb
d0354fa @cr documentation added
cr authored
1 ###########################################################################
2 # mkPirateBox.sh v0.1
3 # Shell script that installs PirateBox to your fresh OpenWRT router
4 # (C) 2011, Christiane Ruetten, cr@23bit.net
5 #
6 # Released under GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html
7
8 FEATURES:
9 - Execute this script to your fresh OpenWRT Backfire installation
10 and out comes (hopefully) a ready-to-use PirateBox.
11
12 TODO:
13 - Test other Platforms than Asus WL-500gP
14 - Error checking
15 - Move stage two completely into the init script
16 - Wrap it up in an opk package
17
18 REQUIREMENTS:
19 - Decently powerful router with USB2.0 port which is supported by OpenWRT.
20 It should have 32 MByte RAM and 4 MByte flash. If you want a
21 recommendation: get a Buffalo WZR-HP-G300NH or an Asus WL-500gP.
22 - An external USB hard drive (UMS compatible) formattet with FAT32.
23 - Two ethernat cables
24
25 INSTALL:
26 - Install a fresh OpenWRT "Backfire" 10.03.1 onto your router.
27 I mean really fresh. Do not touch it after you flashed it!
28 - Connect the WAN port to your gateway and a LAN port to your
29 computer. This ensures the router can download packages.
30 - Connect your USB drive. The script assumes a single partition
31 with a FAT32 file system.
32 - telnet into the router on 192.168.1.1.
33 - cd /tmp
34 - wget https://github.com/cr/mkPirateBox/raw/master/mkPirateBox.sh
35 - chmod +x mkPirateBox.sh
36 - ./mkPirateBox.sh
37 - Follow the instructions until the first reset.
38 - Wait for the open wireless network "PirateBox" to appear.
39 - Connect and open any web page.
40 - If you see the PirateBox menu, you're done.
41 - See /root/mkPirateBox.log in case anything went wrong during
42 the invisible setup phase 2.
43 - To start over, rm -rf /overlay/* or reflash OpenWRT.
44
45 REFERENCES:
46 - The PirateBox project:
47 http://wiki.daviddarts.com/PirateBox_DIY
48 - OpenWRT - List of supported devices:
49 http://wiki.openwrt.org/toh/start
50 - OpenWRT documentation (look for tftp installation):
51 http://wiki.openwrt.org/doc/start
52 - OpenWRT "Backfire" 10.04.1-r4 images:
53 http://downloads.openwrt.org/backfire/10.03.1-rc4/
54
Something went wrong with that request. Please try again.