tags:

views:

31

answers:

1

Hello my Dear friends! Firstly sorry to my English I am not an expert:) I am using freeradius 2.1.7 and MySQL instaled on Ubuntu server 9.04. Now, the perl script called: "auth.pl" is verifying usersnames, passwords, and updating information.

The problem is that on a certain number of connections simply "NAS" - Mikrotik until the next reboot users can not connect.

If you need i cann show you auth.pl script

A: 

I think we probably need more details about your setup. Try stopping the freeradius server, and then start it in debug mode like this :

freeradius -X

The output will probably help you : if you need more help, please post the relevant debug output when a user tries to login and fails.

Here are a few wild guesses:

  • there might be a bug in your NAS (have you tried other NASes, or just testing with radclient ?)
  • if you have accounting setup, and Simultaneous-Use limited to 1, for example, then sometimes STOP accounting packets can be lost (the RADIUS protocol is based on UDP, which is not guaranteed delivery) and the server thinks that the user is already connected the next time he tries to login. Rebooting the NAS might trigger a reboot flag which resets the sessions on the server and allows logins again.
  • maybe your NAS has a dynamic IP address, and depending on its IP address, it is recognized by the server, or not.

I need more info to help you out.

MiniQuark