• MikroTik.com
  • RouterBOARD
  • User Meeting
  • Training
  • User Manual
  • Support
  • Downloads
  • Videos
Register |   * Login | HOME

View unanswered posts | View active topics

Userman help please. 4 timeouts after every reboot.  Page 1 of 1
 [ 4 posts ]  Post new topic Reply to topic
  Print view Previous topic | Next topic 
Author Message
kameelperdza
 Post subject: Userman help please. 4 timeouts after every reboot.
PostPosted: Mon Oct 26, 2009 11:27 pm 
Offline
Member
Member
User avatar

Joined: Thu Nov 27, 2008 11:45 am
Posts: 436
Karma: 0

Location: Oudtshoorn, South Africa
Hi when i reboot my mikrotik then when it starts and i cheack my radius server then it will show that there is 4 timeouts. But everyone that should be connected is connected. And there is no one that is trying to connect to me.

Here is what userman log says

Code:
  16  0.0.0.0 127.0.0.1 Jan/01/2002 01:00:09 accounting failure
  19  0.0.0.0 127.0.0.1 Jan/01/2002 01:00:17 accounting failure
  20  0.0.0.0 127.0.0.1 Jan/01/2002 01:00:33 accounting failure
  21  0.0.0.0 127.0.0.1 Jan/01/2002 01:01:05 accounting failure
  3 00:0C:42:61:4D:29 0.0.0.0 10.0.0.1 Jan/01/2002 01:00:15 authorization success
  15 00:0C:42:61:4D:29 0.0.0.0 127.0.0.1 Jan/01/2002 01:36:21 authorization success
  18 00:0C:42:61:4D:29 0.0.0.0 127.0.0.1 Jan/01/2002 01:00:15 authorization success
  14 00:02:6F:43:3A:18 0.0.0.0 10.0.0.2 Jan/01/2002 01:36:21 authorization success
  2 00:0C:42:60:01:F2 0.0.0.0 10.0.0.1 Jan/01/2002 01:00:14 authorization success
  12 00:0C:42:60:01:F2 0.0.0.0 127.0.0.1 Jan/01/2002 01:36:13 authorization success
  13 00:0C:42:60:01:F2 0.0.0.0 127.0.0.1 Jan/01/2002 01:36:20 authorization success


here is my tool user-manager customer says

Code:
 0   subscriber=MikroTik login="MikroTik" password="password"
     time-zone=+00:00 permissions=owner parent=MikroTik signup-allowed=no
     paypal-allowed=no paypal-secure-response=no paypal-accept-pending=no


and here is tool user-manager router

Code:
 0   subscriber=MikroTik name="KKT-HS" ip-address=127.0.0.1
     shared-secret="123456" log=auth-ok,auth-fail,acct-ok,acct-fail

 1   subscriber=MikroTik name="Emile-HS" ip-address=10.0.0.2
     shared-secret="123456" log=auth-ok,auth-fail,acct-ok,acct-fail



here is tool user-manager user

Code:
 1     subscriber=MikroTik name="00:0C:42:61:4D:29" password=""
       first-name="Hannes Home" last-seen=jan/01/2002 01:00:15 credit-count=0
       credit-left=0s credit-duration=0s credit-price=0 credit-time-added=0s

 2     subscriber=MikroTik name="00:1B:77:61:2F:D6" password=""
       first-name="HP 530" last-seen=jan/02/1970 01:08:32 credit-count=0
       credit-left=0s credit-duration=0s credit-price=0 credit-time-added=0s

 3     subscriber=MikroTik name="00:02:6F:43:3A:18" password=""
       first-name="LB de Wet Home" last-seen=jan/01/2002 01:36:21
       credit-count=0 credit-left=0s credit-duration=0s credit-price=0
       credit-time-added=0s

 4     subscriber=MikroTik name="00:0C:42:60:01:F2" password=""
       last-seen=jan/01/2002 01:00:14 credit-count=0 credit-left=0s
       credit-duration=0s credit-price=0 credit-time-added=0s

 5     subscriber=MikroTik name="00:02:6F:48:82:E7" password=""




another thing that i would like to know is must router "Emile-HS"(in router list) be added to the user list? I had to do that so that i can connect. But i dont think that they say in the wiki that the routers on the router list must be added to the user list.


