Manual:Hotspot manual login

From MikroTik Wiki
Revision as of 12:30, 20 June 2016 by Krisjanis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 ]