Hotspot Trial User Download Limit

Hi All,

I would like to allow trial hotspot users the ability to have 2 hours per day or 100MB, whichever comes first - Is there a way to do this?

I know there is the provision to allow fixed download limits within the user configuration, but i am not sure how to define this for dynamically created user accounts for trial users.

Any advice will be greatly appreciated… Thanks!

Moving forward slowly here..

but my thinking is that perhaps my goal could be possible with a script that defines a trial Hotspot User account (or their MAC address) and the Bytes In for that user’s session, and depending on bytes in, a potential adjustment made to the trial user’s uptime so that it is tthe same as the maximum defined for trial users within the hotspot server profile. i.e, If the bytes-in for the mac address of a trial user reach a pre-defined amount during the trial period, then the user’s uptime statistic might be adjusted to be the same as the maximum up-time limit assigned for trial users, therefore causing their session to be terminated until the “trial uptime reset” period is reached.


So for example, within my Hotspot Server Profile i have trial users enabled with a Trial Uptime Limit of 2 hours, and a Trial Uptime Reset of 1 day - with the script i would propose to implement, if a user exceeded 100MB during their trial time limit, then their uptime would be modified by the script to be 2 hours therefore causing them to hit their “Uptime Limit” and their account to be suspended until the following day when their trial uptime is reset and previous days account expunged.

Does this sound plausible? Has anyone else tried to implement a similar mod to the hotspot trial user function?

(thanks to Matmor for ideas gleaned from his script to adjust bandwidth for wireless users based on usage)

cheers.. jasta

Why do you want to do Free Trial every day ?

probably more accurate of me to say that I am trying to create a fair usage policy for a community free wifi system using the trial feature of MT hotspot.

The benefit of the trial feature in my current thinking is that it removes any complexity in user sign up, they just click the link on the login page and their account is dynamically created with a set time limit for usage and period after which the user’s time allocation is reset.

the only downfall is that the community wish to provide the maximum available speed to users and if a user is given a few hours per day without an associated download limit, they can potentially milk many gig per day running up the cost to provide the service.

So i guess in essence what i am trying to achieve could be one of the following scenarios with a “one-click account creation & login”;

  • a user is provided 2 hours per day or 100MB of downloads with the count being reset every 24 hours

or

  • a user can have unlimited access per month, but if they exceed a certain download limit their speed is throttled so that the system favours those who do basic surfing, mail, chat etc over anyone who tries to use the system for downloading, lots of video etc

i am sure i am missing other more obvious and better approaches but the trial feature started me thinking as it provided 90% of what the community wanted to do without customization and straight out of the box!

Thanks for any ideas, jasta

Hello jasta…

did you have any success how to solve this “little” problem ?

I need to solve this scenario - disable TRIAL user (the one which is dynamically created) after user downloads more then 100 MB per 1 hour. Any idea how to solve this ?

Thx for any response.

Byez MT FUNS !