734

Установка, настройка, поддержка
Ответить
Shturm_N
Сообщения: 141
Зарегистрирован: Вт мар 02, 2010 1:59 pm
Откуда: Lugansk
Контактная информация:

734

Сообщение Shturm_N »

Ставлю очередной сервер для дальнего сектора покрытия.
При подключении, абоненты получают ошибку 734. Вроде уже все проверил. Единственное что вызывает подозрение:

Код: Выделить всё

rad_recv: Access-Request packet from host 127.0.0.1 port 59007, id=34, length=91
        Service-Type = Framed-User
        Framed-Protocol = PPP
        User-Name = "sht"
        CHAP-Challenge = 0xb4001002ddedab502ada7c0eb7e06b194bac28f24e
        CHAP-Password = 0xbcb7318587a69a0c7189911fbed5b3f653
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 0
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
Subroutine main::log_print redefined at /usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/abills/libexec/rauth.pl line 30
Exec-Program output: Auth-Type := Accept 
Exec-Program-Wait: value-pairs: Auth-Type := Accept
Exec-Program: returned: 0
++[abills_preauth] returns ok
++[mschap] returns noop
[files] users: Matched entry DEFAULT at line 172
++[files] returns ok
Subroutine main::log_print redefined at /usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/abills/libexec/rauth.pl line 30
Exec-Program output: Acct-Interim-Interval = 60, Session-Timeout = 1766459, User-Name = sht, Octets-Direction = 0, Framed-IP-Address = 10.10.0.11, Session-Octets-Limit = 0, Framed-IP-Netmask = 255.255.255.255, 
Exec-Program-Wait: value-pairs: Acct-Interim-Interval = 60, Session-Timeout = 1766459, User-Name = sht, Octets-Direction = 0, Framed-IP-Address = 10.10.0.11, Session-Octets-Limit = 0, Framed-IP-Netmask = 255.255.255.255, 
Exec-Program: returned: 0
++[abills_auth] returns ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
  WARNING: Empty post-auth section.  Using default return values.
# Executing section post-auth from file /etc/freeradius/sites-enabled/default
Sending Access-Accept of id 34 to 127.0.0.1 port 59007
        Framed-Protocol = PPP
        Framed-Compression = Van-Jacobson-TCP-IP
        Acct-Interim-Interval = 60
        Session-Timeout = 1766459
        User-Name = "sht"
        Octets-Direction = Route-IP-No
        Framed-IP-Address = 10.10.0.11
        Session-Octets-Limit = 0
        Framed-IP-Netmask = 255.255.255.255
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 1 ID 34 with timestamp +211
Ready to process requests.
и

Код: Выделить всё

Plugin radius.so loaded.
RADIUS plugin initialized.
Plugin radattr.so loaded.
RADATTR plugin initialized.
using channel 14
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
sent [LCP ConfReq id=0x1 <mru 1472> <auth chap MD5> <magic 0x4958d924>]
rcvd [LCP ConfAck id=0x1 <mru 1472> <auth chap MD5> <magic 0x4958d924>]
rcvd [LCP ConfReq id=0x1 <mru 1480> <magic 0xacf4aeb> <pcomp> <accomp> <callback CBCP>]
sent [LCP ConfRej id=0x1 <pcomp> <accomp> <callback CBCP>]
rcvd [LCP ConfReq id=0x2 <mru 1480> <magic 0xacf4aeb>]
sent [LCP ConfAck id=0x2 <mru 1480> <magic 0xacf4aeb>]
sent [LCP EchoReq id=0x0 magic=0x4958d924]
sent [CHAP Challenge id=0xbc <b4001002ddedab502ada7c0eb7e06b194bac28f24e>, name = "pulsar"]
rcvd [LCP Ident id=0x3 magic=0xacf4aeb "MSRASV5.20"]
rcvd [LCP Ident id=0x4 magic=0xacf4aeb "MSRAS-0-SHTURMAN-PC"]
rcvd [LCP Ident id=0x5 magic=0xacf4aeb "\37777777730\37777777731Y\37777777773?\37777777741\37777777757E\37777777605$5T)\r\37777777770\37777777636"]
rcvd [LCP EchoRep id=0x0 magic=0xacf4aeb]
rcvd [CHAP Response id=0xbc <b7318587a69a0c7189911fbed5b3f653>, name = "sht"]
RADATTR plugin wrote 9 line(s) to file /var/run/radattr.ppp0.
sent [CHAP Success id=0xbc ""]
Initializing PAM (2) for user sht
---> PAM INIT Result = 0
Attempting PAM account checks
PAM Account checks failed: 7: Authentication failure
Peer sht failed CHAP Session verification
sent [LCP TermReq id=0x2 "Authentication failed"]
rcvd [IPV6CP ConfReq id=0x6 <addr fe80::688d:5314:badb:9356>]
Discarded non-LCP packet when LCP not open
rcvd [IPCP ConfReq id=0x7 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns2 0.0.0.0> <ms-wins 0.0.0.0>]
Discarded non-LCP packet when LCP not open
rcvd [LCP TermAck id=0x2 "Authentication failed"]
Connection terminated.
pppoe: read (asyncReadFromPPP): Session 14: Input/output error
Child process /usr/sbin/pppoe -n -I eth1 -e 14:00:01:6c:fe:34:88 -S '' (pid 5392) terminated with signal 15
RADATTR plugin removed file /var/run/radattr.ppp0.
Хотя:

Код: Выделить всё

root@pulsar:/etc/radiusclient# radtest sht 123456 127.0.0.1:1812 0 123 0 127.0.0.1
Sending Access-Request of id 182 to 127.0.0.1 port 1812
        User-Name = "sht"
        User-Password = "123456"
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 0
        Framed-Protocol = PPP
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=182, length=73
        Framed-Protocol = PPP
        Framed-Compression = Van-Jacobson-TCP-IP
        Acct-Interim-Interval = 60
        Session-Timeout = 1766154
        User-Name = "sht"
        Octets-Direction = Route-IP-No
        Framed-IP-Address = 10.10.0.11
        Session-Octets-Limit = 0
        Framed-IP-Netmask = 255.255.255.255
Конфиги все беру отработанные и обкатанные многократно. Гугление и поиск по форуму не принесло новых идей. Подскажите, что я забыл?

Shturm_N
Сообщения: 141
Зарегистрирован: Вт мар 02, 2010 1:59 pm
Откуда: Lugansk
Контактная информация:

Re: 734

Сообщение Shturm_N »

в новых дистрибутивах в опциях pppoe-server убираем login.

Ответить