Freeradius redirect expried user to billing web page

Taking care of your Linux box.
Post Reply
cyph3r
Lance Naik
Posts: 46
Joined: Tue Jan 22, 2008 1:27 am

Freeradius redirect expried user to billing web page

Post by cyph3r »

I want to redirect expired user to billing web page .
i m using freeradius with mikrotik hotspot.

Waiting for your gud replies.
Regards,
Mehmood Ahmed |cyph3r|
(+92)345-2835810
E-mail:cyph3r.07@hotmail.com
cyph3r
Lance Naik
Posts: 46
Joined: Tue Jan 22, 2008 1:27 am

Post by cyph3r »

hello
where are u guys ??????????????

no reply :(
Regards,
Mehmood Ahmed |cyph3r|
(+92)345-2835810
E-mail:cyph3r.07@hotmail.com
DivineLight
Naik
Posts: 71
Joined: Fri Sep 02, 2005 5:47 am
Location: Lahore
Contact:

Post by DivineLight »

whats the language freeradius is coded in?
cyph3r
Lance Naik
Posts: 46
Joined: Tue Jan 22, 2008 1:27 am

Post by cyph3r »

Regards,
Mehmood Ahmed |cyph3r|
(+92)345-2835810
E-mail:cyph3r.07@hotmail.com
khizer
Lance Naik
Posts: 20
Joined: Fri Feb 25, 2011 2:40 am
Location: Sharjah

Post by khizer »

cyph3r wrote:hello
where are u guys ??????????????

no reply :(
I wish I could help you :(

You are on your own I think :?


-Khizer
-Khizer Naeem Mughal

Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.
DivineLight
Naik
Posts: 71
Joined: Fri Sep 02, 2005 5:47 am
Location: Lahore
Contact:

Post by DivineLight »

Sorry Cypher dont't know this :/

Try ubuntuforums :)
cyph3r
Lance Naik
Posts: 46
Joined: Tue Jan 22, 2008 1:27 am

Post by cyph3r »

Thanx guys
no problem :D
Regards,
Mehmood Ahmed |cyph3r|
(+92)345-2835810
E-mail:cyph3r.07@hotmail.com
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

Actually its not that difficult. I did that quiet some time back. You need to add an attribute in the profile "Expiration" and check this in authorization process.

Another work around which i now use is simpler then the above one. Just make a field in table "date_created" and make sure that the PHP form that you are using to create users inserts the date properly.
I have created a BASH script that runs daily at 1am and check for the date_created field and disables all users that have passed the 1 month time.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
cyph3r
Lance Naik
Posts: 46
Joined: Tue Jan 22, 2008 1:27 am

Post by cyph3r »

Mudasir bhai please share this BASH script !!
i want to do this !
Regards,
Mehmood Ahmed |cyph3r|
(+92)345-2835810
E-mail:cyph3r.07@hotmail.com
zaib
Naik
Posts: 97
Joined: Thu Jan 10, 2008 3:11 pm
Location: Karachi
Contact:

Post by zaib »

mudasir wrote:Actually its not that difficult. I did that quiet some time back. You need to add an attribute in the profile "Expiration" and check this in authorization process.
Another work around which i now use is simpler then the above one. Just make a field in table "date_created" and make sure that the PHP form that you are using to create users inserts the date properly.
I have created a BASH script that runs daily at 1am and check for the date_created field and disables all users that have passed the 1 month time.
Good Tip. I hope it can work.
Currently I am using DMASOFTLAB RM, it have nice GUI with NEXT Service option when current service expires, where you can either slow down the speed for the user, or redirect them to "ACCOUNT EXPIRED WARNING" message page via expired ip pool/firewall option. Try RM, the Price is cheap and it will give you a full feature rich GUI to control as per you requirements.

But if you wanna learn things, try MUDASSIR's advise. It's good to learn at your own first.
Regards,

SYED JAHANZAiB

web: http://aacable.wordpress.com
msn: aacable@hotmail.com
Post Reply