Skip to content

Agroecology-Lab/edu-hotspot

 
 

Repository files navigation

Rosetta phone edu hotspot

Serve https://rosettaphone.org files

Testing on Orange Pi Zero 1

(Eventual device may be Olimex A64

Install Armbian for Orange Pi Zero

ssh root@your_ip
sudo apt-get install php-cgi iw perl lighttpd dnsmasq hostapd python zip avahi-daemon hostapd libcgi-pm-perl

Prevent the daemons from automatic loading.

sudo systemctl stop lighttpd
sudo systemctl disable lighttpd
sudo systemctl stop dnsmasq
sudo systemctl disable dnsmasq
sudo systemctl stop hostapd
sudo systemctl disable hostapd

Get the server code:

wget  https://github.com/Agroecology-Lab/edu-hotspot/archive/refs/heads/master.zip
unzip master.zip
cd edu-hotspot-master
cd piratebox
sudo cp -rv piratebox /opt
sudo ln -s /opt/piratebox/init.d/piratebox /etc/init.d/

All the files shared by this server will be stored in /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:

sudo /opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf part2
sudo /etc/init.d/piratebox start
sudo /opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf imageboard

To activate the board, run the following command:

sudo /opt/piratebox/bin/board-autoconf.sh

Everything is now ready. It is possible to start your server:

sudo /etc/init.d/piratebox start

Obviously the server can be turned off in this way:

sudo /etc/init.d/piratebox stop

Systemd can be instructed to start the server at boot time:

sudo systemctl enable piratebox

Use disable instead of enable to undo this operation.

apt-get install kiwix-tools
wget some.zim
kiwix-serve -p 1024 ./Shared/*.zim

In progress

https://www.atechtown.com/install-nvm-debian-11/

Following this guide https://github.com/SSBC/ssb-server

curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs

Because this

Reboot

SSB-server now running

Current to-do:

install https://www.npmjs.com/package/ssb-promiscuous

Todo loRa interface?

Open hardware Lora hat

Just re-use LoRaLayer2 Wld be trivial to add ESP32 repeaters then.

Is Reticulum over complicated?

Todo Wifi mesh?

Some kinda wifi mesh on a second wifi interface? Maybe [Qaul.net]

Notes

u:rosetta

p:eduhotspot

Install a SSB-browser?

SSB-viewer

IIAB test (failed)

As above except

curl d.iiab.io/install.txt | sudo bash

Failed to bring up wifi, can't be bothered to dig into Ansible

PirateBox

This was forked from the now discontinued Piratebox_webserver

Documentation above CC-By-4.0 from Piratebox

© 2012-2019 Matthias Strubel

Licensed under the GNU GPLv3

About

PirateBox Scriptcollection for running in Webserver

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 36.9%
  • Shell 29.8%
  • JavaScript 18.2%
  • Perl 6.1%
  • HTML 3.8%
  • CSS 3.5%
  • Makefile 1.7%