hello all,
i have configured hotspot for of my clients. this is my scenario .
Mikrotik —>> RadiusManager —>>> Users
only basic configuration. Using Radius manager for Prepaid pins.
[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
[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"
[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@] >
Now when ever they connect to hotspot they get login page. they enter username and password and click connect button.user logged in message doesn’t appear.i can see that they are connected. but for users nothing happens on the browsers. they dont know login in succesfull OR failed. so they keep on pressing connect button.
i see following error messages on winbox log
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
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
this is happening for all the browser. any advice. how to show logged in message to clients.