|
原帖由 xxrake 于 2009-7-4 10:11 发表 0 c+ s% _" o( e
呵呵,正在看……3 X, z5 Q# j& y; K& N+ L1 P J
有心栽花花不活,无意插柳柳成荫* J* w) s$ l: X& r% v
/ y* z8 r8 V7 N* `' Z% x( l% `看到有回帖说,已经顺利用pppd拨号上网成功…………说明EV也已经很近
; d4 W' w7 R0 G/ b& k- U, d: H4 c! j! V. o' h
看到mobile file上dmac99的script和进展了,pppd连接成功,可以直接下wget,然而浏览器和需使用网络的地图则无法使用~9 Q' U5 D) m8 y8 {' A
' D% X% F- g v9 I# H0 }
离Pre Jailbreak越来越近了啊~ 哈哈- # /etc/ppp/peers/provider" h$ b2 ? t A: z0 P- C2 l
- /dev/tts/modem0 _; Y8 J0 r7 l! V( l
- 1152005 `; t5 a7 q- C- B/ }
- connect '/usr/sbin/chat -vE -t 60 -f /etc/chatscripts/provider.chat'* P- ^) p/ f! b' h- c
- lock
2 z# V9 {. j" Q; c% D: P/ ] - debug
3 F3 c8 S+ Q7 L6 S5 I) H& ]
/ t/ l, ~: J# s4 R0 @5 `! n- # ppp plugin
* K& m, Z) z6 K a8 m/ X6 J. y1 t - plugin /usr/lib/libPmWanPppPlugin.so1 b6 T) U* A' ]! Q0 R" p, @
1 k4 h# w. O' }' u) a: Z) y- # ppp password for Smart Telecom (my local operator)
) j; H, ^4 {9 G5 ^ - password smart
4 w0 T! ^, G# ^+ ?8 K9 H7 R - user smart3 z4 S' C. U1 K9 g2 m
& a8 }7 z K0 U- nodefaultroute( d) K$ i5 M: l7 |: x$ z% I K) p3 B
- usepeerdns
2 d" L% D$ d$ @7 @" q, K S4 O - noendpoint2 e) f$ [- k# S4 g, b3 i
- connect-delay 10
复制代码- # /etc/chatscripts/provider.chat
9 m" x* E: S5 Q6 @, P - ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE'
9 c6 J( n' C! i+ u - ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED2 I. D! j7 @" C+ q+ E" M
- '' ATZ% r5 s* h' a0 G7 t1 [ [9 d
- OK-AT-OK "ATDT#777"
" z) j6 B% H% m/ ` - CONNECT \d\c
; Z* ~: T; O7 E! y6 R4 f
复制代码 Following code is for automatically create & remove default gateway route- # /etc/ppp/ip-up.d/05setuproute
2 n2 t% Z* z! N r% h - #!/bin/sh
+ g( w( g y0 E. C! @
1 K! b4 h% P+ u1 F( ^7 X- ROUTE=/sbin/route( ^% @5 @" T' b% W3 n
- $ROUTE add default gw $PPP_REMOTE
复制代码- # /etc/ppp/ip-down.d/95removeroute
3 f+ s5 A* H" Z - #!/bin/sh: a* d" d! j% d$ ^* R+ ?
: j" y/ _. m* M5 V5 E- ROUTE=/sbin/route5 b d: |) A, g9 }4 J
- $ROUTE del default gw $PPP_REMOTE
复制代码command: pppd call provider
% d. O1 v( p/ l% i$ n& v9 ~2 L1 x$ n
8 U y% u6 @. W' xI double check NV value using QPST at M.IP tab1 u0 D2 c7 R3 D" \' o# V
/ S, t p h$ q$ b# K) g' H4 V
Next step, m1 d3 ?+ i7 P5 p; e
- find out how to make sure pppd always run0 ]$ v. i8 G4 P, S. D* b
- notify the system that data connection is up |
|