MAC Authentication with external radius server

Hi,

When i device connects to my wifi, how do I get the router to check the MAC (as user and pwd) against my radius server.

I currently have a working hotpot system using HTTP PAP, with an external login page, redirected from login.html. But if the user is already setup in the radius server (for example a white listed MAC) it does not check against the radius when they connect, it sends them to the landing page, which at that point i have to use HTTP PAP to login them in. Then it works. I don’t want them to end up at the landing page if the radius server has the MAC already authorized.

Below is my setup.

Any idea?

Kim
2.png
3.png
1.png

My login.html content.
4.png