Page 1 of 1

userman radius authentication failed

Posted: Thu Mar 06, 2014 2:05 am
by samyil
I watched from here
http://wiki.mikrotik.com/wiki/User_Manager/DHCP_Example
[admin@MikroTik] > tool user-manager export 
# mar/06/2014 01:49:41 by RouterOS 6.10
# software id = PJAP-CFJJ
#
/tool user-manager customer
add backup-allowed=yes disabled=no login=MikroTik password=qwerty paypal-accept-pending=no paypal-allowed=no paypal-secure-response=no \
    permissions=owner signup-allowed=no time-zone=-00:00
/tool user-manager router
add coa-port=1700 customer=MikroTik disabled=no ip-address=127.0.0.1 log=auth-fail name=MikroTik shared-secret=123456 use-coa=no
/tool user-manager user
add customer=MikroTik disabled=no ip-address=192.168.2.10 name=00:22:fb:5d:21:8e password="" shared-users=1 wireless-enc-algo=none \
    wireless-enc-key="" wireless-psk=""
[admin@MikroTik] > radius export 
# mar/06/2014 01:51:09 by RouterOS 6.10
# software id = PJAP-CFJJ
#
/radius
add address=127.0.0.1 secret=123456 service=dhcp
/radius incoming
set accept=yes
[admin@MikroTik] > log print 
mar/06 01:43:16 dhcp,error dhcp1: radius authentication failed for 00:22:FB:5D:21:8E: user <00:22:FB:5D:21:8E> not found 
mar/06 01:43:16 dhcp,error dhcp1: radius authentication failed for 00:22:FB:5D:21:8E: user <00:22:FB:5D:21:8E> not found 
[admin@MikroTik] > tool user-manager log print 
 0 customer=MikroTik user-orig="00:22:FB:5D:21:8E" nas-port=2203058176 nas-port-type=ethernet calling-station-id="" user-ip=192.168.2.10 
   host-ip=127.0.0.1 status=authorization-failure time=mar/05/2014 23:43:16 
   description="user <00:22:FB:5D:21:8E> not found for user <00:22:FB:5D:21:8E>" 

 1 customer=MikroTik user-orig="00:22:FB:5D:21:8E" nas-port=2203058177 nas-port-type=ethernet calling-station-id="" host-ip=127.0.0.1 
   status=authorization-failure time=mar/05/2014 23:43:16 description="user <00:22:FB:5D:21:8E> not found for user <00:22:FB:5D:21:8E>" 
[admin@MikroTik] > radius monitor 
numbers: 0
           pending: 0
          requests: 13
           accepts: 1
           rejects: 10
           resends: 0
          timeouts: 2
       bad-replies: 0
  last-request-rtt: 10ms
where is my mistake ???

Re: userman radius authentication failed

Posted: Thu Mar 06, 2014 12:28 pm
by rextended
MAC ADDRESS ALL IN UPPERCASE!!!!

Re: userman radius authentication failed

Posted: Thu Mar 06, 2014 2:18 pm
by samyil
thanks, problem solved ...
13:51:39 dhcp,info dhcp1 assigned 192.168.2.10 to 00:22:FB:5D:21:8E
but there must be enabled profile for this user :)