which nas_type for Mikrotik WiFi AP NAS ?

Hans Peter Randløv hans.randlov at LEGO.com
Thu Oct 2 11:59:14 UTC 2025


If you use VSA the , the NAS type is very important, as no 2 vendors translate/use a COA response in the same way

Hans Peter Randløv

Senior Engineer
Sites & Remote Connectivity

Mobile
+4520121370

E-mail
hans.randlov at LEGO.com<mailto:hans.randlov at LEGO.com>

From: Freeradius-Users <freeradius-users-bounces+hans.randlov=lego.com at lists.freeradius.org> on behalf of Alan DeKok via Freeradius-Users <freeradius-users at lists.freeradius.org>
Date: Thursday, 2 October 2025 at 13.48
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Cc: Alan DeKok <alan.dekok at inkbridge.io>
Subject: Re: which nas_type for Mikrotik WiFi AP NAS ?
CAUTION: This email originated from outside of your organization.

On Oct 2, 2025, at 6:13 AM, Franta Hanzlík via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> So far unsuccessfully, I probably have more errors in the configuration
> that I'm trying to fix.

  It's best to make one small change, test it, and then commit it to a local git repository.  If you're making 15 changes at the same time, then it will be almost impossible to debug them all.

> One specific ambiguity: which NAS type should be listed in the NAS
> specification in clients.conf - "other", "mikrotik" or "mikrotik_snmp"?

  Are you using the checkrad.pl script?  If not, then the NAS type doesn't matter.

> The original clients.conf template in the paragraph
>
> "The nas_type tells 'checkrad.pl' which NAS-specific method to use to
> query the NAS for simultaneous use. Permitted NAS types are"
>
> lists 13 types incl. "other", "mikrotik" is not among them.
> But the checkrad man page lists 25 types, including "mikrotik_snmp" and
> "mikrotik".
>
> From this it seems to me that nas_type should not be "other", but
> "mikrotik" or "mikrotik_snmp".
> Can anyone advise which one and what is the difference between them?

  They use different methods to check if the user is still online.  See the source in checkrad.pl

  Alan DeKok.


-
List info/subscribe/unsubscribe? See https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeradius.org%2Flist%2Fusers.html&data=05%7C02%7Chans.randlov%40lego.com%7Cc1d6907a7441471b1dec08de01a99153%7C1d0635156cad41959486ea65df456faa%7C0%7C0%7C638950024960035697%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=8neup6YrrdYV0HJK%2F84yq8KpJA0s2c%2F3OgP7mFBANq8%3D&reserved=0<http://www.freeradius.org/list/users.html>


More information about the Freeradius-Users mailing list