View Categories

RADIUS login to routers not working

Free MikroTik only

Start with the Authentication log: failed logins show the reason in Time/Msg.

MessageCause and fix
User Not ExistNo MikroWizard user with that name, or the user is disabled.
Wrong PasswordThe password (or TOTP code) is wrong. With device OTP on, the user must type the current TOTP code: see Two-factor sign-in.
Unable to verify groupWith Force Permissions on, the user has no access to a group that contains this router (or Default), or the permission profile couldn’t be applied to the router. See Device group access.
IP not allowedThe user’s IP restriction doesn’t include the address they connect from (Pro).

No entry in the Authentication log #

Then the request didn’t reach MikroWizard or was dropped:

  1. RADIUS set up on the router: turn on Force RADIUS, or check on the router that /user aaa has use-radius=yes and /radius has an entry for MikroWizard with service login and the right secret. See RADIUS login for routers.
  2. Firewall: the router must reach MikroWizard on UDP 1812 (and 1813 for accounting).
  3. Router address: MikroWizard finds the router by the address the router reports in the request (NAS-IP-Address), and looks for a device with exactly that IP. If no device has that IP, the login is refused without a log entry. This can happen with routers behind NAT, which report their local address.
  4. Secret and Message-Authenticator: requests with a wrong Message-Authenticator (usually a wrong secret) are dropped. Check the RADIUS Secret in System configuration and the mode in RADIUS login protection. Always require works only with RouterOS 7.15 or newer.
  5. Lockout: after repeated failures, the user or source address is blocked for a while (5 minutes by default). Unlock it: see Login protection and lockouts.

The login works but the wrong rights apply #

  • A local router user with the same name is checked by RouterOS first. Remove or rename it.
  • The rights come from the user’s permission profile for that device group.