|
原帖由 xxrake 于 2009-7-4 10:11 发表
2 g& m0 H3 g8 H) t9 n呵呵,正在看……
! M* A% @ M, r& @( b有心栽花花不活,无意插柳柳成荫$ D5 r1 i) U( [& R
P6 Y* p: R/ e0 a+ u看到有回帖说,已经顺利用pppd拨号上网成功…………说明EV也已经很近
0 K1 ` ?8 I4 K8 n' X0 n- j
3 e. n% M; \2 e+ E看到mobile file上dmac99的script和进展了,pppd连接成功,可以直接下wget,然而浏览器和需使用网络的地图则无法使用~
9 g5 ]# U. b4 U% s1 v2 u, a% H% Q! b) g( N$ M0 P9 F, L3 G
离Pre Jailbreak越来越近了啊~ 哈哈- # /etc/ppp/peers/provider2 q( x+ C3 Y& O' w: u" j
- /dev/tts/modem0
0 Y; K* n* W' h7 b/ m, ` - 115200 [/ d# f) w/ f. d
- connect '/usr/sbin/chat -vE -t 60 -f /etc/chatscripts/provider.chat'
6 v2 B, c. y e4 W - lock
2 D) a5 y) _2 F1 I# ` - debug3 s* u+ Z' W2 w3 H+ S2 D0 Q
- 0 u3 A! I- [1 }% |8 I+ }
- # ppp plugin' A* g% | ~/ U0 L& F, |9 o# Q
- plugin /usr/lib/libPmWanPppPlugin.so
, {& j" i! Y& p* X5 | q - 5 R& z+ C5 _' W; [& f
- # ppp password for Smart Telecom (my local operator)
7 X9 {" D, O/ k - password smart) Q$ W/ s+ ?8 H. \
- user smart& Q* h3 b6 `% y F8 B# v/ h
- 1 I1 V3 V4 F. ]* M# P' A$ r5 M2 ], I
- nodefaultroute+ r1 J/ J9 a+ V# {! G; |
- usepeerdns; w5 P: X& b1 j% D0 X6 q- x* j) O5 H9 n* H
- noendpoint
% k; {% K# G2 v ?8 s - connect-delay 10
复制代码- # /etc/chatscripts/provider.chat# A) Y" }) L8 W; b
- ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' 5 K4 t" [' e! b( m, H) \
- ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
! j# w; l% A' ]) E. q! O - '' ATZ& P3 I! {# Z6 L3 R+ q3 U
- OK-AT-OK "ATDT#777"
, Q! B6 ] N5 R7 e! i$ M, l' L - CONNECT \d\c
' q. l" ~+ [3 Y5 e" f: k
复制代码 Following code is for automatically create & remove default gateway route- # /etc/ppp/ip-up.d/05setuproute/ S' O3 H4 `0 J: X( K0 N- ?0 |
- #!/bin/sh
: v$ Q7 C/ ^% M! g1 {5 m - 5 m! v1 e7 K U; F" s
- ROUTE=/sbin/route
- w6 o, Z+ T2 O8 r3 Q - $ROUTE add default gw $PPP_REMOTE
复制代码- # /etc/ppp/ip-down.d/95removeroute
/ u* P, i# c' k8 d4 q* I! |& @' A) z - #!/bin/sh$ J8 Z. N' l: N5 }6 c0 \, F L% ]0 i
- 4 v5 {, V2 ?+ R2 ^
- ROUTE=/sbin/route" i1 c% ]$ g# c% F4 u
- $ROUTE del default gw $PPP_REMOTE
复制代码command: pppd call provider: L$ @9 I. C/ P& F4 W: E
) Y, k( F" L6 N, KI double check NV value using QPST at M.IP tab
; S: e( a/ U) G$ h1 ^& ]/ v( _2 C c* h7 N' Z1 z
Next step,
/ Q; U' i! G2 h# ]+ R& O6 U2 {- find out how to make sure pppd always run$ K* W" I6 l4 Q. P
- notify the system that data connection is up |
|