Public Wi-Fi Access Terms and Conditions
The next step is to create a user account in Zeroshell called ‘freeuser’ with a suitable password, and put this password in the template. I used ‘freeuserpassword’ as an example here. At some point, though I can’t find where at the moment, you also need to grant this user permission to log on multiple times, set a number of hours each logon can use, set up matching DHCP leases, and so on.
The authentication page also lets you upload and use different images for the welcome page, and you can edit the template’s colour scheme directly in the page source.
This example assumes you aren’t going to use this captive portal for anything but public access, as it uses the built-in example.com realm and doesn’t allow for users other than ‘freeuser’ specified in the template. You might be able to add extra lines to re-enable per-user access and still allow public access.