dyndns ff 1.1.7

2010-07-16 Thread Tokie
Hi all,
it's possible use dyndns in clients.conf with fr 1.1.7-0??

I have error every time that ip address change.

I read many quests on internet but i don't find fixes.
Could help me set hostname_lookups = yes??

Otherwise, it's possible check by nas-id??
My nas is mikrotik.

Thanks
Tokie
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Radius freeze

2010-05-07 Thread Tokie
Thanks to Kenneth for the quickly answer.

I restart all system (reboot).
Freeradius start at the boot and works:
 # ps aux |grep freeradius
 freerad   2784  0.0  0.9  49644  2344 ?Ssl  May06   0:00
 /usr/sbin/freeradius
Just hotspot's user connect :
 # ps aux |grep freeradius
 freerad   2784  0.0  1.1  49744  3004 ?Ssl  May06   0:00
 /usr/sbin/freeradius
 freerad   4536  0.0  0.0  0 0 ?Z10:36   0:00
 [freeradius] defunct
Why born a zombie process?
Which configuration file should I check?

I try new version of freeradius, but I was not able to make it works!!
So, I prefer to keep this version.

Pls help me.
Tks a lot

Il 04/05/2010 17.12, Kenneth Marshall ha scritto:
 On Tue, May 04, 2010 at 04:56:46PM +0200, Tokie wrote:
   
 Hi everyone,
 I'm using FreeRADIUS Version 1.1.7 with Mysql.
 I use for Hotspot system.

 All works fine, but after around one day without activity, the radius
 server don't answer.
 Therefore, if I restart (/etc/init.d/freeradius restart), all works ok!!

 I monitor with the command ps and just restart result:
 # ps ax | grep freeradius
 26118 ?Ssl0:00 /usr/sbin/freeradius

 Immediately after the connection of a hotspot's user:
 # ps ax | grep freeradius
 26118 ?Ssl0:00 /usr/sbin/freeradius
 26158 ?Z  0:00 [freeradius] defunct

 What does this mean  *_/[freeradius] defunct/_*?

 If hotspot's user disconnect, nothing changes!!

 Could you help me??
 

 Retarting the server is the appropriate measure to use to address
 this problem. The better solution would be to upgrade to version 2.1.8
 which fixes so many bugs...

 Cheers,
 Ken

   

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Radius freeze

2010-05-07 Thread Tokie
 :-D  :-D Damn gremlins!!
Thank you very much!!
I look in radius.log and I find:
 Fri May  7 11:39:04 2010 : Error: Exec-Program: FAILED to execute
 /etc/freeradius/PYT/ul.py: No such file or directory
