1.РРР завершается до прихода входящего звонка , либо звонка вообще нет.
ppp.conf
default:
allow user vova
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
set device /dev/cuaa0
set speed 57600
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 150 \
\"\" AT OK-AT-OK ATE1Q0 OK AT+MS=12,1,28000,56000 OK \\dATDP\\T TIMEOUT 200 CONNECT"
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
set timeout 180
enable dns
add default HISADDR
tel:
set phone 5361500
set authname *****
set authkey *****
set timeout 300
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
optimag:
load tel
enable pap
set callback auth E.164 "p5654251"
#set cbcp "p5654251"
ppp.log
Aug 22 19:01:54 vovastepanov ppp[874]: Phase: Using interface: tun0
Aug 22 19:01:54 vovastepanov ppp[874]: Phase: deflink: Created in closed state
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: default: set device /dev/cuaa0
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: default: set speed 57600
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 150 "" AT OK-AT-OK ATE1Q0 OK AT+MS=12,1,28000,56000 OK \dATDP\T TIMEOUT 200 CONNECT
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: default: set timeout 180
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: default: enable dns
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: default: add default HISADDR
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: optimag: load tel
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: tel: set phone 5361500
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: tel: set authname _kp98077
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: tel: set authkey ********
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: tel: set timeout 300
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: tel: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: optimag: enable pap
Aug 22 19:01:54 vovastepanov ppp[874]: tun0: Command: optimag: set callback auth E.164 p5654251
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Phase: PPP Started (background mode).
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Phase: bundle: Establish
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Phase: deflink: closed -> opening
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Phase: deflink: Connected!
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Phase: deflink: opening -> dial
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Phone: 5361500
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: deflink: Dial attempt 1 of 1
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Send: AT^M
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Expect(150): OK
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Received: AT^M^M
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Received: OK^M
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Send: ATE1Q0^M
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Expect(150): OK
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Received: ATE1Q0^M^M
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Received: OK^M
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Send: AT+MS=12,1,28000,56000^M
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Expect(150): OK
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Received: AT+MS=12,1,28000,56000^M^M
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Received: OK^M
Aug 22 19:01:54 vovastepanov ppp[875]: tun0: Chat: Send: ATDP5361500^M
Aug 22 19:01:56 vovastepanov ppp[875]: tun0: Chat: Expect(200): CONNECT
Aug 22 19:02:23 vovastepanov ppp[875]: tun0: Chat: Received: ATDP5361500^M^M
Aug 22 19:02:23 vovastepanov ppp[875]: tun0: Chat: Received: CARRIER 48000^M
Aug 22 19:02:23 vovastepanov ppp[875]: tun0: Chat: Received: ^M
Aug 22 19:02:23 vovastepanov ppp[875]: tun0: Chat: Received: PROTOCOL: LAP-M^M
Aug 22 19:02:23 vovastepanov ppp[875]: tun0: Chat: Received: ^M
Aug 22 19:02:23 vovastepanov ppp[875]: tun0: Chat: Received: COMPRESSION: V.42BIS^M
Aug 22 19:02:23 vovastepanov ppp[875]: tun0: Chat: Received: ^M
Aug 22 19:02:23 vovastepanov ppp[875]: tun0: Chat: Received: CONNECT 48000^M
Aug 22 19:02:23 vovastepanov ppp[875]: tun0: Phase: deflink: dial -> carrier
Aug 22 19:02:24 vovastepanov ppp[875]: tun0: Phase: deflink: /dev/cuaa0: CD detected
Aug 22 19:02:24 vovastepanov ppp[875]: tun0: Phase: deflink: carrier -> login
Aug 22 19:02:24 vovastepanov ppp[875]: tun0: Phase: deflink: login -> lcp
Aug 22 19:02:24 vovastepanov ppp[875]: tun0: LCP: FSM: Using "deflink" as a transport
Aug 22 19:02:24 vovastepanov ppp[875]: tun0: LCP: deflink: State change Initial --> Closed
Aug 22 19:02:24 vovastepanov ppp[875]: tun0: LCP: deflink: State change Closed --> Stopped
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: LayerStart
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: ACFCOMP[2]
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: PROTOCOMP[2]
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: ACCMAP[6] 0x00000000
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: MRU[4] 1500
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: MAGICNUM[6] 0x6e0fe212
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: CALLBACK[3] Auth
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: RecvConfigReq(19) state = Req-Sent
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: ACCMAP[6] 0x000a0000
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: MAGICNUM[6] 0x366e2241
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: PROTOCOMP[2]
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: ACFCOMP[2]
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: SendConfigAck(19) state = Req-Sent
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: ACCMAP[6] 0x000a0000
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: MAGICNUM[6] 0x366e2241
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: PROTOCOMP[2]
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: ACFCOMP[2]
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: ACFCOMP[2]
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: PROTOCOMP[2]
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: ACCMAP[6] 0x00000000
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: MRU[4] 1500
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: MAGICNUM[6] 0x6e0fe212
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: CALLBACK[3] Auth
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: LayerUp
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: deflink: SendIdent(0) state = Opened
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: MAGICNUM 6e0fe212
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: LCP: TEXT user-ppp 3.1 (built Jun 5 2003)
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: Phase: bundle: Authenticate
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: Phase: deflink: his = PAP, mine = PAP
Aug 22 19:02:25 vovastepanov ppp[875]: tun0: Phase: Pap Output: _kp98077 ********
Aug 22 19:02:26 vovastepanov ppp[875]: tun0: Phase: Pap Input: SUCCESS ()
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: deflink: Carrier lost
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: LCP: deflink: LayerDown
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: LCP: deflink: State change Opened --> Starting
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: LCP: deflink: LayerFinish
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: LCP: deflink: State change Starting --> Initial
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: deflink: Disconnected!
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: deflink: lcp -> logout
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: deflink: Disconnected!
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: deflink: logout -> hangup
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: deflink: Connect time: 171 secs: 132 octets in, 198 octets out
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: deflink: 4 packets in, 4 packets out
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: total 1 bytes/sec, peak 65 bytes/sec on Sun Aug 22 19:02:26 2004
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: deflink: hangup -> closed
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: bundle: Dead
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Phase: PPP Terminated (normal).
Aug 22 19:04:45 vovastepanov ppp[874]: tun0: Phase: Parent: Child failed (errdead)
Aug 22 19:04:45 vovastepanov ppp[875]: tun0: Chat: Parent notified of failure
2. PPP работает только под рутом, под моим юзером не запускается, в рутовской консоли ошибка типа,точно не помню,!uSid.
Я в группах wheel , network ,dialup.