Manual:Hotspot manual login

From MikroTik Wiki
Jump to navigation Jump to search
Version.png

Applies to RouterOS: v6.34+


Since v6.34 release it's possible to login hotspot hosts manually from server side cli.

Command:

/ip hotspot active login

properties:

  • ip
  • mac-address
  • domain
  • user
  • password

When issuing the command server will try to authenticate user against hotspot user database on router and/or one available in RADIUS (if configured).

Example:

/ip hotspot active login user=test password=test mac-address=E8:50:8B:1C:95:7D ip=172.16.201.50

log entry:

10:59:11 hotspot,info,debug test (172.16.201.50): trying to log in by admin 
10:59:11 hotspot,account,info,debug test (172.16.201.50): logged in 

[ Top | Back to Content ]