Description:

This document describes how to set up your Public Spot so that users who have booked for a certain period receive a limited time budget each day.


Scenario:
  • A user account is set up for each Public Spot user, and this expires after a certain validity period or term, e.g. 365 days.
  • A Public Spot user can login to the Public Spot several times per day (e.g. for Internet access), although the access time is limited to no more than 2 hours per day.
  • If a Public Spot user reaches the daily maximum time budget of 2 hours, the user's access to the Public Spot is blocked for the rest of the day.
  • The next day, the Public Spot user again has a maximum time budget of 2 hours.


Requirements:
  • A functional fully configured Public Spot scenario.
    Note:
    The configuration of a simple Public Spot scenario with the LANCOM Setup Wizard is described in the following Knowledge Base article .



Procedure:

1) Using WebConfig , go to the menu Setup wizards -> Create Public Spot account or modify existing user accounts to incorporate the following parameters:
  • In this example, the validity period for each Public Spot voucher is 365 days.
  • The daily time budget is 120 minutes . Access is blocked if the daily budget is exhausted.



2) Open the configuration for the LANCOM and switch to the menu item Date & time -> CRON table.

3) Create a new CRON entry with the following parameters:
  • In this example the time budget should be reset each day at midnight. Enter 0 into the fields for Minutes and Hours.
  • Enter the following into the Commands field:

    do /status/TCP-IP/RADIUS-Server/Accounting/Delete-Accounting-Total *

    This command deletes the time budgets recorded to the RADIUS accounting table.

4) Write the configuration back to the LANCOM.