very strange, because the file exist in that directory.
Before the problem is the permission that I fix with:
 chmod 777 /etc/freeradius/PYT/*
Maybe the problem is the user permission??


Il 07/05/2010 11.40, Marinko Tarlac ha scritto:
 This usually happens when you have external script who does something
 with database and it hangs for some reasons.

 Try not to use them or check what's going on with it.

 Of course, this is just a guess because I don't have any kind of magic
 ball and you didn't post anything usable for debugging
 Another reasons can be:
 - slow disk,
 - slow database
 - you don't have correctly indexed fields in your sql schema
 - gremlins
 - war in Irak
 - ...

 Tokie wrote:
 Thanks to Kenneth for the quickly answer.

 I restart all system (reboot).
 Freeradius start at the boot and works:
 # ps aux |grep freeradius
 freerad   2784  0.0  0.9  49644  2344 ?Ssl  May06   0:00
 /usr/sbin/freeradius
 Just hotspot's user connect :
 # ps aux |grep freeradius
 freerad   2784  0.0  1.1  49744  3004 ?Ssl  May06   0:00
 /usr/sbin/freeradius
 freerad   4536  0.0  0.0  0 0 ?Z10:36   0:00
 [freeradius] defunct
 Why born a zombie process?
 Which configuration file should I check?

 I try new version of freeradius, but I was not able to make it works!!
 So, I prefer to keep this version.

 Pls help me.
 Tks a lot

 Il 04/05/2010 17.12, Kenneth Marshall ha scritto:
 On Tue, May 04, 2010 at 04:56:46PM +0200, Tokie wrote:
  
 Hi everyone,
 I'm using FreeRADIUS Version 1.1.7 with Mysql.
 I use for Hotspot system.

 All works fine, but after around one day without activity, the radius
 server don't answer.
 Therefore, if I restart (/etc/init.d/freeradius restart), all works
 ok!!

 I monitor with the command ps and just restart result:
 # ps ax | grep freeradius
 26118 ?Ssl0:00 /usr/sbin/freeradius

 Immediately after the connection of a hotspot's user:
 # ps ax | grep freeradius
 26118 ?Ssl0:00 /usr/sbin/freeradius
 26158 ?Z  0:00 [freeradius] defunct

 What does this mean  *_/[freeradius] defunct/_*?

 If hotspot's user disconnect, nothing changes!!

 Could you help me??
 
 Retarting the server is the appropriate measure to use to address
 this problem. The better solution would be to upgrade to version 2.1.8
 which fixes so many bugs...

 Cheers,
 Ken

   

 

 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Radius freeze

2010-05-04 Thread Tokie
Hi everyone,
I'm using FreeRADIUS Version 1.1.7 with Mysql.
I use for Hotspot system.

All works fine, but after around one day without activity, the radius
server don't answer.
Therefore, if I restart (/etc/init.d/freeradius restart), all works ok!!

I monitor with the command ps and just restart result:
# ps ax | grep freeradius
26118 ?Ssl0:00 /usr/sbin/freeradius

Immediately after the connection of a hotspot's user:
# ps ax | grep freeradius
26118 ?Ssl0:00 /usr/sbin/freeradius
26158 ?Z  0:00 [freeradius] defunct

What does this mean  *_/[freeradius] defunct/_*?

If hotspot's user disconnect, nothing changes!!

Could you help me??
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Autentification error

2010-03-12 Thread Tokie
Hi,
I did it!!
I edited the many config file with the my old configuration(not replaced!!)

 looks like you are forced the authentication type in the SQL
 tables to be CAHP. dont do that.
   
How can I do??
Why should not I do that??

Tks

Il 05/03/2010 20.05, Alan Buxey ha scritto:
 hi,

 do not just dump 1.1.x config onto any 2.x system - simply take the 2.x
 and then edit the config to get what you require.

 looks like you are forced the authentication type in the SQL
 tables to be CAHP. dont do that.

 alan

 __ Informazioni da ESET NOD32 Antivirus, versione del database delle 
 firme digitali 4918 (20100305) __

 Il messaggio รจ stato controllato da ESET NOD32 Antivirus.

 www.nod32.it




   

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Autentification error

2010-03-05 Thread Tokie
:   modsingle[authorize]: returned
 from expiration (rlm_expiration) for request 0
 Fri Mar  5 17:05:48 2010 : Debug: ++[expiration] returns noop
 Fri Mar  5 17:05:48 2010 : Debug:   modsingle[authorize]: calling
 logintime (rlm_logintime) for request 0
 Fri Mar  5 17:05:48 2010 : Debug:   modsingle[authorize]: returned
 from logintime (rlm_logintime) for request 0
 Fri Mar  5 17:05:48 2010 : Debug: ++[logintime] returns noop
 Fri Mar  5 17:05:48 2010 : Debug:   modsingle[authorize]: calling pap
 (rlm_pap) for request 0
 Fri Mar  5 17:05:48 2010 : Debug: rlm_pap: WARNING! No known good
 password found for the user.  Authentication may fail because of this.
 Fri Mar  5 17:05:48 2010 : Debug:   modsingle[authorize]: returned
 from pap (rlm_pap) for request 0
 Fri Mar  5 17:05:48 2010 : Debug: ++[pap] returns noop
 Fri Mar  5 17:05:48 2010 : Debug:   rad_check_password:  Found
 Auth-Type CHAP
 Fri Mar  5 17:05:48 2010 : Debug: auth: type CHAP
 Fri Mar  5 17:05:48 2010 : Debug: +- entering group CHAP
 Fri Mar  5 17:05:48 2010 : Debug:   modsingle[authenticate]: calling
 chap (rlm_chap) for request 0
 Fri Mar  5 17:05:48 2010 : Debug:   rlm_chap: login attempt by user
 with CHAP password
 Fri Mar  5 17:05:48 2010 : Debug:   rlm_chap: Cleartext-Password is
 required for authentication
 Fri Mar  5 17:05:48 2010 : Debug:   modsingle[authenticate]: returned
 from chap (rlm_chap) for request 0
 Fri Mar  5 17:05:48 2010 : Debug: ++[chap] returns invalid
 Fri Mar  5 17:05:48 2010 : Debug: auth: Failed to validate the user.
 Fri Mar  5 17:05:48 2010 : Auth: Login incorrect (rlm_chap: Clear text
 password not available): [user/CHAP-Password] (from client nas port
 2154823689 cli 00:25:D3:XX:XX:XX)
 Fri Mar  5 17:05:48 2010 : Debug:   Found Post-Auth-Type Reject
 Fri Mar  5 17:05:48 2010 : Debug: +- entering group REJECT
 Fri Mar  5 17:05:48 2010 : Debug:   modsingle[post-auth]: calling
 attr_filter.access_reject (rlm_attr_filter) for request 0
 Fri Mar  5 17:05:48 2010 : Debug:   expand: %{User-Name} - user
 Fri Mar  5 17:05:48 2010 : Debug:  attr_filter: Matched entry DEFAULT
 at line 11
 Fri Mar  5 17:05:48 2010 : Debug:   modsingle[post-auth]: returned
 from attr_filter.access_reject (rlm_attr_filter) for request 0
 Fri Mar  5 17:05:48 2010 : Debug: ++[attr_filter.access_reject]
 returns updated
 Fri Mar  5 17:05:48 2010 : Debug: Delaying reject of request 0 for 1
 seconds
 Fri Mar  5 17:05:48 2010 : Debug: Going to the next request
 Fri Mar  5 17:05:48 2010 : Debug: Waking up in 0.9 seconds.
 rad_recv: Access-Request packet from host 192.168.1.100 port 60079,
 id=20, length=198
 Fri Mar  5 17:05:49 2010 : Debug: Waiting to send Access-Reject to
 client nas port 60079 - ID: 20
 Fri Mar  5 17:05:49 2010 : Debug: Waking up in 0.6 seconds.
 rad_recv: Access-Request packet from host 192.168.1.100 port 60079,
 id=20, length=198
 Fri Mar  5 17:05:49 2010 : Debug: Waiting to send Access-Reject to
 client nas port 60079 - ID: 20
 Fri Mar  5 17:05:49 2010 : Debug: Waking up in 0.3 seconds.
 Fri Mar  5 17:05:49 2010 : Debug: Sending delayed reject for request 0
 Sending Access-Reject of id 20 to 192.168.1.100 port 60079
 Fri Mar  5 17:05:49 2010 : Debug: Waking up in 4.9 seconds.
 Fri Mar  5 17:05:54 2010 : Debug: Cleaning up request 0 ID 20 with
 timestamp +22
 Fri Mar  5 17:05:54 2010 : Debug: Ready to process requests.

Thanks a lot!!

Bye
Tokie
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Update from 1.1.7 to 2.x

2010-02-25 Thread Tokie

Hi,
I tried to update from the version 1.1.7 to version 2.x.x but don't work.
I have a working server and i would like update to newer version.

How can I do?

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html