Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberry_pi [2014/11/23 04:10]
darts removed
raspberry_pi [2014/11/23 04:19]
darts
Line 1: Line 1:
-<​html>​ +===== Raspberry ​Pi(rate)Box ​Documentation ​===== 
-<div class="​jumbotron">​ +Below you will find listing of all of the Raspberry Pi pages on this site
-<​h1>​Raspberry Pi(rate)Box</​h1>​  +  * [[raspberry_pi:​diy|Raspberry Pi DIY]] 
-<​p><​b>​Raspberry Pi(rate)Box 1.0 </​b><​b><​a href="​http://​downloads.piratebox.de/​ArchLinuxARM-2014.10-PirateBox1.0.1_rpi_1.0.1.img.zip.torrent">​is now available for download via BitTorent!</​a></​b>​ See our <​b>​easy DIY instructions below </b> for details on how to <​b>​build your own Pi(rate)Box.</​b>​ <​b><​a href="/​faq">​And learn more about the PirateBox project here</​a>​.</​b><​br/>​ +  * [[raspberry_pi:​diy:manual|Raspberry Pi Manual DIY]] 
-</​p>​ +  * [[raspberry_pi:​mods| ​Raspberry ​Pi Mods]] 
- +  * [[raspberry_pi:troubleshooting| Raspberry Pi Troubleshooting]]
-<img src="/​_media/​pirate-pi.1.jpg?​w=800&​tok=8a91c9"​ class="​img-responsive img-rounded"​ alt="Pi(rate)Box"> ​  +
-<​h1>​PirateBox 1.0 Features</​h1>​  +
-<​p><​b>​Responsive design</​b>​ for ease of use with phones and tablets; <​b>​UPnP Media Server</​b>​ for local streaming of movies and songs; <​b>​Image and Message Board</​b>​ for 4chan-like functionality;​ <​b>​chat room</​b>​ for anonymous communications;​ <​b>​browser-based file sharing system!</​b></​p>​  +
-</​div>​ +
-</​html>​ +
- +
-====== PirateBox Raspberry Pi DIY ====== +
-**PirateBox** is an **anonymous offline mobile file-sharing and communications system** built with **free software** and inexpensive **off-the-shelf hardware**. You can use it to transform any space into free and open offline communications and file sharing network. **[[:​faq|Learn more about PirateBox on our FAQ page!]]** +
- +
-===== Install PirateBox ​ ====== +
-The following instructions are for installing **PirateBox** on a Raspberry Pi. For support, be sure to check out the **[[http://​forum.piratebox.cc/​list.php?​7|Raspberry Pi(rate)Box discussion board]]** ​on our **[[http://​forum.piratebox.cc|PirateBox Forum]]**. +
- +
-==== Stuff You'll Need ==== +
-<​html><​span style="​font-size:​125%;"><​b>​1.</​b></​span></​html>​ **Raspberry Pi version A/B ** **[[amazon>​B009SQQF9C|(Amazon)]]** **[[http://​www.newegg.com/​Product/​Product.aspx?​Item=9SIA0AT1AK5908&​cm_re=raspberry_pi-_-13-142-001-_-Product|(Newegg)]]** **[[https://​www.farnell.com/​pi/ ​|(Farnell)]]** +
-**Raspberry Pi version B+** **[[https://​www.amazon.com/​gp/​product/​B00LPESRUK/​ref=s9_simh_gw_p147_d0_i1?​pf_rd_m=ATVPDKIKX0DER&​pf_rd_s=center-2&​pf_rd_r=1KSB0KWEWNB65TZX33C3&​pf_rd_t=101&​pf_rd_p=1688200382&​pf_rd_i=507846 |(Amazon)]]** **[[http://​www.farnell.com/​pi/​ |(Farnell)]]** +
- +
-<​html><​span style="​font-size:​125%;"><​b>​2.</​b></​span></​html>​ **SD Card** **[[amazon>​B003VNKNEG| 8GB Card (Amazon)]]** //**Class 10** SDHC// +
- +
-<​html><​span style="​font-size:​125%;"><​b>​3.</​b></​span></​html>​ **USB Wi-Fi Adapter [[:raspberry_pi:​piratebox_wifi_compatibility|(compatible devices)]]** +
- +
-<​html><​span style="​font-size:125%;"><​b>​4.</​b></​span></​html>​ **5 volt power supply** +
- +
-<​html><​span style="​font-size:​125%;"><​b>​5.</​b></​span></​html>​ **USB Flash Drive** (formatted FAT32 with a single partition) The Kingston DT 16GB works well **[[amazon>​B00DYQYITG|(Amazon)]]** **[[http://​www.newegg.com/​Product/​Product.aspx?​Item=9SIA12K11S3818&​cm_re=Kingston_DTSE9H_16GB-_-20-239-003-_-Product|(Newegg)]]** +
- +
-<​html><​span style="​font-size:​125%;"><​b>​6.</​b></​span></​html>​ **Ethernet cable** +
- +
-<​html><​span style="​font-size:​125%;"><​b>​7.</​b></​span></​html>​ **Computer with ethernet port**  +
- +
-<​html><​span style="​font-size:​125%;"><​b>​8.</​b></​span></​html>​ **5V/USB Battery** (optional) +
- +
-==== Installation ==== +
-<​html><​span style="​font-size:​125%;"><​b>​1.</​b></​span></​html>​ First, using a **BitTorrent client** ([[https://​www.transmissionbt.com/​|Transmission for OS X and Linux]]) ([[http://​deluge-torrent.org/​|Deluge for Windows, OS X or Linux]]) on your computer, download a copy of the **[[http://​downloads.piratebox.de/​ArchLinuxARM-2014.10-PirateBox1.0.1_rpi_1.0.1.img.zip.torrent|Raspberry Pi(rate)Box 1.0 image]]**. **Note:** Please help seed this file for other PirateBox downloaders! +
- +
-<​html><​span style="​font-size:​125%;"><​b>​2.</​b></​span></​html>​ Extract the **ArchLinuxARM-2014.10-PirateBox*.zip** file and follow the Raspberry Pi **SD Card Setup instructions** **[[http://​elinux.org/​RPi_Easy_SD_Card_Setup#​Flashing_the_SD_card_using_Mac_OSX|(OS X instructions)]]** **[[http://​elinux.org/​RPi_Easy_SD_Card_Setup#​Flashing_the_SD_Card_using_Windows|(Windows instructions)]]** **[[http://​elinux.org/​RPi_Easy_SD_Card_Setup#​Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29|(Linux instructions)]]** to install the image to your SD card. +
-  +
-<​html><​span style="​font-size:​125%;"><​b>​3.</​b></​span></​html>​ Once you've finished copying the **Raspberry Pi(rate)Box** image to your SD card, insert it into the Raspberry Pi and connect it via ethernet cable to your home router. **Be sure your USB Wi-Fi adapter and FAT32 formatted USB drive are both plugged in** (see "Stuff You'll Need" section above for more info on compatible devices). +
- +
-<​html><​span style="​font-size:​125%;"><​b>​4.</​b></​span></​html>​ Wait 2-3 minutes for your Pi to fully boot and then open a terminal window (for OS X, go to Applications > Utilities > Terminal; for Windows, install and open [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​|PuTTY]]) and ssh into your PirateBox:​ +
- +
-  ​ssh root@alarmpi +
-   +
-The **password** is: root +
- +
-<​html><​span style="​font-size:​125%;"><​b>​5.</​b></​span></​html>​ Once you've logged in, change your password (to something you'll remember!) by using the password command: +
- +
-  passwd  +
- +
-**Note:** you will be prompted to enter and then confirm your new password. +
- +
-//**Note:** At this point, if you happen to know you need to switch your hostapd package or config with an included alternate one, you should do so following ​[[raspberry_pi:​mods?&#​using_alternative_hostapd_binaries_and_drivers_for_tested_devices|this mod guide.]] But more likely, you should just ignore this and continue below.// +
- +
-<​html><​span style="​font-size:​125%;"><​b>​6.</​b></​span></​html>​ Next you should issue the following command to start your PirateBox:​ +
-  systemctl start piratebox +
- +
-<​html><​span style="​font-size:​125%;"><​b>​7.</​b></​span></​html>​ You should also issue the following command to enable PirateBox to start automatically when you boot your Pi+
-  systemctl enable piratebox +
- +
-<​html><​span style="​font-size:​125%;"><​b>​8.</​b></​span></​html>​ Now remove the ethernet cable from your Pi and disconnect the power. You're now ready to activate the Kareha Image and Discussion Board and the UPnP server. See the **[[openwrt:​diy#​Post-Installation]]** instructions below for details. +
- +
----- +
- +
-===== Post-Installation ====== +
-Once you have installed or upgraded your PirateBox, follow these final steps to activate the Kareha Image and Discussion Board and configure and start the UPnP media server. +
- +
-<​html><​span style="​font-size:​125%;"><​b>​1.</​b></​span></​html>​Power up your PirateBox (make sure it is not connected via ethernet cable) and join the SSID "​PirateBox:​ Share freely"​ network. Then open a terminal window (for OS X, go to Applications > Utilities > Terminal; for Windows, install and open [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​|PuTTY]]) and ssh into your PirateBox:​ +
- +
-  ​ssh root@192.168.77.1 +
- +
-<​html><​span style="​font-size:​125%;"><​b>​2.</​b></​span></​html>​ Activate the Kareha Image and Discussion Board by using the vi text editor (**[[http://​www.lagmonster.org/​docs/​vi.html|vi cheat sheet]]**) to change the admin username and password (ADMIN_PASS and SECRET). Don't forget to remove a leading ''#''​ in the both lines, if exists: +
- +
-  vi /​opt/​piratebox/​www/​board/​config.pl +
- +
-<​html><​span style="​font-size:​125%;"><​b>​3.</​b></​span></​html>​ Activate the "​timesave functionality"​ once: +
- +
-   /​opt/​piratebox/​bin/​timesave.sh /​opt/​piratebox/​conf/​piratebox.conf install +
- +
-<​html><​span style="​font-size:​125%;"><​b>​4.</​b></​span></​html>​ Point your browser to http://​piratebox.lan/​board/​kareha.pl for the first initialization. +
-   +
-<​html><​span style="​font-size:​125%;"><​b>​5.</​b></​span></​html>​ Activate the UPnP Media Server by copying over the config file: +
-  cp /​etc/​minidlna.conf /​etc/​minidlna.conf.bkp +
-  cp  /​opt/​piratebox/​src/​linux.example.minidlna.conf ​       /​etc/​minidlna.conf +
- +
-**Note:** Optionally, you can edit the config file (change the display name, etc) with: +
-  vi /​etc/​minidlna.conf +
- +
-<​html><​span style="​font-size:​125%;"><​b>​6.</​b></​span></​html>​ Finally, start the UPnP Media Server with: +
-  systemctl start minidlna +
-  systemctl enable minidlna +
-   +
-<​html><​span style="​font-size:​125%;"><​b>​7.</​b></​span></​html>​ Your PirateBox 1.0 should be ready to use! Be sure to also check out the **[[http://​forum.piratebox.cc/​list.php?​7|Raspberry Pi(rate)Box discussion board]]** on our **[[http://​forum.piratebox.cc|PirateBox Forum]]**. +