modified on 5 lip 2010 at 11:46 ••• 3 652 views

Jak postawić HotSpot i Menedżera Użytkowników na tym samym routerze

Z MikroTik Wiki

Introduction

First make sure that router has enough hardware resources to manage User Manager and HotSpot on the same router. User manager requirements.

To accomplish HotSpot and User Manager on the same router scenario, we need to add the following configuration:

HotSpot configuration

 / radius add service=hotspot address=127.0.0.1 secret=123456

We add radius client to consult User Manager server for appropriate service. 'address=127.0.0.1' points RADIUS client to use local router as RADIUS server, 'secret' is shared secret to exchange information between RADIUS server and client.

 / ip hotspot profile set hsprof1 use-radius=yes

To use RADIUS for HotSpot AAA.

User Manager configuration

/ tool user-manager customer add login="MikroTik" password="qwerty" permissions=owner
  • Then add router information to the User Manager configuration,
/ tool user-manager router add subscriber=MikroTik ip-address=127.0.0.1 shared-secret=123456

'ip-address' is the address of the RADIUS client router.

Note, 'shared-secret' should match on User Manager and RADIUS client.