LINUX.ORG.RU

Сообщения fokses

 

pppd обрывает соединение после перезвона

Форум — Admin

Я пользуюсь услугой callback моего ISP. Все работало нормально, однако, в последнее время сразу же после перезвона pppd обрывает соединение и пишет "LCP terminated by peer". Добавив опцию debug и заглянув в syslog увидел следующее:
Sep 9 01:08:54 localhost pppd[1705]: pppd 2.4.1 started by user, uid 999
Sep 9 01:08:55 localhost chat[1706]: timeout set to 3 seconds
Sep 9 01:08:55 localhost chat[1706]: abort on (\nBUSY\r)
Sep 9 01:08:55 localhost chat[1706]: abort on (\nNO ANSWER\r)
Sep 9 01:08:55 localhost chat[1706]: abort on (\nNO CARRIER\r)
Sep 9 01:08:55 localhost chat[1706]: send (AT^M)
Sep 9 01:08:55 localhost chat[1706]: expect (OK)
Sep 9 01:08:55 localhost chat[1706]: AT^M^M
Sep 9 01:08:55 localhost chat[1706]: OK
Sep 9 01:08:55 localhost chat[1706]: -- got it
Sep 9 01:08:55 localhost chat[1706]: send (AT&C0&D2S0=0H0^M)
Sep 9 01:08:56 localhost chat[1706]: timeout set to 60 seconds
Sep 9 01:08:56 localhost chat[1706]: expect (OK)
Sep 9 01:08:56 localhost chat[1706]: ^M
Sep 9 01:08:56 localhost chat[1706]: AT&C0&D2S0=0H0^M^M
Sep 9 01:08:56 localhost chat[1706]: OK
Sep 9 01:08:56 localhost chat[1706]: -- got it
Sep 9 01:08:56 localhost chat[1706]: send (ATM1L1^M)
Sep 9 01:08:56 localhost chat[1706]: expect (OK)
Sep 9 01:08:56 localhost chat[1706]: ^M
Sep 9 01:08:56 localhost chat[1706]: ATM1L1^M^M
Sep 9 01:08:56 localhost chat[1706]: OK
Sep 9 01:08:56 localhost chat[1706]: -- got it
Sep 9 01:08:56 localhost chat[1706]: send (ATDP3812929^M)
Sep 9 01:08:56 localhost chat[1706]: expect (CONNECT)
Sep 9 01:08:56 localhost chat[1706]: ^M
Sep 9 01:09:32 localhost chat[1706]: ATDP3812929^M^M
Sep 9 01:09:32 localhost chat[1706]: CONNECT
Sep 9 01:09:32 localhost chat[1706]: -- got it
Sep 9 01:09:32 localhost chat[1706]: send (^M)
Sep 9 01:09:32 localhost chat[1706]: expect (ogin:)
Sep 9 01:09:32 localhost chat[1706]: 57600/V.90 34666/V42b^M
Sep 9 01:09:34 localhost chat[1706]: ^M
Sep 9 01:09:34 localhost chat[1706]:
Sep 9 01:09:34 localhost last message repeated 23 times
Sep 9 01:09:34 localhost chat[1706]: Welcome to Farlep! For tech support call 3858585^M
Sep 9 01:09:34 localhost chat[1706]: ^M
Sep 9 01:09:34 localhost chat[1706]: ^M
Sep 9 01:09:34 localhost chat[1706]: Username: Login:
Sep 9 01:09:34 localhost chat[1706]: -- got it
Sep 9 01:09:34 localhost chat[1706]: send (mylogin^M)
Sep 9 01:09:34 localhost chat[1706]: expect (word:)
Sep 9 01:09:34 localhost chat[1706]: mylogin^M
Sep 9 01:09:34 localhost chat[1706]: Password:
Sep 9 01:09:34 localhost chat[1706]: -- got it
Sep 9 01:09:34 localhost chat[1706]: send (mypassword^M)
Sep 9 01:09:34 localhost pppd[1705]: Serial connection established.
Sep 9 01:09:34 localhost pppd[1705]: using channel 4
Sep 9 01:09:34 localhost pppd[1705]: Using interface ppp0
Sep 9 01:09:34 localhost pppd[1705]: Connect: ppp0 <--> /dev/modem
Sep 9 01:09:34 localhost pppd[1705]: rcvd [LCP ConfReq id=0x1 <mru 1524> <asyncmap 0xa0000> <pcomp> <accomp>
<endpoint [MAC:00:c0:7b:9a:9f:26]>]
Sep 9 01:09:34 localhost pppd[1705]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x9a0b323
8> <pcomp> <accomp>]
Sep 9 01:09:34 localhost pppd[1705]: sent [LCP ConfAck id=0x1 <mru 1524> <asyncmap 0xa0000> <pcomp> <accomp>
<endpoint [MAC:00:c0:7b:9a:9f:26]>]
Sep 9 01:09:35 localhost pppd[1705]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x9a0b323
8> <pcomp> <accomp>]
Sep 9 01:09:35 localhost pppd[1705]: sent [LCP EchoReq id=0x0 magic=0x9a0b3238]
Sep 9 01:09:35 localhost pppd[1705]: cbcp_lowerup
Sep 9 01:09:35 localhost pppd[1705]: want: 14
Sep 9 01:09:35 localhost pppd[1705]: cbcp_open
Sep 9 01:09:35 localhost pppd[1705]: rcvd [CBCP Request id=0x1 < UserDefined delay = 0 number = >] 00
Sep 9 01:09:35 localhost pppd[1705]: length: 5
Sep 9 01:09:35 localhost pppd[1705]: user callback allowed
Sep 9 01:09:35 localhost pppd[1705]: cbcp_resp cb_type=4
Sep 9 01:09:35 localhost pppd[1705]: cbcp_resp CONF_USER
Sep 9 01:09:35 localhost pppd[1705]: sent [CBCP Response id=0x1 < UserDefined delay = 5 number = 941449>] 39
34 31 34 34 39 00
Sep 9 01:09:35 localhost pppd[1705]: rcvd [LCP EchoRep id=0x0 magic=0x0]
Sep 9 01:09:35 localhost pppd[1705]: rcvd [CBCP Ack id=0x1 < UserDefined delay = 5 number = 941449>] 39 34 31
34 34 39 00
Sep 9 01:09:35 localhost pppd[1705]: peer will call: 941449
Sep 9 01:09:35 localhost pppd[1705]: sent [LCP TermReq id=0x2 "Call me back, please"]
Sep 9 01:09:35 localhost pppd[1705]: rcvd [LCP TermAck id=0x2]
Sep 9 01:09:35 localhost pppd[1705]: Connection terminated.
Sep 9 01:09:36 localhost pppd[1705]: Exit.
Sep 9 01:09:36 localhost pppd[1709]: pppd 2.4.1 started by ruslan, uid 0
Sep 9 01:09:37 localhost chat[1710]: timeout set to 180 seconds
Sep 9 01:09:37 localhost chat[1710]: abort on (\nVOICE\r)
Sep 9 01:09:37 localhost chat[1710]: expect (^JRING^M)
Sep 9 01:09:37 localhost chat[1710]: ^M
Sep 9 01:09:37 localhost chat[1710]: NO CARRIER^M
Sep 9 01:09:50 localhost chat[1710]: ^M
Sep 9 01:09:50 localhost chat[1710]: RING^M
Sep 9 01:09:50 localhost chat[1710]: -- got it
Sep 9 01:09:50 localhost chat[1710]: send (AT&C1A^M)
Sep 9 01:09:50 localhost chat[1710]: expect (CONNECT)
Sep 9 01:09:50 localhost chat[1710]:
Sep 9 01:10:00 localhost CROND[1712]: (root) CMD ( /sbin/rmmod -as)
Sep 9 01:10:04 localhost chat[1710]: AT&C1A^M^M
Sep 9 01:10:04 localhost chat[1710]: CONNECT
Sep 9 01:10:04 localhost chat[1710]: -- got it
Sep 9 01:10:04 localhost pppd[1709]: Serial connection established.
Sep 9 01:10:04 localhost pppd[1709]: using channel 5
Sep 9 01:10:04 localhost pppd[1709]: Using interface ppp0
Sep 9 01:10:04 localhost pppd[1709]: Connect: ppp0 <--> /dev/modem
Sep 9 01:10:05 localhost pppd[1709]: rcvd [LCP ConfReq id=0x1 <mru 1524> <asyncmap 0xa0000> <pcomp> <accomp>
<endpoint [MAC:00:c0:7b:9a:9f:26]>]
Sep 9 01:10:05 localhost pppd[1709]: sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <callback CBCP> <magic 0x5
bfb845e> <pcomp> <accomp>]
Sep 9 01:10:05 localhost pppd[1709]: sent [LCP ConfAck id=0x1 <mru 1524> <asyncmap 0xa0000> <pcomp> <accomp>
<endpoint [MAC:00:c0:7b:9a:9f:26]>]
Sep 9 01:10:05 localhost pppd[1709]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <callback CBCP> <magic 0x5
bfb845e> <pcomp> <accomp>]
Sep 9 01:10:05 localhost pppd[1709]: sent [LCP EchoReq id=0x0 magic=0x5bfb845e]
Sep 9 01:10:05 localhost pppd[1709]: cbcp_lowerup
Sep 9 01:10:05 localhost pppd[1709]: want: 14
Sep 9 01:10:05 localhost pppd[1709]: cbcp_open
Sep 9 01:10:05 localhost pppd[1709]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 213.130.10.114>]
Sep 9 01:10:05 localhost pppd[1709]: sent [IPCP TermAck id=0x1]
Sep 9 01:10:05 localhost pppd[1709]: rcvd [CCP ConfReq id=0x1 < 11 06 00 01 01 03>]
Sep 9 01:10:05 localhost pppd[1709]: sent [CCP TermAck id=0x1]
Sep 9 01:10:05 localhost pppd[1709]: rcvd [LCP EchoRep id=0x0 magic=0x0]
Sep 9 01:10:05 localhost pppd[1709]: rcvd [LCP TermReq id=0x2]
Sep 9 01:10:05 localhost pppd[1709]: LCP terminated by peer
Sep 9 01:10:05 localhost pppd[1709]: sent [LCP TermAck id=0x2]
Sep 9 01:10:07 localhost pppd[1709]: Modem hangup
Sep 9 01:10:07 localhost pppd[1709]: Connection terminated.
Sep 9 01:10:11 localhost pppd[1709]: Terminating on signal 2.
Sep 9 01:10:11 localhost pppd[1709]: Exit.
Помогите, пожалуйста.

