Learn
Connectivity for resilience
An open learning module on how communities keep information, designs and coordination flowing when regular networks are slow, expensive, overloaded or gone. The networks fail in rungs; the prepared do not. No networking background needed.
Start here
When the network fails, the work continues
An open learning module on how communities keep information flowing when regular networks are slow, expensive, overloaded or gone. Around 2.2 billion people were still offline in 2025, and many more are one power cut, flood or broken cable away from being offline.
It is part of the Distributed Preparedness resources and was developed in the MaRK (Maker Resilience Kit) project.
Who this is for
- People running makerspaces, community centres or community networks
- Volunteers who want to set up local networks for emergencies
- Anyone receiving or building a MaRK kit
No networking background is needed. Where a technical term first appears it is explained, and the glossary collects them all.
What you will be able to do
After working through this module you will be able to:
- Describe the degradation ladder: four rungs from everyday internet to hand-carried drives, and what still works at each rung.
- Prepare a kit and its content while connectivity is cheap, so nothing urgent is left for the crisis.
- Build the parts of the network a community can build and run itself: one building, a neighbourhood, a town.
- Use low-bandwidth long-distance channels (datacasts, satellite reception, HF radio) for what matters most, and couriers for the rest.
- Set up a local server that offers chat, files, an offline encyclopedia, courses and a design catalog without internet access.
- Explain what a MaRK kit contains, what its library serves, and why every node holds a full copy of everything.
The core idea
Reaching far is one question; surviving failure is another.
- How far does the information need to travel? A shelter's list of available beds needs to reach the building next door, not another continent. Geography sets what to build (unit 3).
- What still works when connectivity degrades? Networks fail from the top down, in rungs. A prepared community climbs down the ladder instead of falling off it (units 1 to 5).
The kit does not go offline; the network does. That is the sentence this module is built around.
Further reading
On community networks and meaningful access, collected in the Lokal resources list:
- Community Networks Learning Repository (Association for Progressive Communications): training material on building and running community networks
- Community networks Zotero library: an open reference collection
- What is meaningful internet access? (Alliance for Affordable Internet)
- ITU Facts and Figures: who is online, who is not
On the local server used in this module:
- Lokal documentation (Wakoma), and the install guides on this site
Credits
Based on a presentation on connectivity by Eric Nitschke in the MaRK project, first compiled into unit form by Vicy Wenzelmann (Helmut-Schmidt-Universität Hamburg) and reworked around the degradation ladder. MaRK is funded through the Global Innovation Gathering (GIG).
Licence
Text and figures in this module are licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). You may copy, adapt, translate and redistribute them, including commercially, as long as you credit the source and share your changes under the same licence.
Product names and external tools mentioned here belong to their owners. Mentioning them is not an endorsement.
Contributing
Corrections, translations and local examples are welcome. Open an issue or a pull request on Codeberg.
Unit 1
The degradation ladder
Why a ladder?
A community network is usually drawn as nested circles: building, neighbourhood, city, region, world. That picture answers how far. This module is organised by a second axis: what still works.
Connectivity does not vanish in one step. It degrades in rungs: first the global internet becomes slow, expensive or unavailable; then cellular networks overload or fail; what remains is what the community built and runs itself, then long-distance low-bandwidth channels, and finally people carrying drives.
Each rung carries less data but fails less often. Preparation means being able to work at the bottom rungs long before you are forced to.
The four rungs
RUNG 1 Everyday connectivity the internet works
full sync · updates · backups · collaboration
▼ when it degrades ...
RUNG 2 Your own networks what the community built and runs
local services · design library · LoRa · voice radio
▼
RUNG 3 Long lines, thin data one-way or shared long-distance channels
datacasts · satellite reception · HF radio
▼
RUNG 4 By hand couriers and drives
sneakernet · weekly packages · a full copy on a drive
What the kit does at each rung
MaRK nodes and their content are designed to behave the same way at every rung; only the update path changes:
| Rung | What still works | How updates arrive |
|---|---|---|
| 1 | Everything, plus cloud services | Full sync whenever online |
| 2 | Browsing the design library, printing, learning, chat and files on the local network, radio coordination | Sync when a link to a partner node exists; updates also travel peer to peer |
| 3 | Same as rung 2, unchanged content | Small text updates only: what is needed, what changed, manifests |
| 4 | Same as rung 2, unchanged content | Hand-carried drives: a full, fresh copy of the library |
Design for the bottom, live at the top
A kit designed to work at rung 4 automatically works at rungs 1 to 3. A kit designed around rung 1 (accounts, subscriptions, "it's in the cloud") fails at every rung below it. So the preparation rule is simple: assume rung 4, enjoy rung 1. In practice:
- Content is stored locally, on a server in the building, not only in the cloud.
- Who can make what is known locally: the design library and the capability lists answer questions without any connection.
- Higher rungs are a bonus: used to sync and update, never something that everything depends on.
Try it
Draw the four rungs on a sheet of paper, with room to the right of each. For your own community, note:
- Which rung you are on today, and which rung you were on during your last power cut or network outage.
- For each rung: what still works, and what you would lose.
Keep the sheet; you will add to it in every unit. Some communities live at rung 3 or 4 permanently; you may be preparing for their everyday situation.
Unit 2
Rung 1: While the internet is up
Everything in this module is cheap to do at rung 1 and impossible to improvise later. The cheapest moment to prepare is before anything happens.
What rung 1 is for
Not for streaming. For four things:
- Sync a full copy of the library. A MaRK node holds a complete replica of the shared collections: open designs, build documentation, install guides, the software and hardware catalogs and the publications index. Every update pulled once fills a whole node.
- Update everything. Operating systems, router firmware, offline libraries and the design library. An updated node is a secure node and a node whose content is current.
- Back up. Keep copies of configurations, records and content somewhere other than the node itself. A spare in another building is worth more than two spares in the same room.
- Coordinate and learn. Check what other nodes made, ask questions, get designs reviewed, contribute your own.
Services that degrade gracefully
In a federated system, many independent servers talk to each other using a shared, open standard, instead of everyone depending on one company's servers. Email is the oldest example; newer ones are Matrix (chat) and the Fediverse (e.g. Mastodon), built on ActivityPub.
Why this matters here: a local federated server keeps working for local users even when it is cut off, then syncs with the rest of the network when the connection returns. No single company can switch the system off. This is the natural shape for services that are expected to survive rungs 2 to 4.
Subscriptions depend on access
What quietly breaks when a community drops to lower rungs: anything behind a login. Accounts, subscriptions and "free tier" services assume rung 1 forever. Ask of every service you rely on: what of this do we lose the moment the connection drops, and do we have a local copy?
Try it
- Pick a device your community depends on. Update it, then count how many of its functions keep working with the cable pulled.
- Do a sync day: run every update and every download the kits need. Then unplug for an evening and note the first three things you miss. Those are the gaps to close while rung 1 is still there.
Unit 3
Rung 2: Your own networks still work
When the internet and cellular networks degrade, whatever the community built and runs itself keeps working. Everything in this unit uses affordable, widely available equipment and licence-exempt radio bands.
One building
A local network inside one building: a makerspace, school, clinic or shelter. People connect with phones and laptops and reach services running on a small local server, with or without internet access.
| Component | Role | Notes |
|---|---|---|
| Mini PC | Local server: hosts content, chat, file sharing, maps | Low power use matters if you run on batteries or solar. See unit 9. |
| Gateway / router | Creates the network, hands out addresses, connects to the internet if available | Choose one that runs OpenWRT (see below). |
| Extra access points (optional) | Extend WiFi coverage in larger buildings | Wired connections between access points work better than wireless repeaters. |
| Power backup | Keeps everything running during outages | See the MaRK kit. |
OpenWRT is free, open-source firmware for routers. It gives you control over every setting (including mesh), security updates long after the manufacturer stops, and the same software on many devices so knowledge carries over. Not every router can run it: check the OpenWRT Table of Hardware before buying. Walls and floors absorb WiFi: plan one access point per few rooms in solid buildings, wired where you can.
A neighbourhood
The building network extended to surrounding streets: more access points, usually outdoor-rated, mounted high (rooftops, poles, upper windows) with clear line of sight, often powered over the network cable (PoE). Each access point added is one more place that keeps working for people nearby.
Across a town
Ordinary access points cannot bridge kilometres; two techniques can, often combined:
- Point-to-point links: two directional antennas pointed at each other, a strong connection between two fixed places (for example two rooftops several kilometres apart). They form a backbone. Line of sight is everything, and a zone around the line (the Fresnel zone) should be mostly clear.
- Wireless mesh: many nodes that connect to whichever neighbours they can reach and pass data along automatically. If one node fails, traffic finds another path. Each wireless relay costs speed, so use point-to-point links as a backbone and mesh at the edges.
2.4 GHz and 5 GHz bands are licence-exempt but not rule-free: each country limits transmit power, channels and outdoor use (check your national regulator), and the bands are shared, so in an emergency 2.4 GHz gets crowded. Community networks such as Freifunk (Germany), guifi.net (Spain) and NYC Mesh have run such networks for years; planning tools like the UISP Design Center (Ubiquiti hardware) help before installing, and so does standing at one end with binoculars.
Coordination by radio
Not everything needs WiFi speeds. For short, urgent messages and sensor readings, radio is often king:
- LoRa / Meshtastic: very long range, very low power, very low bandwidth: think text messages and sensor readings, not files. Meshtastic needs no gateways or servers; devices relay for each other. Licence-exempt bands are used (regional duty-cycle limits apply, often 1% in Europe).
- Voice radio: PMR446 or FRS walkie-talkies need no licence in most countries; HAM radio offers far more range and modes. Both work when nothing with a SIM card does. A scheduled evening radio check is a resilience practice in itself.
Status in MaRK: how exactly LoRa is used is still under discussion (see unit 10).
What rung 2 serves
Because the services run locally, people at rung 2 barely notice the internet is gone: chat on the local network, file sharing, offline encyclopedia (Kiwix), courses, the design catalog and this site's collections. Peer-to-peer tools (Briar over Bluetooth or WiFi, Syncthing between devices) spread new content from device to device once it is in the area. See unit 9 for how to set the server up.
Try it
- Look up a router you own or could buy cheaply in the OpenWRT Table of Hardware. Is it supported?
- Pick two places in your town you would want to link (for example a makerspace and a clinic) and check whether they have line of sight, or where a relay would need to go.
- List the coordination messages your community needs in an emergency, and mark for each: voice radio, LoRa, or the local server?
Unit 4
Rung 3: Long lines, low bandwidth
Rung 3 is what remains between towns and across a region once ordinary internet is gone: channels that are one-way, shared, slow, or all three. They cannot carry your library. They can carry what your library cannot: the news that something exists, a request, a list of what is needed.
Datacasting: receive-only satellite
Datacasting sends content from a satellite to anyone with a standard dish and receiver; receivers cannot send anything back. It is cheap to receive, hard to block, and can deliver a few gigabytes a day of curated content: news, educational material, software updates. NetFreedom Pioneers, for example, use it to distribute knowledge in places with censored or no internet. A community can own a receiver without owning anything else.
Two-way satellite
Full internet via satellite exists, requires a terminal and a subscription, and is treated here as opportunistic only: useful when a partner or a relief effort brings it, never something the kits depend on. Contracts and terminals are out of budget for the kits.
HF radio and Winlink
HF (shortwave) travels far beyond the horizon with no infrastructure, which is why it survives disasters well. With an amateur radio licence and Winlink, operators can send and receive email through volunteer gateways: tiny messages, a needs list, a status report, at disaster-scale distances. The bandwidth is small, so messages are too.
What actually travels at rung 3
Prioritise by value per byte:
- Coordination: who is there, what is needed, what is safe.
- Manifests: a plain-text list of what a package or update contains, so the full copy can be fetched or carried once a link exists again.
- Small, life-critical texts: instructions, checklists, changes to a guide.
Photos, videos and files wait for rungs 1, 2 or 4. A rung-3 message that says "the new water-filter guide is ready, here is its identifier" is worth more than attempting to send the guide itself in pieces.
| Channel | Run by the community? | Bandwidth | Cost |
|---|---|---|---|
| Datacast receiver | yes (receiving) | low, one-way, a few GB per day | low |
| Two-way satellite | no | high | subscription, high |
| HF / Winlink | yes, with a licence | very low (text) | low |
Try it
On your sheet from unit 1, mark the nearest towns your community depends on. What connects you to them today? Which of those connections would still work if the power and mobile network failed for three days? Draft the three messages you would send at rung 3 in the first hour, and count their bytes.
Unit 5
Rung 4: By hand
At the bottom of the ladder, people carry the data. That is not failure; it is a technique with a long and proven record.
Sneakernet
Sneakernet means carrying data physically: copying it onto a hard drive, USB stick or SD card and handing it on. The name is a joke ("network" made of sneakers), but the method is serious:
- A 1 TB drive carried across a city in an hour moves more data than most internet connections could in that time.
- It cannot be switched off, throttled or priced.
- It works at every rung, from the next room to the next continent.
Proof at scale: El Paquete
Cuba's El Paquete Semanal ("the weekly package") has delivered a curated bundle of hundreds of gigabytes to a terabyte, television, magazines, software and updates, hand to hand across the whole country, every week, for over a decade, where ordinary internet access is scarce. It is the strongest existing argument that offline distribution is not a compromise but a complete system.
MaRK uses the same pattern for open hardware: weekly design packages, a curated bundle of new and updated designs, documentation and library records, small enough to carry, big enough to matter.
One drive, one whole system
Because every MaRK node holds a full replica of the library (see unit 7), one drive can do things a centralised system cannot:
- Refresh a node with everything it missed in one visit.
- Bootstrap a new node: a new community receives a complete library in an afternoon, not a login.
- Rebuild after loss: a failed server, restored from a carried copy.
Good practice
- Agree on structure in advance: folder layout and file formats, so a package from another region opens without questions.
- Include a manifest: a short plain-text file describing the contents, the date, and who assembled it.
- Check for malware before opening a package on shared machines, and verify checksums when they are provided.
- Remember privacy: a carried drive crosses checkpoints and borders that packets never see. Carry content, not personal data.
Try it
Build a small sneakernet package: a USB stick with one useful offline resource (for example a Kiwix file, a set of repair manuals or open hardware designs from this site's designs catalog), plus a README.txt that explains what is on it, when it was made, and who made it. Pass it to someone and ask whether they could use it without your help.
Unit 6
The MaRK kit
The Maker Resilience Kit (MaRK) puts the prepare-at-rung-1 principle from unit 1 into a box: a small server with content and power backup that serves a building or neighbourhood at every rung, with the same content, the same library, the same services.
What the kits contain
- Compute: a mini PC as the local server (see unit 9) running Lokal, an open platform by Wakoma for community networks.
- Network: the equipment from unit 3: an OpenWRT-capable gateway, access points, optionally outdoor gear for the neighbourhood.
- Power: battery and charging so the kit survives outages and can run on solar.
- Portability: a kit that can be carried to where it is needed beats one bolted into a rack. Example: the Nimble by Wakoma, a portable, open-source unit for community networks.
- A full library: a curated, offline collection of open designs for things people need in a crisis, from water filters to splints to antenna mounts, plus guides, software and reference material. See unit 7 and the site's designs, guides, software and publications collections. Hardware can be bought anywhere; the curated content is what turns a makerspace into a resilience hub, because it decides what the community can actually do.
Power math
Runtime depends on how much power the kit uses and how much energy the battery stores:
Runtime (hours) ≈ usable battery energy (Wh) ÷ power use (W)
Example: a mini PC and router together use about 30 W. A battery with 300 Wh usable energy runs them for roughly 10 hours, somewhat less in practice because of conversion losses. Measure your actual devices with a plug-in power meter instead of trusting the label.
Kits and the ladder
| At rung | The kit is |
|---|---|
| 1 | Fully up to date, syncing with partner kits and pulling updates |
| 2 | Serving the neighbourhood: library, learning, chat, files, coordination by radio |
| 3 | Sending and receiving the small high-value messages that fit the thin channels |
| 4 | The destination of the weekly package and the starting point of the next one |
Try it
Make a list of the ten offline resources you would want on a kit for your community. For each, note where you would get it, how large it is, whether the licence allows you to copy and share it (see unit 7), and which rung it would have to arrive by. Does the list fit on the drive?
Unit 7
The library that stays
Networks carry the connection; the library is what the connection is for. This unit describes how the content on a MaRK node is organised, so a community can rely on it at any rung.
What the library holds
- Open designs with their build files: what a community can make, not just read about (designs).
- How-to and reference material: install guides, repair and making instructions (guides).
- Tools and shopping lists: the software and hardware catalogs, so a community knows what runs offline and what to buy (software, hardware).
- Publications: the research and reference index (library).
Every node is a full copy
Each node holds a full replica of the shared library: the same designs, the same records, the same updates. This is the reverse of a cloud service:
- Any single node can rebuild the whole system from its own copy.
- A new community receives a complete library, not an account.
- Updates spread from partner library to partner library, whichever way the connections happen to work that week.
The costs are honest: storage space and an update habit. In return, no node is ever a client waiting for a server that may be unreachable.
Browse means available
A catalog shipped on a node shows only what is physically on that node, files included. Nothing in it needs the internet to open: no dead thumbnails, no design whose 3D file is actually somewhere else. If you can see it at rung 4, you can make it at rung 4.
How content circulates
- Share: someone at a node adds a design: files, photos, a note on where it came from.
- In review: maintainers check it: does it build, is the description right, is the licence clear?
- Published: accepted designs go into the library for every node, at the next sync or in the next weekly package.
- Update: nodes sync with partner libraries whenever a path exists (a connection, or a carried drive). When none exists, contributions queue locally and nothing is lost; they publish at the next window.
Every design carries its origin: the source it came from, its author, its licence, and whether the files may be copied at all.
Licences and respect
Only openly licensed designs are bundled. Where a source's licence allows sharing its description but not its files, the library carries the link, not the files: makers can follow it when a connection exists, and nobody's rights are stepped on in the meantime. This rule is also why some catalog entries point out to their source.
Open records
Every design's record follows open standards for describing open hardware (Open Know-How), so other organisations, platforms and directories can read our catalog without asking us first. Open content that only one system can open is not fully open.
Try it
- Pick two designs in the designs catalog. For each, note the licence and whether the files are bundled or linked out. You just read a record the way a reviewer does.
- From your unit 6 list of ten offline resources, mark which ones would arrive in the weekly package, and which you would send a rung-3 message about instead.
Unit 8
Who can make this?
A design that only its author can produce is not really open. Connectivity is only half the resilience story; the other half is knowing who, nearby or in the network, can actually build a given thing.
Inside the network
Every node knows its own machines and skills, and the network keeps shared records: which makerspaces exist, where they are (see pilots), what equipment they have (hardware), and what they have already made. A request like "who can print 200 splints this week?" can be answered from the offline directory at any rung, as long as the records were kept current at rung 1.
Beyond the network
The wider world of makerspaces and small workshops is also being mapped in open, standard ways. Open standards describe what a workshop has and can do (facilities, equipment, capabilities), and open tools match designs to those facilities at regional or global scale. One example is Open Hardware Manager, which answers "who can build this design, in this region?" and can even plan production of a design across several workshops when no single one can do every step. Such tools run online and assume rung 1, but the habit, describing workshops' capabilities openly and keeping the records fresh, is what makes them useful the day a crisis starts.
Degraded matching
When the online graphs are unreachable, matching does not stop; it becomes local and older:
- The node's offline directory answers who-can-make-what from the last sync, staleness included; say aloud when the data is from.
- Radio checks (voice, LoRa) ask the network directly: "can anyone near X make Y?"
- Couriers carry the requests that outgrow rungs 2 and 3, and carry answers back.
Everyday use is what makes mutual aid possible under pressure: a network of known, mutually visible makers cannot be improvised during the hours when it is needed most.
Try it
- Pick one design from the catalog. List everything needed to produce it: machines, skills, materials.
- Map who could make it: in your community, across your town, in the network. Note which machine or skill is the bottleneck, and whether the offline directory would answer this today.
Unit 9
Practical: setting up the local server
What it is
The networks from unit 3 connect devices to each other. But a network on its own offers nothing to connect to. This unit turns the mini PC into a local server: a machine on the local network that offers chat, files, an offline encyclopedia, courses, the design library and more, all without internet access. This is the machine that keeps serving at rungs 2 to 4.
This unit uses Lokal, an open platform by Wakoma for exactly this purpose. Lokal can run on a Nimble or be added to an existing network. The unit explains the concepts and steps; for the exact commands, always follow the current Lokal documentation.
The key point: set it up before the crisis
Installing the server needs internet access. The operating system, the installation tools and every service are downloaded during setup. Once installed, the services run locally without internet.
So the local server is something you prepare in good times, test, and keep ready. It is not something you build when the network is already down.
What you need
| Item | Notes |
|---|---|
| Mini PC | Will become the server. Gets a fresh operating system, so back up anything on it first. |
| USB stick (8 GB or more) | To install the operating system |
| A second computer (the "client") | You control the installation from here. Linux or macOS work directly; on Windows you need WSL (Windows Subsystem for Linux). |
| Internet connection | For the whole setup |
| Router from the building network | Connects the server and users |
Step 1: Install the operating system
The server needs a fresh installation of Ubuntu or a Debian-based Linux. Lokal is tested with the latest Ubuntu Server LTS ("Long Term Support": five years of security updates), so that is the safe choice.
- Download Ubuntu Server LTS from ubuntu.com.
- Write it to the USB stick with a tool like balenaEtcher or Rufus.
- Boot the mini PC from the USB stick and follow the installer.
- During installation, enable the SSH server: this lets you control the server from the client computer.
- Create a normal user account (not "root") and note its name and password.
Why Ubuntu Server and not the desktop version? A server has no graphical interface. It uses less power and memory and has fewer things that can break, which is what you want in a box that has to run for months on battery backup.
Step 2: Prepare the client and the server
Lokal is installed remotely, from the client computer, using a tool called Ansible. Ansible logs into the server over SSH and carries out all installation steps automatically, in the same way every time. This makes installations repeatable: ten kits can be set up identically.
In outline:
- On the client: download the Lokal repository and install Ansible.
- Set up SSH key access from the client to the server.
- Optionally, let Ansible prepare the server by installing Docker. The server should not run any firewall other than plain iptables (see the Getting Started guide).
Docker runs each service in its own isolated container, so services do not interfere with each other and can be added or removed cleanly.
Step 3: Choose your services
You decide which services the server offers by listing them in a configuration file. A selection of what Lokal offers, mapped to needs in a crisis:
| Need | Service | What it does |
|---|---|---|
| Reference knowledge | Kiwix | Wikipedia, Project Gutenberg, TED talks and more, offline |
| Learning | Kolibri, Moodle | Offline courses and learning platforms |
| Communication | Matrix with Element, Jitsi | Chat (federated, see unit 2); video calls |
| Sharing files | Nextcloud | Shared files, calendars, contacts |
| Information to the public | WordPress, Azuracast | Local website; local internet radio |
| Books and media | Calibre-web, Jellyfin | E-book library; video and audio library |
| Managing the network | UISP, UniFi controller, Grafana | Monitoring and managing network equipment |
Each service has its own page in the Lokal documentation, explaining what it is and why it is useful for offline or underserved communities. The Lokal start page lists all current services and those planned for the future. Some service pages are still incomplete; for content (e.g. which Wikipedia files to load into Kiwix), the service's own website is the better source, e.g. kiwix.org. Choose deliberately: every service needs storage, memory and someone who knows how to look after it. Three services that people actually use beat fifteen that nobody knows about.
Step 4: Run the installation
You also set a domain name in the configuration. Each service gets its own address under it, e.g. kiwix.yourdomain or chat.yourdomain. Then you start the installation from the client and wait. When it finishes, reboot the server.
Two details that trip people up: the admin password must be at least 12 characters with no special characters or spaces, and Windows clients need WSL. The Getting Started guide covers the rest.
Step 5: Test, offline
Disconnect the router from the internet and check, from a phone on the local WiFi:
- Can you open each service by its address?
- Does it work without internet?
- Can someone who has never seen it before find their way?
Keeping it running
Lokal uses the same Ansible playbook for maintenance as for installation, applied to individual services (Getting Advanced: Operations):
- Upgrade: re-running the installation for a service usually pulls a newer version and restarts it. Upgrade one service at a time.
- Back up and restore individual services.
- Uninstall services you no longer need.
Plan regular maintenance days when internet is available: upgrade, back up, check that everything still works offline. Keep backups somewhere other than the server itself, e.g. on the kit's hard drive or a USB drive (see sneakernet). A server that is never updated becomes insecure.
Going further: adding your own service
If a tool your community needs is not available, you can add it. In Lokal, each service is a Docker Compose file installed by an Ansible role, and the repository contains an example role to start from. The Add New Service guide explains the structure. Contributions back to Lokal help other communities too.
Limits and pitfalls
- Addresses must work offline. Users reach services by name (
kiwix.yourdomain). Without internet, the local network has to know where those names point. The Lokal documentation does not cover this; check how your router and the Lokal setup handle it before you rely on it. - Hardware requirements are up to you. The Lokal documentation does not specify any. Storage needs grow quickly with content (Kiwix files, media); size the drive for the content you plan, not for the software.
- Certificate warnings. Lokal routes traffic through Traefik and offers several ways to get HTTPS certificates (Getting Advanced: HTTPS cert resolvers). The automatic Let's Encrypt options need the server to be reachable from the internet with a public domain. Without that, Lokal falls back to self-signed certificates: browsers do not trust them, so users see an "invalid certificate" warning and have to accept an exception for each service address. Alternatively, you can install your own wildcard certificate (static certificates), but certificates expire and need renewing when internet is available. Decide on one approach before deployment, and tell users what to expect, or they will (rightly) learn to ignore warnings.
- Content has to be downloaded too. Kiwix without Wikipedia files is empty. Large content files (tens of GB) take a long time to download, so plan ahead.
- Write it down. Note the admin passwords, domain and installed services, and keep that information somewhere safe but findable.
Try it
- Install Ubuntu Server LTS on an old laptop or mini PC and log in from another computer via SSH.
- Pick three services from the table that your community would actually use, and say why.
- If you have a full Lokal installation: unplug the internet and have someone who has not seen it before find a Wikipedia article on water purification.
References
Lokal documentation (Wakoma):
- Lokal Docs: start page and services list
- Getting Started
- Getting Advanced: HTTPS certificates and operations
- Add New Service
- Resources
- Lokal source code and documentation repositories: github.com/Wakoma
Operating system:
Unit 10
Outlook: open questions
This unit describes what the MaRK project is still working out, in this phase or in follow-up projects. It is a work in progress, and contributions are welcome.
LoRa for sensing
LoRa is well suited to sensors: small amounts of data, long distances, low power. Possible uses:
- water levels in rivers and drains (flood early warning)
- air quality, temperature, rainfall
- status messages from remote kits ("power OK, battery 80%")
Questions still to answer
- What goes over LoRa, what over WiFi? A combined system needs a clear split. Which alerts must get through even when WiFi links are down? How do LoRa messages reach the local server and its users? Who manages the LoRa network, and how is it secured?
- How fresh is "fresh"? If sync windows are weekly, what deserves to be fresher (records, needs lists) and what can wait (media, bulky files)?
- When does a node outgrow full copies? The library is growing on purpose. When a node's drive gets small relative to the whole collection, what stops being carried first, and how does the catalog say so honestly? The working rule: thin out the big originals first, never the guides and ready-to-make files.
- How review works offline. Reviews queue with everything else; how do maintainers keep "in review" from becoming "forgotten" across sync windows?
- Verifying what arrives. Hand-carried packages pass through untrusted hands: which checks (checksums, signatures, a malware pass) become standard practice?
How to contribute
Share your experience with LoRa, Meshtastic, community networks or offline libraries in disaster settings by opening an issue on Codeberg.
Reference
Glossary
Access point (AP): A device that provides a WiFi network that phones and laptops connect to.
ActivityPub: An open standard that lets independent social media servers exchange posts. Used by Mastodon and other Fediverse services.
Ansible: A tool that installs and configures software on other computers automatically over SSH, the same way every time.
Bandwidth: How much data a connection can carry per second.
Docker: Software that runs each service in its own isolated container, so services can be added or removed without affecting each other.
DFS (Dynamic Frequency Selection): A rule for some 5 GHz channels: devices must detect radar and switch channels if they find it.
Datacasting: One-way broadcast of data, e.g. via satellite. Anyone with a receiver can pick it up, but cannot send anything back.
Duty cycle: The share of time a radio device is allowed to transmit. In Europe, many LoRa bands are limited to 1%.
Federation: Many independent servers talking to each other through a shared open standard, as with email. No single operator controls the whole system.
Fresnel zone: The football-shaped zone around the direct line between two antennas. It should be mostly free of obstacles for a strong link.
Gateway: A device connecting one network to another, e.g. a home network to the internet, or LoRaWAN sensors to a network server.
Kiwix: Software that makes Wikipedia and other reference works available offline.
Licence-exempt band: Radio frequencies anyone may use without a licence, within national rules on power and use (e.g. 2.4 GHz, 5 GHz, 868 MHz in Europe).
Lokal: An open platform by Wakoma for running local services (chat, files, offline content) on a community network.
LTS (Long Term Support): A software release that receives security updates for several years. Ubuntu LTS releases get five years.
Line of sight: A clear, straight path between two antennas.
LoRa: A long-range, low-power, low-bandwidth radio technology.
LoRaWAN: A network standard built on LoRa, with devices talking to gateways in a star structure.
Matrix: An open standard for federated chat.
Mesh network: A network in which nodes connect to their neighbours and relay data for each other, so traffic can take another path if one node fails.
Meshtastic: Open-source software for text messaging over LoRa in a mesh, without additional infrastructure.
Mini PC: A small, low-power computer, used here as a local server.
OpenWRT: Open-source firmware for routers that replaces the manufacturer's software.
P2P (peer-to-peer): Devices exchanging data directly with each other, without a central server.
PoE (Power over Ethernet): Supplying power through the network cable.
Point-to-point link: A direct wireless connection between two fixed places using directional antennas.
Repeater: A device that receives a WiFi signal and re-transmits it to extend coverage, at the cost of speed.
Router: A device that directs traffic between networks and usually hands out addresses to connected devices.
SSH (Secure Shell): A secure way to log into and control another computer over the network.
Sneakernet: Moving data by physically carrying storage media.
Ubuntu Server: A Linux operating system for servers, without a graphical interface.
UPS (uninterruptible power supply): A battery unit that keeps devices running during power cuts.
Degradation ladder: The sequence of fallbacks a prepared community uses as connectivity fails: full internet, own networks, long-distance low-bandwidth channels, then hand-carried drives.
Full replica: A complete copy of the entire shared library on one node, so that any single node can rebuild or re-seed the whole system.
HF (high frequency): Shortwave radio frequencies (3 to 30 MHz) that travel far beyond the horizon with minimal infrastructure; the basis of long-distance amateur radio and Winlink.
Manifest: A short plain-text list of what a package or update contains, with date and origin, so recipients know what they are getting before downloading it.
Winlink: A system that lets radio operators send and receive email over HF radio through volunteer gateways; widely used in emergencies.
For facilitators
Facilitator notes
Suggestions for running this module as a workshop.
Formats
| Format | Duration | Content |
|---|---|---|
| Short input | 60 min | Unit 1 (the ladder) + a one-slide walk down the four rungs + discussion |
| Half-day workshop | 3–4 h | Units 1–8 with the "Try it" tasks for units 1, 5 and 6, closing with the pull-the-plug exercise |
| Two-day hands-on | 2 days | All units, plus flashing OpenWRT, installing Ubuntu Server and Lokal on a mini PC (with internet at the venue), and building a test link between two windows or rooftops |
Materials for the hands-on version
- 2–3 OpenWRT-supported routers (check the Table of Hardware beforehand)
- 1 mini PC with Kiwix and sample content pre-installed
- USB sticks for the sneakernet exercise and the pull-the-plug exercise
- Printed floor plan of the venue and a local map
- Optional: two Meshtastic-capable LoRa devices for a demonstration
Running thread
Ask participants to draw the ladder sheet from unit 1 (four rungs with room for notes) and add to it in every unit; in unit 3 they draw their community's geography next to it. At the end, each person has a rough resilience plan: what they have, what still works at each rung, and what is missing.
The pull-the-plug exercise
Close with a 30-minute tabletop walk down the ladder. Participants keep their unit 6 list of ten resources and their geography notes from unit 3. Announce failures one at a time and give the group three minutes per rung:
- "The internet is gone, for an unknown period." What still works? What do you wish you had downloaded last week?
- "The mobile network is down too." Which of your needs still run on your own network? What would you send by voice radio or LoRa?
- "Only long-distance thin channels remain." Which three messages do you send first (unit 4)?
- "Nothing electronic reaches you." What does the weekly package contain, and who carries it where?
Collect the answers: they are the community's to-do list while rung 1 is still available.
Adapting the module
- Localise the examples: national regulator, local community networks, typical hazards (floods, power cuts, conflict).
- Translate: the units are short and self-contained, so they can be translated one at a time.
- Keep it honest: if something in this module does not match your local experience, change it and share the change.