ppp0 не поднимается при CALLBACK
Используется PAP аутентификация с CALLBACK.
Мне удается дозвониться, и принять звонок. Аутентификация так же
проходит успешно, но после коннекта, по ifconfig не виден интерфэйс
ppp0. Почему он не подымается ?
Мои конфиги:
/etc/ppp/options
lock
defaultroute
noipdefault
modem
/dev/ttyS1
57600
crtscts
debug
usepeerdns
callback
passive
asyncmap 0
name "yuri"
ipcp-accept-local
ipcp-accept-remote
Скрипт дозвона /etc/ppp/dial
TIMEOUT 60
ABORT ERROR
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
"" ATS0=1M1L1 OK
"atdp3858880"
TIMEOUT 75
CONNECT
Скрипт приема звонка от прова /etc/ppp/wait
TIMEOUT 90
CONNECT "\c"
HANGUP 0N
ABORT "NO CARRIER"
ЛОГИ:
/var/log/messages
Apr 9 19:12:22 mirniy pppd[160]: Serial connection established.
Apr 9 19:12:22 mirniy pppd[160]: Using interface ppp0
Apr 9 19:12:22 mirniy pppd[160]: Connect: ppp0 <--> /dev/ttyS1
/var/log/debug
Apr 9 19:11:35 mirniy pppd[152]: using channel 2
Apr 9 19:11:36 mirniy pppd[152]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x41f798ec> <pcomp> <accomp>]
Apr 9 19:11:38 mirniy pppd[152]: rcvd [LCP ConfReq id=0x8c <asyncmap 0xa0000> <auth pap> <magic 0x10b2397c> <pcomp> <accomp>]
Apr 9 19:11:38 mirniy pppd[152]: sent [LCP ConfAck id=0x8c <asyncmap 0xa0000> <auth pap> <magic 0x10b2397c> <pcomp> <accomp>]
Apr 9 19:11:39 mirniy pppd[152]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x41f798ec> <pcomp> <accomp>]
Apr 9 19:11:42 mirniy pppd[152]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x41f798ec> <pcomp> <accomp>]
Apr 9 19:11:42 mirniy pppd[152]: rcvd [LCP ConfReq id=0x8d <asyncmap 0xa0000> <auth pap> <magic 0x10b248a9> <pcomp> <accomp>]
Apr 9 19:11:42 mirniy pppd[152]: sent [LCP ConfAck id=0x8d <asyncmap 0xa0000> <auth pap> <magic 0x10b248a9> <pcomp> <accomp>]
Apr 9 19:11:42 mirniy pppd[152]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x41f798ec> <pcomp> <accomp>]
Apr 9 19:11:42 mirniy pppd[152]: cbcp_lowerup
Apr 9 19:11:42 mirniy pppd[152]: want: 14
Apr 9 19:11:42 mirniy pppd[152]: sent [PAP AuthReq id=0x1 user="yuri" password=<hidden>]
Apr 9 19:11:42 mirniy pppd[152]: rcvd [PAP AuthAck id=0x1 ""]
Apr 9 19:11:42 mirniy pppd[152]: cbcp_open
Apr 9 19:11:42 mirniy pppd[152]: rcvd [CBCP Request id=0x4d < AdminDefined delay = 0>]
Apr 9 19:11:42 mirniy pppd[152]: length: 3
Apr 9 19:11:42 mirniy pppd[152]: user admin defined allowed
Apr 9 19:11:42 mirniy pppd[152]: cbcp_resp cb_type=8
Apr 9 19:11:42 mirniy pppd[152]: cbcp_resp CONF_ADMIN
Apr 9 19:11:42 mirniy pppd[152]: sent [CBCP Response id=0x4d < AdminDefined delay = 5>]
Apr 9 19:11:42 mirniy pppd[152]: rcvd [CBCP Ack id=0x4e < AdminDefined delay = 5>]
Apr 9 19:11:42 mirniy pppd[152]: id doesn't match: expected 77 recv 78
Apr 9 19:11:42 mirniy pppd[152]: sent [LCP TermReq id=0x2 "Call me back, please"]
Apr 9 19:11:42 mirniy pppd[152]: rcvd [LCP TermAck id=0x2]
Apr 9 19:12:22 mirniy pppd[160]: using channel 3
Apr 9 19:12:23 mirniy pppd[160]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x195283c2> <pcomp> <accomp>]
Apr 9 19:12:23 mirniy pppd[160]: rcvd [LCP ConfReq id=0x8e <asyncmap 0xa0000> <auth pap> <magic 0x10b2e92e> <pcomp> <accomp>]
Apr 9 19:12:23 mirniy pppd[160]: sent [LCP ConfAck id=0x8e <asyncmap 0xa0000> <auth pap> <magic 0x10b2e92e> <pcomp> <accomp>]
Apr 9 19:12:23 mirniy pppd[160]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x195283c2> <pcomp> <accomp>]
Apr 9 19:12:23 mirniy pppd[160]: cbcp_lowerup
Apr 9 19:12:23 mirniy pppd[160]: want: 14
Apr 9 19:12:23 mirniy pppd[160]: sent [PAP AuthReq id=0x1 user="yuri" password=<hidden>]
Apr 9 19:12:23 mirniy pppd[160]: rcvd [PAP AuthAck id=0x1 ""]
Apr 9 19:12:23 mirniy pppd[160]: cbcp_open
Apr 9 19:12:23 mirniy pppd[160]: rcvd [IPCP ConfReq id=0x74 <compress VJ 0f 00> <addr 193.178.236.135>]
Apr 9 19:12:23 mirniy pppd[160]: sent [IPCP TermAck id=0x74]
Apr 9 19:12:25 mirniy pppd[160]: rcvd [IPCP ConfReq id=0x75 <compress VJ 0f 00> <addr 193.178.236.135>]
Apr 9 19:12:25 mirniy pppd[160]: sent [IPCP TermAck id=0x75]
Apr 9 19:12:27 mirniy pppd[160]: rcvd [IPCP ConfReq id=0x76 <compress VJ 0f 00> <addr 193.178.236.135>]
Apr 9 19:12:27 mirniy pppd[160]: sent [IPCP TermAck id=0x76]
Apr 9 19:12:29 mirniy pppd[160]: rcvd [IPCP ConfReq id=0x77 <compress VJ 0f 00> <addr 193.178.236.135>]
Apr 9 19:12:29 mirniy pppd[160]: sent [IPCP TermAck id=0x77]
Apr 9 19:12:31 mirniy pppd[160]: rcvd [IPCP ConfReq id=0x78 <compress VJ 0f 00> <addr 193.178.236.135>]
Apr 9 19:12:31 mirniy pppd[160]: sent [IPCP TermAck id=0x78]
Apr 9 19:12:33 mirniy pppd[160]: rcvd [IPCP ConfReq id=0x79 <compress VJ 0f 00> <addr 193.178.236.135>]
Apr 9 19:12:33 mirniy pppd[160]: sent [IPCP TermAck id=0x79]
Apr 9 19:12:35 mirniy pppd[160]: rcvd [IPCP ConfReq id=0x7a <compress VJ 0f 00> <addr 193.178.236.135>]
Apr 9 19:12:35 mirniy pppd[160]: sent [IPCP TermAck id=0x7a]
Apr 9 19:12:37 mirniy pppd[160]: rcvd [IPCP ConfReq id=0x7b <compress VJ 0f 00> <addr 193.178.236.135>]
Apr 9 19:12:37 mirniy pppd[160]: sent [IPCP TermAck id=0x7b]