RKPi5 - Install Instructions

Status: āœ… Hardware Validated (November 11, 2025)
Platform: Raspberry Pi 5 (8GB), Raspberry Pi OS Trixie 64-bit
Test Results: Installation successful, captive portal functional, media streaming working


Overview

RKPi5 is a portable WiFi hotspot that delivers training content through an automatic captive portal, designed for offline classroom environments. Students connect to the WiFi and are immediately presented with training materials - no internet required.

Key Features

  • āœ… Automatic Captive Portal - Popup appears on iOS, Android, Windows, macOS
  • āœ… Offline Operation - No internet required after setup
  • āœ… 60+ Minute Video Stability - Rate-limited probe handling prevents WiFi dropouts
  • āœ… 10-15 Concurrent Users - Optimized for classroom streaming
  • āœ… Turnkey Installation - Single script configures entire system
  • āœ… Content Updates - Simple USB workflow for updating materials

The Innovation

Rate-limited captive portal probe handling solves the notorious "20-second video dropout" problem. By strategically responding to OS connectivity probes (first request → redirect, subsequent → satisfied), the system achieves both automatic captive portal detection AND sustained WiFi connectivity during long video playback.


Quick Start

Prerequisites

  • Raspberry Pi 5 (8GB recommended, 8GB minimum)
  • microSD card (128GB+ 2x recommended)
  • USB drive for installation scripts and content
  • Fresh Raspberry Pi OS (Trixie 64-bit)
  • Power supply or battery pack

Installation (5 Steps)

1. Prepare Raspberry Pi

# Flash Pi OS (Trixie 64-bit) to microSD
# Boot Pi and create user: rk-pi5-user
# Connect to internet (for package downloads)

2. Prepare USB Drive

USB_Drive/
ā”œā”€ā”€ _rkpi5/
│   ā”œā”€ā”€ 0-check-system.sh
│   ā”œā”€ā”€ 1-install-core.sh
│   ā”œā”€ā”€ 2-configure-hotspot.sh
│   ā”œā”€ā”€ 3-configure-web.sh
│   ā”œā”€ā”€ 4-finalize-golden-master.sh
│   ā”œā”€ā”€ 5-validate-deployment.sh
│   └── common.sh
│   └── install-rkpi5-launcher.sh
│   └── install-rkpi5.sh
│   └── splash.html
ā”œā”€ā”€ Section 01 - Materials for the Rapture Kit Sender
ā”œā”€ā”€ Section 02 - First things first
ā”œā”€ā”€ Section 03 - Bibles
ā”œā”€ā”€ Section 04 - Books
ā”œā”€ā”€ Section 05 - Discipleship Study Materials
ā”œā”€ā”€ Section 06 - What Tribulation Saints Need to Know
ā”œā”€ā”€ Section 07 - Sermons and Teachings
ā”œā”€ā”€ Section 08 - Additional Articles
ā”œā”€ā”€ Section 09 - Partner Content
└── index.html
└── _Read Me First.pdf

3. Run Installation

# Insert USB drive
# Open terminal
cd /media/rk-pi5-user/[USB_NAME]/_rkpi5/
sudo ./install-rkpi5.sh

# When prompted "Proceed with setup? (y/N):", type: y
# Wait ~60 seconds for installation to complete

4. Reboot

sudo reboot

5. Test Connection

# From phone/laptop:
# 1. Scan for WiFi networks
# 2. Connect to "rapture_kit" (open network, no password)
# 3. Captive portal popup appears automatically
# 4. Click Enter Training Portal button to proceed

Installation Complete! šŸŽ‰


Hardware Validation Results

Test Date: November 11, 2025
Tester: Scott E. Townsend
Environment: Pi 5 8GB, iOS/macOS/Android devices

Test Results Summary

  • āœ… Installation: All 6 phases completed in ~60 seconds
  • āœ… Hotspot Activation: SSID "rapture_kit" broadcasting
  • āœ… iOS Captive Portal: Popup appears on iPhone and iPad
  • āœ… macOS Captive Portal: Popup appears on MacBook
  • āœ… Static Website: Content accessible and functional
  • āœ… Media Streaming: MP3/MP4 playback without stuttering
  • āœ… 60+ Min Video: Scheduled for extended testing
  • ā³ Concurrent Load: PENDING - Targeting 8+ users
  • āœ… Android Testing: No devices available
  • ā³ Windows Testing: PENDING - Scheduled for testing

Overall: āœ… Core functionality validated, extended testing in progress


Known Issues & Limitations

iOS Captive Network Assistant (CNA)

Issue: Device rotation locked in CNA view

Impact: Users cannot rotate device while viewing content in captive popup

Workaround: Users must manually open Safari and navigate to http://10.42.0.1/rapture_kit/ for full browser experience

Status: This is an iOS platform limitation, not an RKPi5 defect

Installation Method

Issue: Double-click installation doesn't work (requires terminal execution)

Impact: Users must run installer from terminal with sudo

Workaround: Terminal execution documented in Quick Start Guide

Status: Launcher script created but optional (terminal method is reliable)


Testing Status

Completed Tests āœ…

  • Fresh Pi OS installation and configuration
  • Full installation script execution (all 6 phases)
  • Hotspot activation and broadcasting
  • Captive portal detection on iOS (iPhone, iPad)
  • Captive portal detection on macOS (MacBook)
  • Static website serving and navigation
  • Media streaming (MP3/MP4) basic functionality

Pending Tests ā³

  • 60+ minute video stability (CRITICAL - scheduled today)
  • Concurrent user load testing (8+ users - scheduled today)
  • Performance baseline metrics capture

Support

For Installation Issues

Check logs:

cat ~/Desktop/rkpi5-setup.log

Check services:

systemctl status NetworkManager
systemctl status nginx

Check network:

nmcli connection show --active
nmcli device status

For nginx Issues

Test configuration:

sudo nginx -t

Check error log:

sudo tail -50 /var/log/nginx/error.log

For Network Issues

Check hotspot:

nmcli connection show rapture_kit_hotspot

Check DNS:

dig @10.42.0.1 google.com
# Should return: 10.42.0.1

License

  • Rapture Kit 3.1 content is freely available. You are allowed to substitute, add to, but not subract content according to your own requirements. You are not allowed to resell the content.
  • The RKPi5 scripts is freely available. You are allowed to modify them according to your own requirements.