Differenze tra le versioni di "ChiPirate-BOX: the chipest and cheapest Pirate-BOX ever"
m |
|||
Riga 1: | Riga 1: | ||
How to build a [https://piratebox.cc/ Piratebox] using ONLY a [http://nextthing.co/pages/chip chip] computer. | How to build a [https://piratebox.cc/ Piratebox] using ONLY a [http://nextthing.co/pages/chip chip] computer. | ||
− | As a student, a chip | + | As a student, a chip and a powerbank for portable phones can fit in your backpack. All your classmates can use the piratebox to exchange files and to chat anonymously |
− | using tablets, portable phones and laptops. | + | using their tablets, portable phones and laptops. |
[[File:ChiPirateBox.jpg|600px]] | [[File:ChiPirateBox.jpg|600px]] | ||
Riga 39: | Riga 39: | ||
</pre> | </pre> | ||
− | It is a good idea to have a look and edit some configuration parameters if you like in the following files: | + | It is a good idea to have a look and edit some configuration parameters (if you like) in the following files: |
/opt/piratebox/conf/piratebox.conf and /opt/piratebox/conf/hostapd.conf. | /opt/piratebox/conf/piratebox.conf and /opt/piratebox/conf/hostapd.conf. | ||
(It is not strictly needed it works out-of-the-box). | (It is not strictly needed it works out-of-the-box). | ||
Riga 51: | Riga 51: | ||
It is a good idea to edit the file /opt/piratebox/www/board/config.pl and change the default administration password. | It is a good idea to edit the file /opt/piratebox/www/board/config.pl and change the default administration password. | ||
− | Everything is ready. | + | Everything is now ready. It is possible to start your ChiPirate-Box: |
− | |||
− | It is | ||
<pre> | <pre> | ||
/etc/init.d/piratebox start | /etc/init.d/piratebox start |
Versione delle 17:07, 5 feb 2016
How to build a Piratebox using ONLY a chip computer.
As a student, a chip and a powerbank for portable phones can fit in your backpack. All your classmates can use the piratebox to exchange files and to chat anonymously using their tablets, portable phones and laptops.
Recipe
Get a Chip, a.k.a. Chip 9$, the 9$ computer, Next Thing co. Chip, NTChip.
Install some extra debian packets:
sudo apt-get perl lighttpd dnsmasq hostapd
(perl and hostadp should be already installed).
Prevent the deamons from automatic loading.
sudo systemctl stop lighttpd sudo systemctl disable lighttpd sudo systemctl stop dnsmasq sudo systemctl disable dnsmasq
Get the piratebox code:
wget http://downloads.piratebox.de/piratebox-ws_current.tar.gz tar xt piratebox-ws_current.tar.gz cd piratebox sudo cp -rv piratebox /opt sudo ln -s /opt/piratebox/init.d/piratebox /etc/init.d/
All the files shared by this piratebox will be stored in /opt/piratebox/share. In case you want to use an external USB memory key or disk mount it there:
mount /dev/sda1 /opt/piratebox/share
It is a good idea to have a look and edit some configuration parameters (if you like) in the following files: /opt/piratebox/conf/piratebox.conf and /opt/piratebox/conf/hostapd.conf. (It is not strictly needed it works out-of-the-box).
Finalize the installation:
/opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf part2 /opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf imageboard
It is a good idea to edit the file /opt/piratebox/www/board/config.pl and change the default administration password.
Everything is now ready. It is possible to start your ChiPirate-Box:
/etc/init.d/piratebox start
Obviously the ChiPirate-Box can be turned off in this way:
/etc/init.d/piratebox stop
Systemd can be instructed to start your ChiPirateBox at boot time:
systemctl enable piratebox
Use disable instead of enable to undo this operation.