User Tools

Site Tools


piratebox_lighttpd

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
piratebox_lighttpd [2015/12/09 22:50]
matthias removed
— (current)
Line 1: Line 1:
-====== PirateBox with a Webserver ====== 
  
-FIXME 
- 
-The development of this package can be found on github: [[https://​github.com/​MaStr/​PirateBoxScripts_Webserver|PirateBoxScripts_Webserver]]. 
- 
- 
-  *  Current Version 0.6G : [[http://​downloads.piratebox.de/​piratebox-ws_0.6G.tar.gz|piratebox-ws_0.6G.tar.gz]] 
-  *  Version history :  
-      * [[http://​downloads.piratebox.de/​piratebox-ws_0.6F.tar.gz|piratebox-ws_0.6F.tar.gz]] 
-      * [[http://​downloads.piratebox.de/​piratebox-ws_0.6E.tar.gz|piratebox-ws_0.6E.tar.gz]] 
-      * [[http://​downloads.piratebox.de/​piratebox-ws_0.6D.tar.gz|piratebox-ws_0.6D.tar.gz]] 
-      * [[http://​downloads.piratebox.de/​piratebox-ws_0.6C.tar.gz|piratebox-ws_0.6C.tar.gz]] 
- 
-===== Changelog ===== 
- 
-=== 0.6F === 
- 
-  * New Feature: Mime-Type for epub files  
-  * New Feature: No caching in redirect.html that would prevent a bit browser-cache poisening. ​ 
-  * Several fixes for installing kareha on non-OpenWRT devices ​ 
-  * Some fixes in installing kareha if something went wrong  
-===== Features ===== 
- 
- 
-PirateBox scripts can: 
- 
-   * Setup WLAN Interface via iw 
-   * Setup hotspot functionality (hostapd) 
-   * Setup IP Adresses of wlan interface 
-   * Can add wlan interface to an existing bridge 
-   * Sets Up a DHCP Server with redirect to wlan-interface IP 
-   * Upload landing page  (via iframe droopy) 
-   * Browse Uploaded files 
-   * Announce "​Internet yes" for iOS 
-   * Announce "​Internet yes" for MS devices 
-   * ShoutBox (Experimental Mesh-Shoutbox) 
-   * Optional small python Forum 
-   * Optional imageboard 
-   * Optional Station counter 
-   * Optional Inihibit starting upload-script 
-   * Optional Timesave script (for devices without RTC)  - can be found in piratebox/​bin/​timesave.sh ​ 
-   * Optional Poll for WLAN device until it available (for USB wifi cards) 
- 
- 
-===== Installation ===== 
- 
- 
-You need the following packages installed: 
- 
-  * hostapd 
-  * dnsmasq 
-  * lighttpd 
-  * iw 
-  * python 
-  
-  
-For debian you can run for installing the needed packages: 
- 
-   sudo apt-get -y install lighttpd 
-   sudo /​etc/​init.d/​lighttpd stop 
-   sudo update-rc.d lighttpd remove 
-   sudo apt-get -y install dnsmasq ​ 
-   sudo /​etc/​init.d/​dnsmasq ​ stop 
-   sudo update-rc.d dnsmasq remove ​ 
-   sudo apt-get -y  install hostapd 
-   sudo /​etc/​init.d/​hostapd ​ stop 
-   sudo update-rc.d hostapd remove ​ 
-   sudo apt-get -y install iw 
- 
- 
-After this you can install piratebox: 
- 
-  wget  http://​downloads.piratebox.de/​piratebox-ws_current.tar.gz 
-  tar xzf piratebox-ws_current.tar.gz 
-  cd piratebox 
-  sudo mkdir -p  /opt 
-  sudo cp -rv  piratebox /opt 
-  cd /​opt/​piratebox 
-  
-If you don't want to use /​opt/​piratebox/​shared as you default download location, ​ 
- 
-  sudo rm -rfv /​opt/​piratebox/​share 
-  sudo ln -s <​target-folder>​ /​opt/​piratebox/​share 
- 
-If you want to customize your PirateBox, have a look at conf/​piratebox.conf 
- 
-If you want to run it on default startup: 
- 
-  sudo ln -s /​opt/​piratebox/​init.d/​piratebox /​etc/​init.d/​piratebox  ​ 
-  sudo update-rc.d piratebox defaults ​ 
-  ​ 
-After this you have can enable it with  
- 
-  sudo /​etc/​init.d/​piratebox start  ​ 
- 
-===== Remove Piratebox ===== 
- 
-You have to run: 
- 
-  sudo /​etc/​init.d/​piratebox stop 
-  sudo update-rc.d piratebox remove ​ 
-  sudo rm -v /​etc/​init.d/​piratebox 
-  sudo rm -rf -v /​opt/​piratebox ​ 
- 
- 
-  ​