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:manual [2015/05/04 16:31]
matthias removed confusing #
raspberry_pi:diy:manual [2017/07/02 07:59] (current)
matthias [Manual install] added php
Line 1: Line 1:
-===== Raspberry Pi(rate)Box 1.0 DIY ===== +===== Raspberry Pi(rate)Box 1.0 & 2.0 DIY =====
- +
-**Note:** The Raspberry Pi(rate)Box 1.0 is currently under development. The instructions below will be updated when the new Raspberry Pi(rate)Box 1.0 image is completed. In the interim, check out the **[[http://​forum.daviddarts.com/​list.php?​7|PirateBox Forum - Raspberry Pi]]** discussion board for more info and support.+
  
 +<wrap tip>
 +**Note:** This howto is for crafting your own PirateBox image. Currently we have prebuild images for all RaspberryPi versions available. You find further instructions on [[:​raspberry_pi:​diy|the Raspberry Pi DIY]] page.
 +</​wrap>​
 ----  ---- 
 +
 +
  
 **Known working USB Wifi-dongles:​** ​ [[:​raspberry_pi:​piratebox_wifi_compatibility|RaspberryPI PirateBox compatibility list]] **Known working USB Wifi-dongles:​** ​ [[:​raspberry_pi:​piratebox_wifi_compatibility|RaspberryPI PirateBox compatibility list]]
Line 37: Line 40:
     sudo /​etc/​init.d/​hostapd ​ stop     sudo /​etc/​init.d/​hostapd ​ stop
     sudo update-rc.d hostapd remove ​     sudo update-rc.d hostapd remove ​
-    sudo apt-get -y install iw+    sudo apt-get -y install iw  ​php-cli php-cgi
     sudo rm /bin/sh     sudo rm /bin/sh
     sudo ln /bin/bash /bin/sh     sudo ln /bin/bash /bin/sh
-    sudo chmod a+rw /bin/sh+    sudo chmod a+rx  ​/bin/sh
  
  
Line 114: Line 117:
  
  
-After this, the box is accessible under 192.168.77.1 (instead of 192.168.1.1 on OpenWRT)  ​+After this, the box is accessible under 192.168.77.1 (instead of 192.168.1.1 on OpenWRT) 
 + 
 +===== Post-Installation ===== 
 + 
 +==== Activate the Kareha Image and Discussion Board ==== 
 + 
 +Enable the Kareha Image and Discussion Board on the piratebox:​ 
 + 
 +  sudo /​opt/​piratebox/​bin/​install_piratebox.sh /​opt/​piratebox/​conf/​piratebox.conf imageboard 
 + 
 +Use 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: 
 + 
 +  sudo vi /​opt/​piratebox/​www/​board/​config.pl 
 + 
 +==== Activate Timesave Functionality ​ ==== 
 + 
 +Enable Timesave support on the piratebox:​ 
 + 
 +  sudo /​opt/​piratebox/​bin/​timesave.sh /​opt/​piratebox/​conf/​piratebox.conf install 
 + 
 +==== Activate the UPnP Media Server ==== 
 + 
 +First, install minidlna if it is not present on the system. WARNING: your raspberry pi must be connected to the Internet to download remote packages: 
 + 
 +  sudo apt-get install minidlna 
 + 
 +Then, save minidlna default config file and replace it with the one provided with piratebox:​ 
 + 
 +  sudo cp /​etc/​minidlna.conf /​etc/​minidlna.conf.bkp 
 +  sudo cp /​opt/​piratebox/​src/​linux.example.minidlna.conf /​etc/​minidlna.conf 
 + 
 +Finally, configure the system to automatically start minidlna when power up: 
 + 
 +  sudo update-rc.d minidlna defaults 
 +  sudo service minidlna start 
 + 
 +The minidlna should start. 
 + 
 + 
 +