Re: Consuming card code
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
Hey Juraj, I think that you are over-complicating things. This is rather easy to implement, you simply need to create a pincode-auth scenario and for limiting the time you can use Max-All-Session attribute. Be sure to check daloRADIUS as a management platform for RADIUS and Hotspots deployments (if you're working with SQL databases, MySQL specifically though other are supported too). daloRADIUS <http://sourceforge.net/projects/daloradius/>- http://sourceforge.net/projects/daloradius/ I'll be glad to be of help if you need assistance in implementing this kind of solution in your network. On Thu, Feb 28, 2008 at 9:50 AM, Juraj Bilic <asipu_zu@yahoo.com> wrote:
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.
Regards, Liran Tal.
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.
Use freeradius total (sql)counter instead. Ivan Kalik Kalik Informatika ISP
participants (3)
-
Ivan Kalik -
Juraj Bilic -
Liran Tal