Freeradius redirect expried user to billing web page

Taking care of your Linux box.

Freeradius redirect expried user to billing web page

Postby cyph3r » Tue Dec 28, 2010 12:57 am

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
WLM: cyph3r.07@hotmail.com

Postby cyph3r » Tue Jan 11, 2011 5:15 pm

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

no reply :(
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
WLM: cyph3r.07@hotmail.com

Postby DivineLight » Wed Mar 02, 2011 10:58 pm

whats the language freeradius is coded in?
DivineLight
Naik
 
Posts: 71
Joined: Fri Sep 02, 2005 5:47 am
Website: http://loop.pk
WLM: munirpak2000
Yahoo Messenger: munirpak2000
Location: Lahore

Postby cyph3r » Fri Mar 18, 2011 9:29 pm

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
WLM: cyph3r.07@hotmail.com

Postby khizer » Fri Mar 18, 2011 11:59 pm

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.
khizer
Lance Naik
 
Posts: 20
Joined: Fri Feb 25, 2011 2:40 am
Location: Sharjah

Postby DivineLight » Sat Mar 19, 2011 2:05 am

Sorry Cypher dont't know this :/

Try ubuntuforums :)
DivineLight
Naik
 
Posts: 71
Joined: Fri Sep 02, 2005 5:47 am
Website: http://loop.pk
WLM: munirpak2000
Yahoo Messenger: munirpak2000
Location: Lahore

Postby cyph3r » Sat Mar 19, 2011 9:21 am

Thanx guys
no problem :D
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
WLM: cyph3r.07@hotmail.com

Postby mudasir » Fri Mar 25, 2011 9:00 pm

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
mudasir
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai

Postby cyph3r » Tue Jun 28, 2011 3:31 am

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
cyph3r
Lance Naik
 
Posts: 46
Joined: Tue Jan 22, 2008 1:27 am
WLM: cyph3r.07@hotmail.com

Postby zaib » Tue Jul 12, 2011 11:57 am

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
zaib
Naik
 
Posts: 97
Joined: Thu Jan 10, 2008 3:11 pm
Website: http://aacable.wordpress.com
WLM: aacable@hotmail.com
Yahoo Messenger: johny_reico@yahoo.com
Location: Karachi


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 2 guests