Code:
1   subscriber=MikroTik name="Emile-HS" ip-address=10.0.0.2
     shared-secret="123456" log=auth-ok,auth-fail,acct-ok,acct-fail



is
Code:
  4     subscriber=MikroTik name="00:0C:42:60:01:F2" password=""
       last-seen=jan/01/2002 01:00:14 credit-count=0 credit-left=0s
       credit-duration=0s credit-price=0 credit-time-added=0s



I have also increased the timeout to 3000ms but that did not help


My ip addresses on KKT-HS(radius server) is

Code:
 #   ADDRESS            NETWORK         BROADCAST       INTERFACE
 0   10.0.0.1/24        10.0.0.0        10.0.0.255      wlan1
 1   172.19.85.201/24   172.19.85.0     172.19.85.255   bridge1
 2   192.168.0.10/24    192.168.0.0     192.168.0.255   ether1
 3   10.0.1.1/24        10.0.1.0        10.0.1.255      wlan2


Wlan1 is used to connect to secondary router(Emile-HS)

If someone please can tell mewhat i should do then it would help alot.

I want to know what must i make my radius server ip? Must i add secondary router(Emile-HS) to the router-list and user-list?

Any help would e appreciated. thanx :(

_________________
MTCNA


Top
 Profile  
 
sergejs
 Post subject: Re: Userman help please. 4 timeouts after every reboot.
PostPosted: Tue Oct 27, 2009 3:31 pm 
Offline
MikroTik Support
MikroTik Support

Joined: Thu Mar 31, 2005 2:33 pm
Posts: 6077
Location: Riga, Latvia
If you have User Manager and router on the same IP, then use 127.0.0.1 as IP address in /tool user-manager router and /radius.
Please, use radius timeout 300ms or lower, it is not necessary to use bigger one.


Top
 Profile  
 
kameelperdza
 Post subject: Re: Userman help please. 4 timeouts after every reboot.
PostPosted: Wed Oct 28, 2009 8:06 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 27, 2008 11:45 am
Posts: 436
Karma: 0

Location: Oudtshoorn, South Africa
Thanx my radius is working but i still get timeouts.

I have done some test. First i set time ms to 100ms and then to 3000ms. I have disabled all wlan interfaces and rebooted the mikrotik.When i checked the radius status i saw that there was 4 timeout. So i went to useman/log and see there is four errors.

they are....

1 0.0.0.0 127.0.0.1 Jan/01/2002 01:00:07 accounting failure
6 0.0.0.0 127.0.0.1 Jan/01/2002 01:00:15 accounting failure
8 0.0.0.0 127.0.0.1 Jan/01/2002 01:00:22 accounting failure
9 0.0.0.0 127.0.0.1 Jan/01/2002 01:00:31 accounting failure


When i click on one of then then is says this....

Username:
User IP: 0.0.0.0
Host IP: 127.0.0.1
Status: accounting failure
Time: Jan/01/2002 01:00:07
Description: missing User-Name
NAS Port: 0
NAS Port Type: unknown
NAS Port ID:
ACCT Session ID:
Calling Station ID:




Why would it do that, but the radius server does work


my userman/router looks like this...

Emile-HS 10.0.0.2 123456 auth ok & auth fail & acct ok & acct fail
KKT-HS 127.0.0.1 123456 auth ok & auth fail & acct ok & acct fail

_________________
MTCNA


Top
 Profile  
 
alex_rhys-hurn
 Post subject: [SOLVED] Re: Userman help please. 4 timeouts after every reb
PostPosted: Fri Feb 18, 2011 4:04 pm 
Offline
Member Candidate
Member Candidate

Joined: Mon Jun 05, 2006 7:26 pm
Posts: 276
Karma: 9

Location: Kenya
I know this is an old thread, but I wanted to mark it as solved for anyone else searching for this issue.

I had EXACTLY the same problem, and this seems to be a bug/fault in the userman radius server when it is upgraded.

My solution was to upgrade to the next release of routeros.

My problem in short was that the logs showed that the user was authenticated successfully and the userman logs showed that too, but the reply from radius back to hotspot failed.

Alex


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 4 posts ] 

Board index » Other topics » The User Manager

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Karma functions powered by Karma MOD © 2007, 2009 m157y