Настроил, все работает, радиус запускается веб-админ abiils'a работает прописал NAS, пользователя делаю:
radtest ppp1 ppp1 127.0.0.1 0 pass 0 127.0.0.1 говорит:
Sending Access-Request of id 253 to 127.0.0.1 port 1812 User-Name = "ppp1" User-Password = "ppp1" NAS-IP-Address = 127.0.0.1 NAS-Port = 0 Framed-Protocol = PPP Re-sending Access-Request of id 253 to 127.0.0.1 port 1812 User-Name = "ppp1" User-Password = "ppp1" NAS-IP-Address = 127.0.0.1 NAS-Port = 0 Framed-Protocol = PPP rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=253, length=47 Reply-Message = "Unknow server '127.0.0.1'"
radiusd -X говорит:
rad_recv: Access-Request packet from host 127.0.0.1:1026, id=253, length=62 User-Name = "ppp1" User-Password = "ppp1" NAS-IP-Address = 127.0.0.1 NAS-Port = 0 Framed-Protocol = PPP Processing the authorize section of radiusd.conf modcall: entering group authorize for request 7 radius_xlat: '/usr/abills/libexec/rauth.pl pre_auth' Exec-Program: /usr/abills/libexec/rauth.pl pre_auth Exec-Program output: Auth-Type := Accept Exec-Program-Wait: value-pairs: Auth-Type := Accept Exec-Program: returned: 0 modcall[authorize]: module "pre_auth" returns ok for request 7 modcall[authorize]: module "preprocess" returns ok for request 7 modcall[authorize]: module "mschap" returns noop for request 7 rlm_realm: No '@' in User-Name = "ppp1", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "suffix" returns noop for request 7 users: Matched entry DEFAULT at line 1 modcall[authorize]: module "files" returns ok for request 7 modcall: leaving group authorize (returns ok) for request 7 rad_check_password: Found Auth-Type Accept rad_check_password: Auth-Type = Accept, accepting the user radius_xlat: '/usr/abills/libexec/rauth.pl' Exec-Program: /usr/abills/libexec/rauth.pl Exec-Program output: Reply-Message = "Unknow server '127.0.0.1'" Exec-Program-Wait: value-pairs: Reply-Message = "Unknow server '127.0.0.1'" Exec-Program: returned: 1 Found Post-Auth-Type Processing the post-auth section of radiusd.conf modcall: entering group REJECT for request 7 radius_xlat: '/usr/abills/libexec/rauth.pl post_auth' Exec-Program: /usr/abills/libexec/rauth.pl post_auth Exec-Program output: Exec-Program: returned: 0 modcall[post-auth]: module "post_auth" returns ok for request 7 modcall: leaving group REJECT (returns ok) for request 7 Delaying request 7 for 1 seconds Finished request 7 Going to the next request --- Walking the entire request list --- Waking up in 1 seconds... rad_recv: Access-Request packet from host 127.0.0.1:1026, id=253, length=62 Sending Access-Reject of id 253 to 127.0.0.1 port 1026 Reply-Message = "Unknow server '127.0.0.1'" --- Walking the entire request list --- Waking up in 2 seconds... --- Walking the entire request list --- Cleaning up request 7 ID 253 with timestamp 44d83df9 Nothing to do. Sleeping until we see a request.
abills.log :
2006-08-08 11:32:11 LOG_WARNING: AUTH [ppp1] NAS: 0 Unknow server '127.0.0.1' 2006-08-08 11:32:12 LOG_INFO: AUTH [ppp1] AUTH REJECT
HELP!!! очень надо, гарю!!!!