у меня Freebsd 4.7 стоит mgetty и Freenibs
не могу заставить pppd аутентифицироваться через Radius.
Скачал с сайта nibs-а radpppd там написано что он должен аутентифицироваться через радиус. Но не понятно что и где в mgetty или в этом Radpppd нужно сделать чтобы он посылал запрос на аутентификацию радиусу. Или что сделать влюбом другом pppd?
Подскажите.
Не знаю что там в nibs
А вообще так
1. В файле oprions
radius - use radius authentication
NOTE: in this case user's password in /etc/ppp/pap-secrets won't be checked.
require-pap
2. Создаешь файл /etc/radius.conf
Содержание для него man radius.conf
>Не знаю что там в nibs
>А вообще так
>1. В файле oprions
>radius - use radius authentication
>NOTE: in this case user's password in /etc/ppp/pap-secrets won't be checked.
>require-pap
>2. Создаешь файл /etc/radius.conf
>Содержание для него man radius.confФайл options имеешь в виду /etc/ppp/options?
Да конечно
>Да конечноА в mgetty login.config:
пойдет такая строка:
/AutoPPP/ - a_ppp /usr/local/sbin/usr/sbin/radpppd auth radius
?
require-pap
обязательно
вероятно надо добавть еще pap
/AutoPPP/ - a_ppp /usr/local/sbin/usr/sbin/radpppd auth radius pap
Вроде все сделал.
Но reguest к радиусу не приходит.
Запускаю radiusd -X, чтобы было видно что делает радиус,
и смотрю когда mgetty снимает трубку, модемы договариваются
а аутентификация не происходит.
Потом соединение отваливается.
Дай лог pppd.log
Дай лог mgetty.cuaaXXpppd поднимается?
log mgetyy:03/17 16:34:00 aa6 mgetty: experimental test release 1.1.28-Jan10
03/17 16:34:00 aa6 check for lockfiles
03/17 16:34:00 aa6 locking the line
03/17 16:34:03 aa6 lowering DTR to reset Modem
03/17 16:34:04 aa6 send: ATS0=0Q0&D3&C1[0d]
03/17 16:34:04 aa6 waiting for ``OK'' ** found **
03/17 16:34:04 aa6 waiting...
03/17 16:43:05 aa6 wfr: waiting for ``RING''
03/17 16:43:05 aa6 send: ATA[0d]
03/17 16:43:05 aa6 waiting for ``CONNECT'' ** found **
03/17 16:43:24 aa6 send:
03/17 16:43:24 aa6 waiting for ``_'' ** found **
03/17 16:43:27 ##### data dev=cuaa6, pid=39060, caller='none', conn='7200', name='', cmd='/usr/local/sbin/usr/sbin/radpppd', user='/AutoPPP/'Когда соединение поднимается процесс radpppd появляется.
Дальше лог pppd.log покажи
pppd.log пустой.
Почему не знаю, хотя у меня стоит в строке запуска - debug/AutoPPP/ - a_ppp /usr/local/sbin/usr/sbin/radpppd auth radius +pap debug
А без радиуса работало ?
В syslog.conf
есть строка только о user level PPP
!ppp
*.* /var/log/ppp.logДо установки радиуса юзеры благополучно аутентифицировались через
файл: /etc/ppp/pap-secrets
Ё
ну так добавь
!pppd
*.* /var/log/pppd.log
В pppd.log появляется следуещее:Mar 18 10:00:41 niva pppd[191]: pppd 2.3.5.radius.cbcp started by root, uid 0
Mar 18 10:00:41 niva pppd[191]: Using interface ppp1
Mar 18 10:00:41 niva pppd[191]: Connect: ppp1 <--> /dev/cuaa6
Mar 18 10:00:41 niva pppd[191]: sent [LCP ConfReq id=0x1 <auth pap> <magic 0xd0abd834> <pcomp> <accomp
Mar 18 10:00:41 niva pppd[191]: fsm_sdata(LCP): Sent code 1, id 1.
Mar 18 10:00:41 niva pppd[191]: Timeout 804cd80:8066660 in 3 seconds.
Mar 18 10:00:41 niva pppd[191]: LCP: sending Configure-Request, id 1
Mar 18 10:00:44 niva pppd[191]: rcvd [LCP ConfReq id=0x3 <asyncmap 0xa0000> <magic 0x729efc> <pcomp> <
Mar 18 10:00:44 niva pppd[191]: fsm_rconfreq(LCP): Rcvd id 3.
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: rcvd ASYNCMAP
Mar 18 10:00:44 niva pppd[191]: (a0000)
Mar 18 10:00:44 niva pppd[191]: (ACK)
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: rcvd MAGICNUMBER
Mar 18 10:00:44 niva pppd[191]: (729efc)
Mar 18 10:00:44 niva pppd[191]: (ACK)
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: rcvd PCOMPRESSION
Mar 18 10:00:44 niva pppd[191]: (ACK)
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: rcvd ACCOMPRESSION
Mar 18 10:00:44 niva pppd[191]: (ACK)
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: rcvd CALLBACK
Mar 18 10:00:44 niva pppd[191]: (REJ)
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: returning CONFREJ.
Mar 18 10:00:44 niva pppd[191]: sent [LCP ConfRej id=0x3 < 0d 03 06>]
Mar 18 10:00:44 niva pppd[191]: fsm_sdata(LCP): Sent code 4, id 3.
Mar 18 10:00:44 niva pppd[191]: sent [LCP ConfReq id=0x1 <auth pap> <magic 0xd0abd834> <pcomp> <accomp
Mar 18 10:00:44 niva pppd[191]: fsm_sdata(LCP): Sent code 1, id 1.
Mar 18 10:00:44 niva pppd[191]: Timeout 804cd80:8066660 in 3 seconds.
Mar 18 10:00:44 niva pppd[191]: LCP: sending Configure-Request, id 1
Mar 18 10:00:44 niva pppd[191]: rcvd [LCP ConfReq id=0x4 <asyncmap 0xa0000> <magic 0x729efc> <pcomp> <
Mar 18 10:00:44 niva pppd[191]: fsm_rconfreq(LCP): Rcvd id 4.
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: rcvd ASYNCMAP
Mar 18 10:00:44 niva pppd[191]: (a0000)
Mar 18 10:00:44 niva pppd[191]: (ACK)
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: rcvd MAGICNUMBER
Mar 18 10:00:44 niva pppd[191]: (729efc)
Mar 18 10:00:44 niva pppd[191]: (ACK)
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: rcvd PCOMPRESSION
Mar 18 10:00:44 niva pppd[191]: (ACK)
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: rcvd ACCOMPRESSION
Mar 18 10:00:44 niva pppd[191]: (ACK)
Mar 18 10:00:44 niva pppd[191]: lcp_reqci: returning CONFACK.
Mar 18 10:00:44 niva pppd[191]: sent [LCP ConfAck id=0x4 <asyncmap 0xa0000> <magic 0x729efc> <pcomp> <
Mar 18 10:00:44 niva pppd[191]: fsm_sdata(LCP): Sent code 2, id 4.
Mar 18 10:00:44 niva pppd[191]: rcvd [LCP ConfAck id=0x1 <auth pap> <magic 0xd0abd834> <pcomp> <accomp
Mar 18 10:00:44 niva pppd[191]: fsm_rconfack(LCP): Rcvd id 1.
Mar 18 10:00:44 niva pppd[191]: Untimeout 804cd80:8066660.
Mar 18 10:00:44 niva pppd[191]: Timeout 8051a88:8066800 in 30 seconds.
Mar 18 10:00:44 niva pppd[191]: rcvd [PAP AuthReq id=0x1 user="rem" password="456789"]
Mar 18 10:00:44 niva pppd[191]: pap_rauth: Rcvd id 1.
Mar 18 10:00:44 niva pppd[191]: PAP radius login failure for rem
Mar 18 10:00:44 niva pppd[191]: sent [PAP AuthNak id=0x1 "Login incorrect"]
Mar 18 10:00:44 niva pppd[191]: pap_sresp: Sent code 3, id 1.
Mar 18 10:00:44 niva pppd[191]: sent [LCP TermReq id=0x2 "Authentication failed"]
Mar 18 10:00:44 niva pppd[191]: fsm_sdata(LCP): Sent code 5, id 2.
Mar 18 10:00:44 niva pppd[191]: Timeout 804cd80:8066660 in 3 seconds.
Mar 18 10:00:44 niva pppd[191]: Untimeout 8051a88:8066800.
Mar 18 10:00:44 niva pppd[191]: rcvd [LCP TermAck id=0x2]
Mar 18 10:00:44 niva pppd[191]: fsm_rtermack(LCP).
Mar 18 10:00:44 niva pppd[191]: Untimeout 804cd80:8066660.
Mar 18 10:00:44 niva pppd[191]: Connection terminated, connected for 1 minutes
Mar 18 10:00:45 niva pppd[191]: Hangup (SIGHUP)
Mar 18 10:00:45 niva pppd[191]: Exit.
Вот
Mar 18 10:00:44 niva pppd[191]: PAP radius login failure for rem
Mar 18 10:00:44 niva pppd[191]: sent [PAP AuthNak id=0x1 "Login incorrect"]Еще покажи /etc/ppp/options
И еще увидеть бы чего radius в это время показывает
после запуска radiusd -X
насколько хватило буфера терминала:rlm_nibs (sql_init_socketpool): starting 21
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #21
rlm_nibs_mysql: Starting connect to MySQL server for #21
rlm_nibs (connect_single_socket): Connected new DB handle, #21
rlm_nibs (sql_init_socketpool): starting 22
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #22
rlm_nibs_mysql: Starting connect to MySQL server for #22
rlm_nibs (connect_single_socket): Connected new DB handle, #22
rlm_nibs (sql_init_socketpool): starting 23
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #23
rlm_nibs_mysql: Starting connect to MySQL server for #23
rlm_nibs (connect_single_socket): Connected new DB handle, #23
rlm_nibs (sql_init_socketpool): starting 24
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #24
rlm_nibs_mysql: Starting connect to MySQL server for #24
rlm_nibs (connect_single_socket): Connected new DB handle, #24
rlm_nibs (sql_init_socketpool): starting 25
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #25
rlm_nibs_mysql: Starting connect to MySQL server for #25
rlm_nibs (connect_single_socket): Connected new DB handle, #25
rlm_nibs (sql_init_socketpool): starting 26
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #26
rlm_nibs_mysql: Starting connect to MySQL server for #26
rlm_nibs (connect_single_socket): Connected new DB handle, #26
rlm_nibs (sql_init_socketpool): starting 27
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #27
rlm_nibs_mysql: Starting connect to MySQL server for #27
rlm_nibs (connect_single_socket): Connected new DB handle, #27
rlm_nibs (sql_init_socketpool): starting 28
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #28
rlm_nibs_mysql: Starting connect to MySQL server for #28
rlm_nibs (connect_single_socket): Connected new DB handle, #28
rlm_nibs (sql_init_socketpool): starting 29
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #29
rlm_nibs_mysql: Starting connect to MySQL server for #29
rlm_nibs (connect_single_socket): Connected new DB handle, #29
rlm_nibs (sql_init_socketpool): starting 30
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #30
rlm_nibs_mysql: Starting connect to MySQL server for #30
rlm_nibs (connect_single_socket): Connected new DB handle, #30
rlm_nibs (sql_init_socketpool): starting 31
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #31
rlm_nibs_mysql: Starting connect to MySQL server for #31
rlm_nibs (connect_single_socket): Connected new DB handle, #31
rlm_nibs (sql_init_socketpool): starting 32
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #32
rlm_nibs_mysql: Starting connect to MySQL server for #32
rlm_nibs (connect_single_socket): Connected new DB handle, #32
rlm_nibs (sql_init_socketpool): starting 33
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #33
rlm_nibs_mysql: Starting connect to MySQL server for #33
rlm_nibs (connect_single_socket): Connected new DB handle, #33
rlm_nibs (sql_init_socketpool): starting 34
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #34
rlm_nibs_mysql: Starting connect to MySQL server for #34
rlm_nibs (connect_single_socket): Connected new DB handle, #34
rlm_nibs (sql_init_socketpool): starting 35
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #35
rlm_nibs_mysql: Starting connect to MySQL server for #35
rlm_nibs (connect_single_socket): Connected new DB handle, #35
rlm_nibs (sql_init_socketpool): starting 36
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #36
rlm_nibs_mysql: Starting connect to MySQL server for #36
rlm_nibs (connect_single_socket): Connected new DB handle, #36
rlm_nibs (sql_init_socketpool): starting 37
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #37
rlm_nibs_mysql: Starting connect to MySQL server for #37
rlm_nibs (connect_single_socket): Connected new DB handle, #37
rlm_nibs (sql_init_socketpool): starting 38
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #38
rlm_nibs_mysql: Starting connect to MySQL server for #38
rlm_nibs (connect_single_socket): Connected new DB handle, #38
rlm_nibs (sql_init_socketpool): starting 39
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #39
rlm_nibs_mysql: Starting connect to MySQL server for #39
rlm_nibs (connect_single_socket): Connected new DB handle, #39
rlm_nibs (sql_init_socketpool): starting 40
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #40
rlm_nibs_mysql: Starting connect to MySQL server for #40
rlm_nibs (connect_single_socket): Connected new DB handle, #40
rlm_nibs (sql_init_socketpool): starting 41
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #41
rlm_nibs_mysql: Starting connect to MySQL server for #41
rlm_nibs (connect_single_socket): Connected new DB handle, #41
rlm_nibs (sql_init_socketpool): starting 42
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #42
rlm_nibs_mysql: Starting connect to MySQL server for #42
rlm_nibs (connect_single_socket): Connected new DB handle, #42
rlm_nibs (sql_init_socketpool): starting 43
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #43
rlm_nibs_mysql: Starting connect to MySQL server for #43
rlm_nibs (connect_single_socket): Connected new DB handle, #43
rlm_nibs (sql_init_socketpool): starting 44
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #44
rlm_nibs_mysql: Starting connect to MySQL server for #44
rlm_nibs (connect_single_socket): Connected new DB handle, #44
rlm_nibs (sql_init_socketpool): starting 45
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #45
rlm_nibs_mysql: Starting connect to MySQL server for #45
rlm_nibs (connect_single_socket): Connected new DB handle, #45
rlm_nibs (sql_init_socketpool): starting 46
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #46
rlm_nibs_mysql: Starting connect to MySQL server for #46
rlm_nibs (connect_single_socket): Connected new DB handle, #46
rlm_nibs (sql_init_socketpool): starting 47
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #47
rlm_nibs_mysql: Starting connect to MySQL server for #47
rlm_nibs (connect_single_socket): Connected new DB handle, #47
rlm_nibs (sql_init_socketpool): starting 48
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #48
rlm_nibs_mysql: Starting connect to MySQL server for #48
rlm_nibs (connect_single_socket): Connected new DB handle, #48
rlm_nibs (sql_init_socketpool): starting 49
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #49
rlm_nibs_mysql: Starting connect to MySQL server for #49
rlm_nibs (connect_single_socket): Connected new DB handle, #49
rlm_nibs (sql_init_socketpool): starting 50
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #50
rlm_nibs_mysql: Starting connect to MySQL server for #50
rlm_nibs (connect_single_socket): Connected new DB handle, #50
rlm_nibs (sql_init_socketpool): starting 51
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #51
rlm_nibs_mysql: Starting connect to MySQL server for #51
rlm_nibs (connect_single_socket): Connected new DB handle, #51
rlm_nibs (sql_init_socketpool): starting 52
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #52
rlm_nibs_mysql: Starting connect to MySQL server for #52
rlm_nibs (connect_single_socket): Connected new DB handle, #52
rlm_nibs (sql_init_socketpool): starting 53
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #53
rlm_nibs_mysql: Starting connect to MySQL server for #53
rlm_nibs (connect_single_socket): Connected new DB handle, #53
rlm_nibs (sql_init_socketpool): starting 54
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #54
rlm_nibs_mysql: Starting connect to MySQL server for #54
rlm_nibs (connect_single_socket): Connected new DB handle, #54
rlm_nibs (sql_init_socketpool): starting 55
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #55
rlm_nibs_mysql: Starting connect to MySQL server for #55
rlm_nibs (connect_single_socket): Connected new DB handle, #55
rlm_nibs (sql_init_socketpool): starting 56
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #56
rlm_nibs_mysql: Starting connect to MySQL server for #56
rlm_nibs (connect_single_socket): Connected new DB handle, #56
rlm_nibs (sql_init_socketpool): starting 57
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #57
rlm_nibs_mysql: Starting connect to MySQL server for #57
rlm_nibs (connect_single_socket): Connected new DB handle, #57
rlm_nibs (sql_init_socketpool): starting 58
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #58
rlm_nibs_mysql: Starting connect to MySQL server for #58
rlm_nibs (connect_single_socket): Connected new DB handle, #58
rlm_nibs (sql_init_socketpool): starting 59
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #59
rlm_nibs_mysql: Starting connect to MySQL server for #59
rlm_nibs (connect_single_socket): Connected new DB handle, #59
rlm_nibs (sql_init_socketpool): starting 60
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #60
rlm_nibs_mysql: Starting connect to MySQL server for #60
rlm_nibs (connect_single_socket): Connected new DB handle, #60
rlm_nibs (sql_init_socketpool): starting 61
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #61
rlm_nibs_mysql: Starting connect to MySQL server for #61
rlm_nibs (connect_single_socket): Connected new DB handle, #61
rlm_nibs (sql_init_socketpool): starting 62
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #62
rlm_nibs_mysql: Starting connect to MySQL server for #62
rlm_nibs (connect_single_socket): Connected new DB handle, #62
rlm_nibs (sql_init_socketpool): starting 63
rlm_nibs (connect_single_socket): Attempting to connect rlm_nibs_mysql #63
rlm_nibs_mysql: Starting connect to MySQL server for #63
rlm_nibs (connect_single_socket): Connected new DB handle, #63
rlm_nibs (nibs_init): Initializing main structures `freenibs'
radius_xlat: 'SELECT gid, prefix, tos, do_with_tos, direction, fixed, fixed_cost, activation_time, tot
_limit, month_time_limit, week_time_limit, day_time_limit, total_traffic_limit, month_traffic_limit, we
fic_limit, day_traffic_limit, total_money_limit, month_money_limit, week_money_limit, day_money_limit,
_timeout, idle_timeout, simultaneous_use, port_limit, login_time, other_params, huntgroup_name, allow_c
, allowed_prefixes, framed_ip, framed_mask, no_acct, no_pass FROM packets'
rlm_nibs (nibs): Reserving sql socket id: 63
rlm_nibs (sql_release_socket): Released sql socket id: 63
rlm_nibs (nibs_init): Initializing group table `packets' done. Found 1 groups
radius_xlat: 'SELECT holiday_date FROM holidays'
rlm_nibs (nibs): Reserving sql socket id: 62
rlm_nibs (sql_init_holidays): No holidays configured
rlm_nibs (sql_release_socket): Released sql socket id: 62
radius_xlat: 'SELECT h0, input0, output0, h1, input1, output1, h2, input2, output2, h3, input3, output
input4, output4, h5, input5, output5, h6, input6, output6, h7, input7, output7, h8, input8, output8, h9
9, output9, h10, input10, output10, h11, input11, output11, h12, input12, output12, h13, input13, outpu
4, input14, output14, h15, input15, output15, h16, input16, output16, h17, input17, output17, h18, inpu
tput18, h19, input19, output19, h20, input20, output20, h21, input21, output21, h22, input22, output22,
nput23, output23, week_day, gid FROM prices'
rlm_nibs (nibs): Reserving sql socket id: 61
rlm_nibs (sql_release_socket): Released sql socket id: 61
rlm_nibs (nibs_init): Initializing prices table `prices' done. Found 8 prices
Module: Instantiated nibs (nibs)
Module: Loaded preprocess
preprocess: huntgroups = "/opt/freeradius/etc/raddb/huntgroups"
preprocess: hints = "/opt/freeradius/etc/raddb/hints"
preprocess: with_ascend_hack = no
preprocess: ascend_channels_per_line = 23
preprocess: with_ntdomain_hack = no
preprocess: with_specialix_jetstream_hack = no
preprocess: with_cisco_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded Acct-Unique-Session-Id
acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, NAS-Port"
Module: Instantiated acct_unique (acct_unique)
Module: Loaded detail
detail: detailfile = "/opt/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
detail: detailperm = 384
detail: dirperm = 493
detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded System
unix: cache = no
unix: passwd = "(null)"
unix: shadow = "(null)"
unix: group = "(null)"
unix: radwtmp = "/opt/freeradius/var/log/radius/radwtmp"
unix: usegroup = no
unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded radutmp
radutmp: filename = "/opt/freeradius/var/log/radius/radutmp"
radutmp: username = "%{User-Name}"
radutmp: case_sensitive = yes
radutmp: check_with_nas = yes
radutmp: perm = 384
radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Module: Loaded eap
eap: default_eap_type = "md5"
eap: timer_expire = 60
rlm_eap: Loaded and initialized the type md5
rlm_eap: Loaded and initialized the type leap
Module: Instantiated eap (eap)
Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on 1814/udp.
Ready to process requests.не в момент соединения, ни после его обрыва изменений на экране не происходит.
А когда запускал radtest с другого терминала, то последовательность обработки запроса на экране отображалась.
Файл /etc/ppp/options:radius
require-pap
------------------------------
Файл pppd.log:Mar 18 10:26:11 niva pppd[253]: pppd 2.3.5.radius.cbcp started by root, uid 0
Mar 18 10:26:11 niva pppd[253]: Using interface ppp1
Mar 18 10:26:11 niva pppd[253]: Connect: ppp1 <--> /dev/cuaa6
Mar 18 10:26:11 niva pppd[253]: sent [LCP ConfReq id=0x1 <auth pap> <magic 0xe6e64a62> <pcomp> <accomp>]
Mar 18 10:26:11 niva pppd[253]: fsm_sdata(LCP): Sent code 1, id 1.
Mar 18 10:26:11 niva pppd[253]: Timeout 804cd80:8066660 in 3 seconds.
Mar 18 10:26:11 niva pppd[253]: LCP: sending Configure-Request, id 1
Mar 18 10:26:11 niva pppd[253]: rcvd [LCP ConfReq id=0x3 <asyncmap 0xa0000> <magic 0x89cc2e> <pcomp> <accomp> < 0d
Mar 18 10:26:11 niva pppd[253]: fsm_rconfreq(LCP): Rcvd id 3.
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd ASYNCMAP
Mar 18 10:26:11 niva pppd[253]: (a0000)
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd MAGICNUMBER
Mar 18 10:26:11 niva pppd[253]: (89cc2e)
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd PCOMPRESSION
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd ACCOMPRESSION
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd CALLBACK
Mar 18 10:26:11 niva pppd[253]: (REJ)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: returning CONFREJ.
Mar 18 10:26:11 niva pppd[253]: sent [LCP ConfRej id=0x3 < 0d 03 06>]
Mar 18 10:26:11 niva pppd[253]: fsm_sdata(LCP): Sent code 4, id 3.
Mar 18 10:26:11 niva pppd[253]: rcvd [LCP ConfReq id=0x4 <asyncmap 0xa0000> <magic 0x89cc2e> <pcomp> <accomp> < 0d
Mar 18 10:26:11 niva pppd[253]: fsm_rconfreq(LCP): Rcvd id 4.
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd ASYNCMAP
Mar 18 10:26:11 niva pppd[253]: (a0000)
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd MAGICNUMBER
Mar 18 10:26:11 niva pppd[253]: (89cc2e)
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd PCOMPRESSION
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd ACCOMPRESSION
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd CALLBACK
Mar 18 10:26:11 niva pppd[253]: (REJ)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: returning CONFREJ.
Mar 18 10:26:11 niva pppd[253]: sent [LCP ConfRej id=0x4 < 0d 03 06>]
Mar 18 10:26:11 niva pppd[253]: fsm_sdata(LCP): Sent code 4, id 4.
Mar 18 10:26:11 niva pppd[253]: rcvd [LCP ConfReq id=0x5 <asyncmap 0xa0000> <magic 0x89cc2e> <pcomp> <accomp>]
Mar 18 10:26:11 niva pppd[253]: fsm_rconfreq(LCP): Rcvd id 5.
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd ASYNCMAP
Mar 18 10:26:11 niva pppd[253]: (a0000)
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd MAGICNUMBER
Mar 18 10:26:11 niva pppd[253]: (89cc2e)
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd PCOMPRESSION
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd ACCOMPRESSION
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: returning CONFACK.
Mar 18 10:26:11 niva pppd[253]: sent [LCP ConfAck id=0x5 <asyncmap 0xa0000> <magic 0x89cc2e> <pcomp> <accomp>]
Mar 18 10:26:11 niva pppd[253]: fsm_sdata(LCP): Sent code 2, id 5.
Mar 18 10:26:11 niva pppd[253]: rcvd [LCP ConfReq id=0x6 <asyncmap 0xa0000> <magic 0x89cc2e> <pcomp> <accomp>]
Mar 18 10:26:11 niva pppd[253]: fsm_rconfreq(LCP): Rcvd id 6.
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd ASYNCMAP
Mar 18 10:26:11 niva pppd[253]: (a0000)
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd MAGICNUMBER
Mar 18 10:26:11 niva pppd[253]: (89cc2e)
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd PCOMPRESSION
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: rcvd ACCOMPRESSION
Mar 18 10:26:11 niva pppd[253]: (ACK)
Mar 18 10:26:11 niva pppd[253]: lcp_reqci: returning CONFACK.
Mar 18 10:26:11 niva pppd[253]: sent [LCP ConfAck id=0x6 <asyncmap 0xa0000> <magic 0x89cc2e> <pcomp> <accomp>]
Mar 18 10:26:11 niva pppd[253]: fsm_sdata(LCP): Sent code 2, id 6.
Mar 18 10:26:14 niva pppd[253]: sent [LCP ConfReq id=0x1 <auth pap> <magic 0xe6e64a62> <pcomp> <accomp>]
Mar 18 10:26:14 niva pppd[253]: fsm_sdata(LCP): Sent code 1, id 1.
Mar 18 10:26:14 niva pppd[253]: Timeout 804cd80:8066660 in 3 seconds.
Mar 18 10:26:14 niva pppd[253]: LCP: sending Configure-Request, id 1
Mar 18 10:26:14 niva pppd[253]: rcvd [LCP ConfAck id=0x1 <auth pap> <magic 0xe6e64a62> <pcomp> <accomp>]
Mar 18 10:26:14 niva pppd[253]: fsm_rconfack(LCP): Rcvd id 1.
Mar 18 10:26:14 niva pppd[253]: Untimeout 804cd80:8066660.
Mar 18 10:26:14 niva pppd[253]: Timeout 8051a88:8066800 in 30 seconds.
Mar 18 10:26:14 niva pppd[253]: rcvd [PAP AuthReq id=0x1 user="rem" password="456789"]
Mar 18 10:26:14 niva pppd[253]: pap_rauth: Rcvd id 1.
Mar 18 10:26:14 niva pppd[253]: PAP radius login failure for rem
Mar 18 10:26:14 niva pppd[253]: sent [PAP AuthNak id=0x1 "Login incorrect"]
Mar 18 10:26:14 niva pppd[253]: pap_sresp: Sent code 3, id 1.
Mar 18 10:26:14 niva pppd[253]: sent [LCP TermReq id=0x2 "Authentication failed"]
Mar 18 10:26:14 niva pppd[253]: fsm_sdata(LCP): Sent code 5, id 2.
Mar 18 10:26:14 niva pppd[253]: Timeout 804cd80:8066660 in 3 seconds.
Mar 18 10:26:14 niva pppd[253]: Untimeout 8051a88:8066800.
Mar 18 10:26:14 niva pppd[253]: rcvd [LCP TermAck id=0x2]
Mar 18 10:26:14 niva pppd[253]: fsm_rtermack(LCP).
Mar 18 10:26:14 niva pppd[253]: Untimeout 804cd80:8066660.
Mar 18 10:26:14 niva pppd[253]: Connection terminated, connected for 1 minutes
Mar 18 10:26:15 niva pppd[253]: Hangup (SIGHUP)
Mar 18 10:26:15 niva pppd[253]: Exit.
radpppd посылает все нормально радиусу
аутентификация на радиусе не проходит
Проверь почту послал тебе рабочие вещи
а нужна ли настройка маршрутизации?
>radpppd посылает все нормально радиусу
>аутентификация на радиусе не проходит
>Проверь почту послал тебе рабочие вещи
esli ne trudno, poshli i mne rabochie veshi... budu ochen' blagodaren.
zaranee spasibo