1

On Centos 7 installed FreeRADIUS 3.0.12 + MYSQL

Trying authorization:

DD-WRT (all is well): http://pastebin.com/61ScJiQF

Mikrotik (error) http://pastebin.com/KzPCREeR

MikroTik RouterOS 6.32.4

As can be seen, mikrotik accounting is not passed, even though everything is OK with authentication, log in mikrotika error:

login failed: RADIUS server is not responding

What could be the problem?

There is a second server with FreeRADIUS 2.2.7 and the same router works (pastebin.com/bu7FdYVG)), and on 3.0.12 in the logs mikrotik error:

login failed: RADIUS server is not responding

I may need some additional settings radius just under mikrotik? I have not changed anything except connecting mysql module.

entermix
  • 43
  • 1
  • 9

1 Answers1

1

Ok, you seem to be asking about two different problems. "login failed: RADIUS server is not responding" implies the authentication isn't working at all on the Mikrotik. At the same time, "mikrotik accounting is not passed" implies you are just not seeing accounting data from the Mikrotik. (Accounting doesn't happen unless Authentication and Authorization have been successful.) Here are a few things to check.

  1. Be sure to specify the Src Address under Radius on the Mikrotik. This should be the IP address of the interface on your Mikrotik that is used to reach your radius server. You'd be shocked how many times RouterOS picks the wrong one when left to its own devices.
  2. Some versions of RouterOS had the Timeout value set to an unreasonably low value under the Radius page. Set it to something comfortable like 5000 ms so a saturated circuit is less likely to prevent signin.
  3. To make your accounting work, go to IP -> Hotspot -> Server Profiles and open up your profile. Make sure Accounting is checked and the interval is set to something like 5 or 10 minutes.
C. Taylor
  • 328
  • 1
  • 6