Состряпал вот такое в ppp.conf
Код: Выделить всё
rfcomm-dialup:
enable force-scripts
disable ipv6
disable ipv6cp
disable mppe
enable lqr
set dial "ABORT BUSY \"\" ATE1 OK AT+CGDCONT=1,\\\"IP\\\",\\\"www.umc.ua\\\" OK ATD*99***1# CONNECT"
disable acfcomp
disable protocomp
disable vjcomp
disable pred1
disable deflate
set authname
set authkey
set ifaddr 0 0
add !default HISADDR
Код: Выделить всё
rfcomm_pppd -a pda -c -C dun -l rfcomm-dialup
Код: Выделить всё
Aug 22 15:21:58 amokk ppp[19333]: Phase: Using interface: tun0
Aug 22 15:21:58 amokk ppp[19333]: Phase: deflink: Created in closed state
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: enable force-scripts
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable ipv6
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable ipv6cp
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable mppe
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: enable lqr
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: set dial ABORT BUSY "" ATE1 OK AT+CGDCONT=1,\"IP\",\"www.umc.ua\" OK ATD*99***1# CONNECT
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable acfcomp
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable protocomp
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable vjcomp
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable pred1
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable deflate
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: set authname
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: set authkey
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: set ifaddr 0 0
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: PPP Started (direct mode).
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: bundle: Establish
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: deflink: closed -> opening
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: deflink: Connected!
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: deflink: opening -> dial
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: deflink: Dial attempt 1 of 1
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Send: ATE1^M
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Expect(30): OK
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Received: ^M
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Received: OK^M
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Send: AT+CGDCONT=1,"IP","www.umc.ua"^M
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Expect(30): OK
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Received: AT+CGDCONT=1,"IP","www.umc.ua"^M^M
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Received: OK^M
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Send: ATD*99***1#^M
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Expect(30): CONNECT
Aug 22 15:22:12 amokk ppp[19333]: tun0: Chat: Received: ATD*99***1#^M^M
Aug 22 15:22:12 amokk ppp[19333]: tun0: Chat: Received: CONNECT^M
Aug 22 15:22:12 amokk ppp[19333]: tun0: Phase: deflink: dial -> carrier
Aug 22 15:22:12 amokk ppp[19333]: tun0: Phase: deflink: carrier -> login
Aug 22 15:22:12 amokk ppp[19333]: tun0: Phase: deflink: login -> lcp
Aug 22 15:22:12 amokk ppp[19333]: tun0: LCP: FSM: Using "deflink" as a transport
Aug 22 15:22:12 amokk ppp[19333]: tun0: LCP: deflink: State change Initial --> Closed
Aug 22 15:22:12 amokk ppp[19333]: tun0: LCP: deflink: State change Closed --> Stopped
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: LayerStart
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: ACCMAP[6] 0x00000000
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MRU[4] 1500
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MAGICNUM[6] 0x13e5f37e
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: ACCMAP[6] 0x00000000
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MAGICNUM[6] 0x7e809f64
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: PROTOCOMP[2]
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: ACFCOMP[2]
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendConfigAck(1) state = Req-Sent
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: ACCMAP[6] 0x00000000
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MAGICNUM[6] 0x7e809f64
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: PROTOCOMP[2]
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: ACFCOMP[2]
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendIdent(0) state = Ack-Sent
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MAGICNUM 13e5f37e
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: ACCMAP[6] 0x00000000
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MRU[4] 1500
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MAGICNUM[6] 0x13e5f37e
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvCodeRej(2) state = Ack-Sent
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: ACCMAP[6] 0x00000000
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MRU[4] 1500
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MAGICNUM[6] 0x13e5f37e
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: LayerUp
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendIdent(1) state = Opened
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: MAGICNUM 13e5f37e
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: bundle: Authenticate
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: deflink: his = PAP, mine = none
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: Pap Output: ********
Aug 22 15:22:13 amokk ppp[19333]: tun0: Warning: Sending empty PAP authname!
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvCodeRej(3) state = Opened
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: Pap Input: SUCCESS ()
Aug 22 15:22:13 amokk ppp[19333]: tun0: CCP: FSM: Using "deflink" as a transport
Aug 22 15:22:13 amokk ppp[19333]: tun0: CCP: deflink: State change Initial --> Closed
Aug 22 15:22:13 amokk ppp[19333]: tun0: CCP: deflink: State change Closed --> Stopped
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: deflink: lcp -> open
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: bundle: Network
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: FSM: Using "deflink" as a transport
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: deflink: State change Initial --> Closed
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: deflink: LayerStart.
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: IPADDR[6] 0.0.0.0
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: IPADDR[6] changing address: 0.0.0.0 --> 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: LayerUp.
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: myaddr 88.214.79.47 hisaddr = 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: Warning: ff02:5::/32: Change route failed: errno: Network is unreachable
Aug 22 15:22:20 amokk ppp[19333]: tun0: LCP: deflink: RecvTerminateAck(1), dropped (expected 3)