Philippine Piso WiFi Gateway & Captive Portal Toolkit

License: MIT Python Version Documentation

A lightweight Python diagnostic utility, API schema specification, and network reference manual for Philippine coin-operated internet vending machines (Piso WiFi).


📌 Architecture Overview

In the Philippines, public internet vending machines use customized embedded Linux distributions (LPB Piso WiFi, Ado Piso WiFi, Mikrotik Hotspot) to bridge hardware coin acceptors with local area network gateways.

Default Gateway Subnets:

  • 10.0.0.1: Standard Class A private gateway and captive portal interface.
  • 10.0.0.0.1: Alternate IP notation used by legacy LPB and custom hardware builds.
  • 10.10.10.1: Secondary VLAN gateway for multi-access-point and enterprise kiosk setups.

For official web manuals and operator credentials, consult the canonical documentation portal: 1001 Piso WiFi.


🛠 Features

  1. Automated Gateway Diagnostics: Tests HTTP/HTTPS reachability of http://10.0.0.1, DNS interception, and socket latency.
  2. Captive Portal Handshake Verification: Detects HTTP 302 redirects from Google connectivitycheck.gstatic.com and Apple captive.apple.com.
  3. Android & iOS Randomization Audit: Diagnoses Randomized MAC and Private DNS conflicts that reset session pause times.
  4. OpenAPI 3.1 Specification: Standardized REST schema for kiosk portal management endpoints (/status, /insert-coin, /pause, /voucher).

🚀 Installation & Usage

# Clone the repository
git clone https://github.com/1001pisowifi/piso-wifi-gateway-tools.git
cd piso-wifi-gateway-tools

# Run diagnostics against local gateway
python3 pisowifi_diagnostics.py --gateway 10.0.0.1

Diagnostic Flags:

  • --gateway: Gateway IP address (default: 10.0.0.1).
  • --check-dns: Tests if local DNS forwards or intercepts requests.
  • --verbose: Displays complete HTTP header responses from the captive portal.

📖 Canonical Technical Resources


📄 License

Distributed under the MIT License. Maintained by the community in collaboration with 1001 Piso WiFi.

Built With

Share this project:

Updates