i have configured hotspot for of my clients. this is my scenario .
Mikrotik --->> RadiusManager --->>> Users
only basic configuration. Using Radius manager for Prepaid pins.
Code: Select all
[admin@] /ip hotspot> profile pr
Flags: * - default
0 * name="default" hotspot-address=0.0.0.0 dns-name="" html-directory=hotspot rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap
http-cookie-lifetime=3d split-user-domain=no use-radius=no
1 name="hsprof1" hotspot-address=10.0.11.1 dns-name=10.0.11.1 html-directory=hotspot rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0
login-by=cookie,http-chap,http-pap http-cookie-lifetime=3d split-user-domain=no use-radius=yes radius-accounting=yes radius-interim-update=1m
nas-port-type=wireless-802.11 radius-default-domain="" radius-location-id="" radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX
Code: Select all
[admin@] > ip hotspo print detail
Flags: X - disabled, I - invalid, S - HTTPS
0 X name="hotspot1" interface=lan profile=(unknown) idle-timeout=5m keepalive-timeout=none proxy-status=""
1 name="hotspot2" interface=lan address-pool=dhcp_pool1 profile=hsprof1 idle-timeout=5m keepalive-timeout=none addresses-per-mac=2 ip-of-dns-name=10.0.11.1
proxy-status="running"
Code: Select all
[admin@] > radius print detail
Flags: X - disabled
0 service=hotspot called-id="" domain="" address=10.0.11.2 secret="xxxxxxx" authentication-port=1812 accounting-port=1813 timeout=2s accounting-backup=no realm=""
[admin@] >
i see following error messages on winbox log
Code: Select all
22:57:38 hotspot,info,debug 046441 (10.0.11.86): trying to log in by http-pap
22:57:38 hotspot,info,debug 046441 (10.0.11.86): login failed: IP 10.0.11.86 is already logged in
Code: Select all
22:56:45 hotspot,info,debug 872118 (10.0.11.188): trying to log in by http-pap
22:56:46 hotspot,info,debug 872118 (10.0.11.188): trying to log in by http-pap
22:56:46 hotspot,info,debug 872118 (10.0.11.188): login failed: already authorizing, retry later
22:56:47 hotspot,info,debug 872118 (10.0.11.188): login failed: invalid username or password
22:56:56 hotspot,info,debug 872118 (10.0.11.188): trying to log in by http-pap
22:56:57 hotspot,info,debug 872118 (10.0.11.188): trying to log in by http-pap
22:56:57 hotspot,info,debug 872118 (10.0.11.188): login failed: already authorizing, retry later
22:56:58 hotspot,info,debug 872118 (10.0.11.188): login failed: invalid username or password