fokses
()

pppd обрывает соединение после перезвона

Форум — General

Я пользуюсь услугой callback моего ISP. Все работало нормально, однако, в последнее время сразу же после перезвона pppd обрывает соединение и пишет "LCP terminated by peer". Добавив опцию debug и заглянув в syslog увидел следующее: Sep 9 01:08:54 localhost pppd[1705]: pppd 2.4.1 started by user, uid 999 Sep 9 01:08:55 localhost chat[1706]: timeout set to 3 seconds Sep 9 01:08:55 localhost chat[1706]: abort on (\nBUSY\r) Sep 9 01:08:55 localhost chat[1706]: abort on (\nNO ANSWER\r) Sep 9 01:08:55 localhost chat[1706]: abort on (\nNO CARRIER\r) Sep 9 01:08:55 localhost chat[1706]: send (AT^M) Sep 9 01:08:55 localhost chat[1706]: expect (OK) Sep 9 01:08:55 localhost chat[1706]: AT^M^M Sep 9 01:08:55 localhost chat[1706]: OK Sep 9 01:08:55 localhost chat[1706]: -- got it Sep 9 01:08:55 localhost chat[1706]: send (AT&C0&D2S0=0H0^M) Sep 9 01:08:56 localhost chat[1706]: timeout set to 60 seconds Sep 9 01:08:56 localhost chat[1706]: expect (OK) Sep 9 01:08:56 localhost chat[1706]: ^M Sep 9 01:08:56 localhost chat[1706]: AT&C0&D2S0=0H0^M^M Sep 9 01:08:56 localhost chat[1706]: OK Sep 9 01:08:56 localhost chat[1706]: -- got it Sep 9 01:08:56 localhost chat[1706]: send (ATM1L1^M) Sep 9 01:08:56 localhost chat[1706]: expect (OK) Sep 9 01:08:56 localhost chat[1706]: ^M Sep 9 01:08:56 localhost chat[1706]: ATM1L1^M^M Sep 9 01:08:56 localhost chat[1706]: OK Sep 9 01:08:56 localhost chat[1706]: -- got it Sep 9 01:08:56 localhost chat[1706]: send (ATDP3812929^M) Sep 9 01:08:56 localhost chat[1706]: expect (CONNECT) Sep 9 01:08:56 localhost chat[1706]: ^M Sep 9 01:09:32 localhost chat[1706]: ATDP3812929^M^M Sep 9 01:09:32 localhost chat[1706]: CONNECT Sep 9 01:09:32 localhost chat[1706]: -- got it Sep 9 01:09:32 localhost chat[1706]: send (^M) Sep 9 01:09:32 localhost chat[1706]: expect (ogin:) Sep 9 01:09:32 localhost chat[1706]: 57600/V.90 34666/V42b^M Sep 9 01:09:34 localhost chat[1706]: ^M Sep 9 01:09:34 localhost chat[1706]: Sep 9 01:09:34 localhost last message repeated 23 times Sep 9 01:09:34 localhost chat[1706]: Welcome to Farlep! For tech support call 3858585^M Sep 9 01:09:34 localhost chat[1706]: ^M Sep 9 01:09:34 localhost chat[1706]: ^M Sep 9 01:09:34 localhost chat[1706]: Username: Login: Sep 9 01:09:34 localhost chat[1706]: -- got it Sep 9 01:09:34 localhost chat[1706]: send (mylogin^M) Sep 9 01:09:34 localhost chat[1706]: expect (word:) Sep 9 01:09:34 localhost chat[1706]: mylogin^M Sep 9 01:09:34 localhost chat[1706]: Password: Sep 9 01:09:34 localhost chat[1706]: -- got it Sep 9 01:09:34 localhost chat[1706]: send (mypassword^M) Sep 9 01:09:34 localhost pppd[1705]: Serial connection established. Sep 9 01:09:34 localhost pppd[1705]: using channel 4 Sep 9 01:09:34 localhost pppd[1705]: Using interface ppp0 Sep 9 01:09:34 localhost pppd[1705]: Connect: ppp0 <--> /dev/modem Sep 9 01:09:34 localhost pppd[1705]: rcvd [LCP ConfReq id=0x1 <mru 1524> <asyncmap 0xa0000> <pcomp> <accomp> <endpoint [MAC:00:c0:7b:9a:9f:26]>] Sep 9 01:09:34 localhost pppd[1705]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x9a0b323 8> <pcomp> <accomp>] Sep 9 01:09:34 localhost pppd[1705]: sent [LCP ConfAck id=0x1 <mru 1524> <asyncmap 0xa0000> <pcomp> <accomp> <endpoint [MAC:00:c0:7b:9a:9f:26]>] Sep 9 01:09:35 localhost pppd[1705]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x9a0b323 8> <pcomp> <accomp>] Sep 9 01:09:35 localhost pppd[1705]: sent [LCP EchoReq id=0x0 magic=0x9a0b3238] Sep 9 01:09:35 localhost pppd[1705]: cbcp_lowerup Sep 9 01:09:35 localhost pppd[1705]: want: 14 Sep 9 01:09:35 localhost pppd[1705]: cbcp_open Sep 9 01:09:35 localhost pppd[1705]: rcvd [CBCP Request id=0x1 < UserDefined delay = 0 number = >] 00 Sep 9 01:09:35 localhost pppd[1705]: length: 5 Sep 9 01:09:35 localhost pppd[1705]: user callback allowed Sep 9 01:09:35 localhost pppd[1705]: cbcp_resp cb_type=4 Sep 9 01:09:35 localhost pppd[1705]: cbcp_resp CONF_USER Sep 9 01:09:35 localhost pppd[1705]: sent [CBCP Response id=0x1 < UserDefined delay = 5 number = 941449>] 39 34 31 34 34 39 00 Sep 9 01:09:35 localhost pppd[1705]: rcvd [LCP EchoRep id=0x0 magic=0x0] Sep 9 01:09:35 localhost pppd[1705]: rcvd [CBCP Ack id=0x1 < UserDefined delay = 5 number = 941449>] 39 34 31 34 34 39 00 Sep 9 01:09:35 localhost pppd[1705]: peer will call: 941449 Sep 9 01:09:35 localhost pppd[1705]: sent [LCP TermReq id=0x2 "Call me back, please"] Sep 9 01:09:35 localhost pppd[1705]: rcvd [LCP TermAck id=0x2] Sep 9 01:09:35 localhost pppd[1705]: Connection terminated. Sep 9 01:09:36 localhost pppd[1705]: Exit. Sep 9 01:09:36 localhost pppd[1709]: pppd 2.4.1 started by ruslan, uid 0 Sep 9 01:09:37 localhost chat[1710]: timeout set to 180 seconds Sep 9 01:09:37 localhost chat[1710]: abort on (\nVOICE\r) Sep 9 01:09:37 localhost chat[1710]: expect (^JRING^M) Sep 9 01:09:37 localhost chat[1710]: ^M Sep 9 01:09:37 localhost chat[1710]: NO CARRIER^M Sep 9 01:09:50 localhost chat[1710]: ^M Sep 9 01:09:50 localhost chat[1710]: RING^M Sep 9 01:09:50 localhost chat[1710]: -- got it Sep 9 01:09:50 localhost chat[1710]: send (AT&C1A^M) Sep 9 01:09:50 localhost chat[1710]: expect (CONNECT) Sep 9 01:09:50 localhost chat[1710]: Sep 9 01:10:00 localhost CROND[1712]: (root) CMD ( /sbin/rmmod -as) Sep 9 01:10:04 localhost chat[1710]: AT&C1A^M^M Sep 9 01:10:04 localhost chat[1710]: CONNECT Sep 9 01:10:04 localhost chat[1710]: -- got it Sep 9 01:10:04 localhost pppd[1709]: Serial connection established. Sep 9 01:10:04 localhost pppd[1709]: using channel 5 Sep 9 01:10:04 localhost pppd[1709]: Using interface ppp0 Sep 9 01:10:04 localhost pppd[1709]: Connect: ppp0 <--> /dev/modem Sep 9 01:10:05 localhost pppd[1709]: rcvd [LCP ConfReq id=0x1 <mru 1524> <asyncmap 0xa0000> <pcomp> <accomp> <endpoint [MAC:00:c0:7b:9a:9f:26]>] Sep 9 01:10:05 localhost pppd[1709]: sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <callback CBCP> <magic 0x5 bfb845e> <pcomp> <accomp>] Sep 9 01:10:05 localhost pppd[1709]: sent [LCP ConfAck id=0x1 <mru 1524> <asyncmap 0xa0000> <pcomp> <accomp> <endpoint [MAC:00:c0:7b:9a:9f:26]>] Sep 9 01:10:05 localhost pppd[1709]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <callback CBCP> <magic 0x5 bfb845e> <pcomp> <accomp>] Sep 9 01:10:05 localhost pppd[1709]: sent [LCP EchoReq id=0x0 magic=0x5bfb845e] Sep 9 01:10:05 localhost pppd[1709]: cbcp_lowerup Sep 9 01:10:05 localhost pppd[1709]: want: 14 Sep 9 01:10:05 localhost pppd[1709]: cbcp_open Sep 9 01:10:05 localhost pppd[1709]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 213.130.10.114>] Sep 9 01:10:05 localhost pppd[1709]: sent [IPCP TermAck id=0x1] Sep 9 01:10:05 localhost pppd[1709]: rcvd [CCP ConfReq id=0x1 < 11 06 00 01 01 03>] Sep 9 01:10:05 localhost pppd[1709]: sent [CCP TermAck id=0x1] Sep 9 01:10:05 localhost pppd[1709]: rcvd [LCP EchoRep id=0x0 magic=0x0] Sep 9 01:10:05 localhost pppd[1709]: rcvd [LCP TermReq id=0x2] Sep 9 01:10:05 localhost pppd[1709]: LCP terminated by peer Sep 9 01:10:05 localhost pppd[1709]: sent [LCP TermAck id=0x2] Sep 9 01:10:07 localhost pppd[1709]: Modem hangup Sep 9 01:10:07 localhost pppd[1709]: Connection terminated. Sep 9 01:10:11 localhost pppd[1709]: Terminating on signal 2. Sep 9 01:10:11 localhost pppd[1709]: Exit. Не знаю что делать. Помогите пожалуйста.

fokses
()

RSS подписка на новые темы