Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nilsding/wap
give guests access to your WiFi with style
https://github.com/nilsding/wap
escpos-printer guest-wifi unifi wifi-network
Last synced: 26 days ago
JSON representation
give guests access to your WiFi with style
- Host: GitHub
- URL: https://github.com/nilsding/wap
- Owner: nilsding
- License: agpl-3.0
- Created: 2021-01-18T20:30:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-20T21:39:27.000Z (over 2 years ago)
- Last Synced: 2023-05-02T21:56:47.858Z (over 1 year ago)
- Topics: escpos-printer, guest-wifi, unifi, wifi-network
- Language: Ruby
- Homepage:
- Size: 6.58 MB
- Stars: 19
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# WiFi Access Printer
A small thing to give guests access to your WiFi with style.
## Requirements
- Ruby 2.7
- A thermal printer that talks ESC/POS and has a "Feed" button, connected either via USB or ethernet
- A UniFi controller, which
- has a WiFi Access Point configured with WPA-Enterprise
- and has a USG adopted which acts as a RADIUS server## Installation
0. Copy `config.rb.example` to `config.rb` and configure it to match your setup
1. Install the bundle: `bundle install`
2. Run the application using `./exe/wap` (run it with `./exe/wap fake` for a testing mode that does not make calls to UniFi)## Usage
Push the "Feed" button on the thermal printer to receive a new access code that's valid for 24 hours.