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:diy [2017/03/19 20:35]
matthias Forums Post
raspberry_pi:diy [2018/05/17 21:19] (current)
matthias [Stuff you will need]
Line 2: Line 2:
 <div class="​jumbotron">​ <div class="​jumbotron">​
 <​h1>​Raspberry Pi(rate)Box</​h1> ​ <​h1>​Raspberry Pi(rate)Box</​h1> ​
-<​p><​b>​Raspberry Pi(rate)Box 1.1.</​b><​b>​is now available for download via BitTorrent!</​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/>​+<​p><​b>​Raspberry Pi(rate)Box 1.1.</​b><​b>​is now available for download via BitTorrent!</​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/>​
 </p> </p>
  
Line 14: Line 14:
 **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 a free and open offline communications and file sharing network. **[[:​faq|Learn more about PirateBox on our FAQ page!]]** ​ **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 a free and open offline communications and file sharing network. **[[:​faq|Learn more about PirateBox on our FAQ page!]]** ​
  
-You can find the old manual ​PirateBox ​Raspberry Pi DIY **[[raspberry_pi:​diy:​manual|here]]**+We are providing a custom Raspberry Pi image, which is built on top of [[https://​wiki.archlinux.org/​|ArchLinux]]. ​You can learn more about it on our [[raspberry_pi:​os_adjustments|RapsberryPi Operating System Adjustments]] page. If you prefer building ​the PirateBox ​on Raspbian or Armbian you can find a manual setup page [[raspberry_pi:​diy:​armbian|here]]. This is useful, if you want to use other one-chip computers, like the OrangePi. There are separate instructions available for: [[other:​chip|ChiPirate-BOX:​ the chipest and cheapest Pirate-BOX ever]].
  
 For support, be sure to check out the **[[:​raspberry_pi|PirateBox Raspberry Pi page]]** and the **[[http://​forum.piratebox.cc/​list.php?​7|Raspberry Pi(rate)Box discussion board]]** on our **[[http://​forum.piratebox.cc|PirateBox Forum]]**. For support, be sure to check out the **[[:​raspberry_pi|PirateBox Raspberry Pi page]]** and the **[[http://​forum.piratebox.cc/​list.php?​7|Raspberry Pi(rate)Box discussion board]]** on our **[[http://​forum.piratebox.cc|PirateBox Forum]]**.
Line 29: Line 29:
   * **Version 2** **[[amazon>​B00T2U7R7I|(Amazon)]]**   * **Version 2** **[[amazon>​B00T2U7R7I|(Amazon)]]**
   * **Version 3** **[[amazon>​B01CD5VC92|(Amazon)]] [[https://​www.farnell.com/​pi/​ |(Farnell)]] [[https://​shop.pimoroni.com/​products/​raspberry-pi-3|Pimoroni]]** ​   * **Version 3** **[[amazon>​B01CD5VC92|(Amazon)]] [[https://​www.farnell.com/​pi/​ |(Farnell)]] [[https://​shop.pimoroni.com/​products/​raspberry-pi-3|Pimoroni]]** ​
 +  * **Version 3+** **[[amazon>​B07BDR5PDW|(Amazon)]] [[https://​www.farnell.com/​pi/​ |(Farnell)]] [[https://​shop.pimoroni.com/​products/​raspberry-pi-3-plus|Pimoroni]]** ​
  
 +//​Disclaimer:​ Buying this article through amazon.com gives as some affiliate money.//
  
 <​html><​span style="​font-size:​125%;"><​b>​2.</​b></​span></​html>​ **SD Card, Class 10** SDHC **[[amazon>​B003VNKNEG| 8GB Card (Amazon)]]** <​html><​span style="​font-size:​125%;"><​b>​2.</​b></​span></​html>​ **SD Card, Class 10** SDHC **[[amazon>​B003VNKNEG| 8GB Card (Amazon)]]**
Line 44: Line 46:
  
 <​html><​span style="​font-size:​125%;"><​b>​8.</​b></​span></​html>​ **5V USB Battery** (optional) **[[amazon>​B005NGLTZQ|(Amazon)]]** <​html><​span style="​font-size:​125%;"><​b>​8.</​b></​span></​html>​ **5V USB Battery** (optional) **[[amazon>​B005NGLTZQ|(Amazon)]]**
 +----
 +===== Using Monitor & Keyboard =====
 +All steps (setting alarm password, post installation steps) can be done via an attached keyboard and monitor. On early versions of the RaspberryPi you encountered USB power issues with a WiFi adapter attached, which is the reason the complete manual based on using SSH. In addition, it is teaching you how to use a remote shell. There is no GUI pre-installed on the PirateBox-archlinux images, so you will have a CLI as well, but in some cases it might be easier to use a keyboard & monitor then a network connection.
 ---- ----
 ===== Installation ===== ===== Installation =====
 <​html><​span style="​font-size:​125%;"><​b>​1.</​b></​span></​html>​ 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 <​html><​span style="​font-size:​125%;"><​b>​1.</​b></​span></​html>​ 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
  
-  * For Raspberry Pi 1 A, B, B+, Zero & Zero-W : <​html><​a href="​magnet:?​xt=urn:​btih:​fd3a7713768b0944c59c631215fa2255fcc63276&​dn=piratebox_rpi_1.1.3-1-19-03-2017.img.zip&​tr=udp%3A%2F%2Ftracker.piratebox.cc%3A7070&​tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969">​piratebox_rpi_1.1.3-1-19-03-2017.img.zip</​a></​html>​ (SHA256 Checksum: ​a3583d99383dc58239338a7d33a070d85a3cfda9826a530ff3cfea16bba5588d+  * For Raspberry Pi 1 A, B, B+, Zero & Zero-W : <​html><​a href="​magnet:?​xt=urn:​btih:​ac3d307f5b777d6e36dfed1bb96ad2c29a0f55d5&​dn=piratebox_rpi_1.1.4-27-02-2018.img.zip&​tr=udp%3A%2F%2Ftracker.piratebox.cc%3A7070&​tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969">​piratebox_rpi_1.1.4-27-02-2018.img.zip</​a></​html>​ (SHA256 Checksum: ​81635482b91c7464d24754615ea2e8c44be84f454dc0e8feaf1a4fa05753ca3c
-  * For Rapsberry Pi 2 & 3:  <​html><​a href="​magnet:?​xt=urn:​btih:​577689f6b469a703f5b702e710edfbc254dbe47f&​dn=piratebox_rpi2_1.1.3-1-19-03-2017.img.zip&​tr=udp%3A%2F%2Ftracker.piratebox.cc%3A7070&​tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969">​piratebox_rpi2_1.1.3-1-19-03-2017.img.zip</​a></​html>​ (SHA256 Checksum: ​5a5baebd713758671219409e1e4b6af6cb03ea7cc78bc7c865ba5c4225fb77c1)+  * For Rapsberry Pi 2 & 3, Rapsbperry Pi 3+:  <​html><​a href="​magnet:?​xt=urn:​btih:​ebeff1f5f1003f8c9147159355a783ea68b8d9c8&​dn=piratebox_rpi2_1.1.4-11-05-2018.img.zip&​tr=udp%3A%2F%2Ftracker.piratebox.cc%3A7070&​tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969">​piratebox_rpi2_1.1.4-11-05-2018.img.zip</​a></​html>​ (SHA256 Checksum: ​2fc877040d4a46a0a5b229942c415a831ad16d7fea9ad6917448f76285280282).
  
 **Note:** Please help seed this file for other PirateBox downloaders! **Note:** Please help seed this file for other PirateBox downloaders!
  
-**Note:** :!: If you encounter a slow starting of the torrent download, you may pick up the corresponding torrent file in [[https://​forum.piratebox.cc/​read.php?​9,​20716|this forum post]].+**Note:** :!: If you encounter a slow starting of the torrent download ​using the magnet link, you may pick up the corresponding torrent file in [[https://​forum.piratebox.cc/​read.php?​9,​21880,​21880#​msg-21880|this forum post]]. ​You can also use direct downloads via our **[[:​mirrors|Alternative download sources]]**
  
 **Note:** Our RPi images since 1.1.3 contain some customization which should treat the SDCard well. One of the consequences of these changes is, that you should shutdown the RPi properly. The Linux Kernel will write data on the disk on a 5 minute interval during being idle to preserve some SDCard cycles. You can learn more about it on our [[raspberry_pi:​os_adjustments|RapsberryPi Operating System Adjustments]] page. **Note:** Our RPi images since 1.1.3 contain some customization which should treat the SDCard well. One of the consequences of these changes is, that you should shutdown the RPi properly. The Linux Kernel will write data on the disk on a 5 minute interval during being idle to preserve some SDCard cycles. You can learn more about it on our [[raspberry_pi:​os_adjustments|RapsberryPi Operating System Adjustments]] page.
Line 66: Line 71:
   ​   ​
 The password is: **alarm** The password is: **alarm**
 +
 +**Note:** If you are using PuTTY, enter in the hostname field "''​alarm@alarmpi''"​ or "''​alarm@192.168.77.1''"​
  
 <​html><​span style="​font-size:​125%;"><​b>​5.</​b></​span></​html>​ Once you have logged in, change your password (to something you'll remember!) by using the passwd command: <​html><​span style="​font-size:​125%;"><​b>​5.</​b></​span></​html>​ Once you have logged in, change your password (to something you'll remember!) by using the passwd command:
Line 73: Line 80:
 You will be prompted to enter and then confirm your new password. You will be prompted to enter and then confirm your new password.
  
-Root user is not allowed to login via remote, you do not need to set a password for root. Use **sudo** to invoke commands as root.+Root user is not allowed to login via remote, you do not need to set a password for root. Use **sudo** to invoke commands as root.  
 + 
 +The default password for user //root// is **root**. It is strongly recommended to change this password as well. You can do this while being logged in as alarm running this command: 
 + 
 +  sudo passwd root
  
 **Note:** At this point, the PirateBox AP should be available, if you have a supported WiFi stick attached. For problems see here [[raspberry_pi:​mods?&#​using_alternative_hostapd_binaries_and_drivers_for_tested_devices|this mod guide]] or post to the RPi forum mentioning the failed WiFi auto detection. **Note:** At this point, the PirateBox AP should be available, if you have a supported WiFi stick attached. For problems see here [[raspberry_pi:​mods?&#​using_alternative_hostapd_binaries_and_drivers_for_tested_devices|this mod guide]] or post to the RPi forum mentioning the failed WiFi auto detection.