Community discussions

MikroTik App
 
apremalal
just joined
Topic Author
Posts: 1
Joined: Sat Nov 07, 2015 3:43 pm

Hotspot with external RADIUS not functioning

Sat Nov 07, 2015 4:32 pm

Environment Details
---------------------------

RouterBOARD model : 951Ui-2HnD
Current Firmware : 3.19
Upgrade Firmware : 3.24
Router OS version : 6.33
Previous OS version : 6.18

Hi All,

I have created a hotspot in Mikrotik, followings are the options I have configured,

1.) Login By MAC - MAC as username and password
2.) Use RADIUS - enabled accounting as well, used PAP

I'm pointing the login page to an external page, I did that by editing the login.html. I got redirected correctly to the login page. I have used this external login page to create the user in radius database, once the user accept terms & conditions I add the user to radius>radcheck where username and password both are the MAC as received in radius access request. After this I redirect the user to http://10.5.50.1/login , here this doesn't try to authenticate the user, instead it redirect the user again to the login page.

Followings are some issues I encounter while performing this,

1.) External RADIUS server received a malformed user-password
User-Password = '?t??a8&?@o?l????'

2.) Cannot post to http://10.5.50.1/login it always redirects to the external login page, even the user account is there in the RADIUS. In this case my client device received 10.5.50.3 and hotspot ip was 10.5.50.1, I can ping to 10.5.50.1 but when I try to navigate to http://10.5.50.1/status , redirects to external login page.

What could be the possible causes of failure? .Appreciate if someone can point to proper documentation on setting up hotspot with external RADIUS server?