>terminal 1 : radiusd -X gives me : > .. >radiusd: #### Instantiating modules #### > instantiate { > Module: Linked to module rlm_exec > Module: Instantiating exec > exec { > wait = no > input_pairs = "request" > shell_escape = yes > } > Module: Linked to module rlm_expr > Module: Instantiating expr > Module: Linked to module rlm_expiration > Module: Instantiating expiration > expiration { > reply-message = "Password Has Expired " > } > Module: Linked to module rlm_logintime > Module: Instantiating logintime > logintime { > reply-message = "You are calling outside your allowed timespan " > minimum-timeout = 60 > } > } .. > ... but 127.0.0.1 is not unknown
Yes, it is unknown. > >sql.conf : readclients = yes >clients.conf : completely commented out As are many other things. sql among them. > >mysql> select * from nas order by id desc limit 1; >+----+-----------+-----------+--------+-------+--------+-----------+-------------+ >| id | nasname | shortname | type | ports | secret | community | >description | >+----+-----------+-----------+--------+-------+--------+-----------+-------------+ >| 56 | 127.0.0.1 | localhost | MikTik | NULL | test | NULL >| NULL | >+----+-----------+-----------+--------+-------+--------+-----------+-------------+ >1 row in set (0.00 sec) > >What do I do wrong ? You haven't listed sql anywhere. So, the server is not reading nas table. Even if it did read it - you haven't got any authentication modules enabled. Go back to default configuration, add sql in instantiate in radiusd.conf - and watch it work. Then make *small* changes to configuration files. When you break something you will know what you have done. Butchering configuration blindly like this can end only one way - failure. Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html