v0.0.2 - Improved Configuration, Multi-Mint Support, and auto update
Summary of Key Changes in v0.2.0
This document provides a high-level summary of the key changes in this release. This release builds upon v0.2.0-beta1 with a much better captive portal.
Key Changes
1. New Captive Portal
- Completely rebuilt the captive portal interface
- Added a proper success page that shows when you're connected
- Better error messages when things go wrong
- Works better on mobile devices now
2. Better Payment Experience
- Cleaner interface for both Cashu and Lightning payments (LN coming soon)
- Real-time token validation for Cashu
- Added internationalization support (English for now)
- Improved accessibility for screen readers
Steps to Reproduce Results
1. Flash Router with New Image
Flash the router with the latest image containing the v0.2.0-beta2 release.
2. Configure Upstream Gateway
- Connect to the router's WiFi network and configure the upstream gateway settings
- Enable reseller mode in
/etc/tollgate/config.jsonto become a beta tester of automated purchasing
3. Test the New Captive Portal
- Connect a device to the router
- Navigate to the captive portal (should redirect automatically)
- Try both Cashu and Lightning payment methods
- Test the QR code scanner with your camera
- Try pasting tokens/invoices from clipboard
- Verify the window closes automatically after payment
4. Verify Internet Connectivity
- Complete a payment through the new portal
- Check that you get internet access
- The router should automatically purchase internet from the best available upstream gateway
- Monitor with
logread | grep "tollgate"to verify session top-up workslogread -fe tollgatefor live tailing
5. Use the CLI Interface
SSH into the router and use the tollgate command to check service status, wallet balance, and other available commands.
Notes
This release keeps all the functionality from v0.2.0-beta1:
- Automated Internet Purchases (Crow's Nest)
- CLI interface via SSH
- Raspberry Pi 4 support
- Wallet draining to Cashu tokens
- Testing infrastructure
The main focus of v0.2.0-beta2 is making the captive portal actually usable and pleasant to interact with.
Download
The release is available for download at:
https://releases.tollgate.me
Installation instructions can be found in the main documentation.
Install
This release includes two types of files: TollGate WRT (.ipk) packages and TollGate OS (.bin) images. Here’s how to understand the difference and choose the correct file for your hardware.
TollGate WRT (.ipk packages)
Use case: To install TollGate as an application on a router that is already running OpenWRT.
These are software packages that add TollGate functionality to your existing OpenWRT system. This method preserves all your current settings, files, and installed programs.
-
How to choose the correct file:
The filenames are based on CPU architecture (e.g.,aarch64_cortex-a53.ipk,mips_24kc.ipk). You must select the.ipkpackage that matches your router's specific processor architecture. -
How to install:
Replace<architecture>.ipkwith the filename you downloaded.opkg install <architecture>.ipk
TollGate OS (.bin images)
Use case: To perform a fresh installation of an operating system that comes with TollGate pre-installed.
These are full firmware images that will replace your router's entire operating system. This process provides a clean, minimal OS environment optimized for TollGate.
Warning: Installing a
.binimage will wipe all existing data, configurations, and programs from your device.
-
How to choose the correct file:
The filenames correspond to specific, supported router models (e.g.,gl-mt3000.bin,glar300m16.bin). You must select the.binfile that exactly matches your router model. -
How to install:
Replace<model>.binwith the filename you downloaded.sysupgrade -n <model>.bin
Configure
Set your lightning address as shown in the quick start guide.
Summary
| Installation Type | Filename Format | Purpose | Effect on Device |
|---|---|---|---|
| TollGate WRT | <architecture>.ipk |
Add TollGate to an existing OpenWRT system | Preserves all existing data and settings |
| TollGate OS | <model>.bin |
A complete, fresh OS with TollGate built-in | Wipes the device completely |