Thursday, April 30, 2020

A simpler alternative for an offgrid emergency cyberdeck using "Internet in a Box "on Raspberry Pi

For alot of newbies, setting up the various software for offgrid access can be alot of stress and frustrations, especially testing it out, and troubleshooting, are very time consuming process. If you messed up during the installation for any of the various software, and you have to re-start the whole process again..... that is going to be another bummer. Imagine spending alot of hours.....

One good and simpler alternative is to use "Internet in a Box" .

Installation is simple, it has most of the stuff you will need, check out the FAQ. You have 3 choices to select when you run the install script: Min, Med, or Big. Checkout the software in each bundle here. You need to scroll down. A screenshot of the list is below:


You can load up contents using USB thumbdrive or harddisk. 

The entire world map can be downloaded from Openstreetmap from the admin console, you can select the region to download to save space. The entire world map is about 150Gb. Here is the rendering from the downloaded file for North America:


Here are various screenshots from Admin page and the various software:








After you had installed your Raspberry Pi with either Full or Lite(headless server mode), you need to run the following:

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

Here is the link to the site, as of this writing, the latest version is 7.1. 

Here is the script from install.txt:

#!/bin/bash
# Copied from: https://github.com/iiab/iiab-factory/blob/master/install.txt

# To install Internet-in-a-Box (IIAB) 7.1 / pre-release onto Raspbian Buster,
# Ubuntu 18.04 or Debian 10, run this 1-line installer:
#
#                 curl d.iiab.io/install.txt | sudo bash

# 1. WARNING: NOOBS IS *NOT* SUPPORTED, as its partitioning is very different.
#    On a Raspberry Pi, you need to INSTALL THE LATEST VERSION OF RASPBIAN:
#    https://www.raspberrypi.org/documentation/installation/installing-images/README.md
#    To attempt IIAB 7.1 on another Linux see the full/manual instructions:
#    https://github.com/iiab/iiab/wiki/IIAB-Installation#do-everything-from-scratch

# 2. An Ethernet cable is HIGHLY RECOMMENDED during installation, as this is
#    more reliable than Wi-Fi (and faster!)  But if you must install IIAB using
#    Wi-Fi not Ethernet, remember to run 'iiab-hotspot-on' AT THE VERY END, TO
#    ACTIVATE RPi's INTERNAL WI-FI HOTSPOT, as this kills Internet over Wi-Fi!

# 3. Run 'sudo raspi-config' on RPi, to set LOCALISATION OPTIONS

# 4. OPTIONAL: if you have slow/pricey Internet, pre-position KA Lite's
#    mandatory 0.9 GB English Pack (en.zip) within /tmp -- you can grab a copy
#    from http://pantry.learningequality.org/downloads/ka-lite/0.17/content/contentpacks/en.zip

# 5. WHEN YOU RUN 1-LINE INSTALLER 'curl d.iiab.io/install.txt | sudo bash'
#    YOU THEN NEED TO TYPE IN YOUR PASSWORD IF ON UBUNTU/DEBIAN/ETC (for sudo)
#    ^^^ ^^^^ ^^^^ ^^ ^^^^ ^^ ^^^^ ^^^^^^^^

# 6. Follow on-screen instructions (TYPE 'sudo iiab' TO RESUME IF EVER NECESS!)

# 7. About 1-2 hours later, it will announce that INTERNET-IN-A-BOX (IIAB)
#    SOFTWARE INSTALL IS COMPLETE, prompting you to reboot...TO ADD CONTENT!

# Thanks   For   Building   Your   Own   Library   To   Serve   One   &   All
#
# DRAFT IIAB 7.1 Release Notes:
# https://github.com/iiab/iiab/wiki/IIAB-7.1-Release-Notes
#
# Write to bugs @ iiab.io if you find issues, Thank You!  Special Thanks to the
# countries+communities+volunteers who worked non-stop to bring about IIAB 7.1!
#
# IIAB Development Team
# http://FAQ.IIAB.IO

set -e                                   # Exit on error (avoids snowballing)
export DEBIAN_FRONTEND=noninteractive    # Bypass (most!) interactive questions

# Save script to /usr/sbin/iiab (easy resume/continue mnemonic 'sudo iiab')
mv /usr/sbin/iiab /usr/sbin/iiab.old || true    # Overrides 'set -e'
curl https://raw.githubusercontent.com/iiab/iiab-factory/master/iiab > /usr/sbin/iiab
chmod 0744 /usr/sbin/iiab

# Run install script!
/usr/sbin/iiab

An Ethernet cable is HIGHLY RECOMMENDED during installation, as this is more
reliable than Wi-Fi (and faster too!)  If however you must install over Wi-Fi,
remember to run "iiab-hotspot-on" after IIAB installation, TO ACTIVATE YOUR
RASPBERRY PI's INTERNAL WIFI HOTSPOT (thereby killing Internet connectivity!)

If you want to do everything from scratch, check this link on GitHub.

For more detail on installation, check out: https://github.com/iiab

Have fun with your exploration!


No comments:

Post a Comment

Update on the IIAB RPi4 server and Odroid C2 SBC

I am done with the setup of the RPi 4, which will be running Internet-in-a-box (IIAB in short). The downloading of wiki's zim files, all...