Community discussions

MikroTik App
 
dconnrt
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Mon Jul 28, 2008 10:53 pm

Werid Hotspot problem (users always held captive)

Tue Jul 29, 2008 3:00 pm

Hi,

I setup a test Hotspot system with Mac authentication with a remote (on-line) freeradius server. This is for credit card payment and access. The remote website/freeradius server (and the bank payment servers) are all in the walled garden.

On my test system (a RB 532 with ROS 311) everything works 100% perfectly - after payment the customer's MAC is written into the freeradius mysql tables and the user is returned to the /login servlet in the routerboard and the customer is online - great.

But when I deployed live (on a RB 333 with ROS 311) a problem appeared. Its almost the same setup except that in the live setup the bandwidth comes in on another radio card where in testing the bandwidth comes from an ethernet port.

The Problem: The user pays and gets added into the freeradius tables, etc - and DOES appear as an "active" Hotspot user - great thinks I as the user is logged in *BUT* what happens then is the user CANNOT escape from the captive portal - they are constantly redirect to the /login.html page over and over again.

I don't get this because if the user is "active" in the Hotspot then surely the captive restrictive should be lifted?

thanks for any help with this - I'm pulling my hair out

Derek
 
User avatar
omega-00
Forum Guru
Forum Guru
Posts: 1167
Joined: Sat Jun 06, 2009 4:54 am
Location: Australia
Contact:

Re: Werid Hotspot problem (users always held captive)

Thu Jul 31, 2008 2:25 am

Hello Derek,

Firstly just to confirm, if you turn the hotspot off on that box are you able to get anywhere?
That is a strange issue, my first thought would be that it is plugged into a secondary hotspot further back down the line..
 
dconnrt
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Mon Jul 28, 2008 10:53 pm

Re: Werid Hotspot problem (users always held captive)

Thu Jul 31, 2008 12:50 pm

Hi Omega,

If I disable (or remove) the Hotspot then Internet access is back working fine again.

This is the only (production) hotspot I have currently.

My test hotspot server is working 100% perfectly - I'd nearly put this one up instead of the problem one but it would take a trip up onto a 2 story roof and a lot of messing around :?

Its really funny because I can see that the radius Mac authentication is working fine because I can see the users in the "Active" tab in the WinBox "Hotspot" menu - but still the user is constantly redirected to the /login.html page for some reason.

There is no other hotspot server "behind the scenes". The live hotspot routerboard gets its Internet supply via another card in the rb333 - a 5Ghz backhaul to the DSL source.

That's the only difference between my test [working] and the live [broken] Hotspot routerboard - the live [working] Hotspot gets its bandwidth via a radio card and the test [working] Hotspot gets its bandwidth via a cable into the PoE ethernet port.

It's got me stumped.

thanks for any help!

Derek