A small thing to give guests access to your WiFi with style.
- 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
- Copy
config.rb.example
toconfig.rb
and configure it to match your setup - Install the bundle:
bundle install
- Run the application using
./exe/wap
(run it with./exe/wap fake
for a testing mode that does not make calls to UniFi)
Push the "Feed" button on the thermal printer to receive a new access code that's valid for 24 hours.