Consuming card code
Juraj Bilic
asipu_zu at yahoo.com
Thu Feb 28 08:50:21 CET 2008
>
>>
Can
i
implement
user
login,
consuming
of
card
codes,
etc.
with
only
packets
(acct)
>>
or
im
missing
some
crucial
points?
>
>
No
idea.
What
"card
codes"
are
you
talking
about?
>
The problem:
There is a host that controls internet access for 25 different machines.
For having internet access machine user must type prepaid code.
(there are 1000 generated prepaid valid codes)
With one prepaid code user can use the internet for 1h.
If user used only 20min of his current prepaid code he can use it again.
on another machine (this code now gives 40min of internet access)
My naive solution:
Use freeradius on host and special .net app on every user machine
to control everything.
>>
I
hope
that
i
(user,
client)
can
make
an
behaviour
of
communicating
with
freeradius
every
10sec
>>
and
consuming
10sec
of
currently
selected
card
code.
>
>
You
don't
want
to
send
accounting
packets
to
the
server
every
10s.
> It's
a
very
bad
idea.
>
>
If
you
need
10s
granularity
on
accounting,
use
a
local
database.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the Freeradius-Users
mailing list