1

I had setup FreeRADIUS V3 on a virtual-box that runs Ubuntu 16.04 with the using of MySQL as a database.

Also, another virtual-box running Mikrotik RouterOS to simulate a connection between the PC and router. I have configured Mikrotik as a hotspot with FreeRADIUS through the Ubuntu virtual OS.

It was running like a charm.

Now I got a physical Mikrotik router and have connected it to the ISP router's Ethernet port to replicate the connection I created previously, but when connecting to the Mikrotik router through WiFi, and after entering username and password, I get the following error message:

Radius server not responding

I opened the debug mode in radius freeradius -X, and I found radius got the Mikrotik request and replied "Access-Accept"

Mahdi Alkhatib
  • 1,954
  • 1
  • 29
  • 43
philip
  • 31
  • 8

1 Answers1

2

I had to catch my problem using the secret key which I set it up in clients.conf.

The NAS (Network Access Server) table in database is not trusted as somehow FreeRadius stops reading from it. There is some option in SQL module that makes radius read it while starting FreeRadius. Therefore, I could not use it while I am using FreeRadius. I had to restart FreeRadius to get the modified/new records.

philip
  • 31
  • 8