Page 1 of 1

problem with config user manager as radius server

Posted: Thu Nov 04, 2010 9:48 pm
by logros
I set up all as in http://wiki.mikrotik.com/wiki/User_Manager/DHCP_Example but can't get ip address.

in log mikrotik i have "ryd16-2_err-: dhcp1: radius authentication failed for 00:22:41
:26:B9:AA: no valid profile found"

what "profile" and were i must set up it i don't know.
can anyone help me.

Re: problem with config user manager as radius server

Posted: Fri Nov 05, 2010 12:20 pm
by SurferTim
I don't use radius for DHCP. Try
/ip dhcp-server
set X use-radius=no

Re: problem with config user manager as radius server

Posted: Fri Nov 05, 2010 9:12 pm
by logros
you don't use radius but i want to use radius)) and i need answer please help.

Re: problem with config user manager as radius server

Posted: Fri Nov 05, 2010 10:13 pm
by SurferTim
I use radius, just not for dhcp. I can tho. Do you have radius logging enabled?
/system logging
add topics=radius action=memory

For dhcp, User manager should only return Access-Accept and the ip address (Framed-IP-Address for FreeRADIUS users) or the ip pool (Framed-Pool) when the mac address is sent. You can only return attributes that apply to dhcp. No Mikrotik-Group or anything like that.

Take a look at the wiki. It shows what you can send with Access-Accept.
http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server