2. Enable dulu use-radius di hotspot
[admin@mikrotik] > ip hotspot profile p
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=5s split-user-domain=no use-radius=no
1 name="
hsprof1"
hotspot-address=192.168.100.1 dns-name="
server.hotspot"
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=5s split-user-domain=no use-radius=no
[admin@mikrotik] > ip hotspot profile set 1 use-radius=yes
[admin@mikrotik] > radius add address=192.168.100.1
[admin@mikrotik] > radius p
Flags: X – disabled
# SERVICE CALLED-ID DOMAIN ADDRESS SECRET
0 192.168.100.1
[admin@mikrotik] > radius set 0 service=hotspot,login secret=12345678
[admin@mikrotik] > tool user-manager customer add login="
admin"
password="
test"
permissions=owner
[admin@mikrotik] > tool user-manager router add subscriber=admin ip-address=192.168.100.1 shared-secret=12345678