Community discussions

MikroTik App
 
norenberg
newbie
Topic Author
Posts: 49
Joined: Mon Nov 23, 2009 2:26 am

Radius server died, how to release hotspot from login?

Tue Mar 08, 2011 12:43 pm

It sounds like a stupid question, but what would be the easiest way to bypass the login temporarly (free access to everyone) just until I repair my radius server? So I can later just re-enable?

Thanks for any help
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Radius server died, how to release hotspot from login?

Tue Mar 08, 2011 1:37 pm

This should do it if your network is set up correctly:
/ip hotspot
disable X
When the radius server is back, then
/ip hotspot
enable X
Change X to the line number of the hotspot.
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: Radius server died, how to release hotspot from login?

Tue Mar 08, 2011 4:55 pm

The main problem you are likely to run into is how do you determine that your RADIUS server is down? Sure you can ping it, but just because the physical box is reachable doesn't mean that the RADIUS server is running right. This however would be the quickest method to implement, and easiest script to make.

You might be able to modify this script to parse out when the RADIUS server is not responding and take action based on that. This one will obviously take more work, but should produce a more reliable test.
http://wiki.mikrotik.com/wiki/Log_Parse ... ger_Script
 
norenberg
newbie
Topic Author
Posts: 49
Joined: Mon Nov 23, 2009 2:26 am

Re: Radius server died, how to release hotspot from login?

Tue Mar 08, 2011 11:54 pm

Thanks guys!
It worked. I will try to implement this script afterwards!

Cheers

Who is online

Users browsing this forum: drymarau, jzapater, marquetry and 61 guests