HI can anybody help ???
have hotspots USING RB-433 runing on radius , and using rb-1100 as radius-1 & user manager.
i have installed a new rb-1200 as user manager 2 to add defferent groups .
i have added on hotspots radius the new radius (radius 2 ) with defferent secret.
users on radius-1 are working fine , but users on new radius-2 are not authorized and not working on same hotspot.
what we have to add on hotspots to make it work on 2 radius ??
If you do not use separate domains, you are limited to one radius server. If you enter two radius servers in the radius section, it uses the first server that responds, accept or reject. It only checks the second entry if the first does not respond at all.
You can use different domains to use both radius servers, but only the one for that domain. You can do that by using separate hotspots or user domains.
hi again
thks for your help , in my case i want to use same hotspots
how can i use separate domains
can you specify where and how to change the user domain , at hotspot rb-433 or at user-manager rb-1200? or both
ps: the users on first manager are deferent than the users of the second user manager.
can you pls send me by details how to do it and commands
It is not too hard to do.
/ip hotspot profile
set X radius-default-domain=mydomain
set X split-user-domain=yes
/radius
set 0 domain=mydomain
set 1 domain=newdomain
Any user logging in without a domain will use the first RADIUS server. mydomain is the default domain. If the username is “user”, then use this as a username to use the first server database:
user
Any user logging in with the domain newdomain will use the second RADIUS server. If the username is “user”, then use this as a username for the second server database:
user@newdomain
You can change those domains. I just picked them for an example.
sorry for late in reply
it cannot work in my case as i cannot use user@…
iam using user and password as prepaid voucher ex: log: 21454 pass: 65456
any other solution?
Same solution…
Append a domain name onto the entered vouchercode before posting using javascript.
thanks ill try
do u have solution for this pls:
I set up a payment gateway through paypal using Mikrotik’s user manager. I have a routerboard with user manager both on V4.17
WHAT IS HAPPENING:
- User connects to the hotspot.
- User gets the sign on page and links over to the user manager sign on page.
- User creates an account and selects paypal as the payment method. At this point an account is created in the user manager.
- User is directed to paypal site, pays, PAYMENT IS DONE , we recieve payment .
- At usermanager the account is created but without profile (no time)
- There is no confirmation from paypal received to confirm this account and open user time (profile- time to use)
- Customer try to log in, message will appear (user doesn’t exist.)
can you help where is the problem?
It sounds like the PayPal callback function is not working. Authorize.net does the same type of callback. When the payment is complete, the payment server sends a http/https request to your radius server (User Manager) to inform it of the payment results. Do you have that filled out correctly at PayPal?
hi
attached router paypal config.
but at paypal account what should i add and where pls.

Does your User Manager router have a SSL certificate? You have selected “Secure response”. That is https as I recall.
I’m not sure I would use the “pending” selection. It will do a callback if the payment processing was delayed for some reason.
hi
my router have ssl certificate yes ,.
i tried to disable secure response same result
- At user-manager the account is created but without profile (no time)
- There is no confirmation from paypal received to confirm this account and open user time (profile- time to use)
- Customer try to log in, message will appear (user doesn’t exist.)
unfortunatly cannot use auyhorise.net as we are out of usa.
what are the changes at paypal account???
I’m not sure I can help a lot with PayPal. I use Authorize.net with a FreeRADIUS server. I have the advantage of being able to modify the php/MySQL code to meet my requirements.
I don’t know what PayPal calls it, but Authorize.net has a “sandbox” (test gateway?) feature. That allows you to test the setup without billing anyone’s account until all is working. Did you try that first?
edit: Insure your firewall rules in the User Manager router allow the PayPal server access for the callback.
I normally don’t double post, but I missed the edit on your last post. It is called a sandbox also. I did a search on the PayPal site, and this was one of the links:
https://www.x.com/developers/paypal/sandbox?bn_r=m
I think this is what you need. I’m sure the “Getting started” link there will explain all you need to know.
thanks for your attention much appriciated
unfortunatly they dont have cyprus in the country section to open a trial account
i have submitted customer help ticket will wait response from paypal.
but iam sure there is another way .
I am tryin to use the Sandbox test account on paypal with User Manager in order to test everything.
But in the User Manager there is no option to select the “Test Gateway” for paypal.
So when testing the UM just redirects me to the regular paypal site (not the testing site /www.sandbox.paypal.com…)
So my paypal test account is working fine, but how to tell the User Manager that he needs to use the “testing gateway” ?
Thank you for help