|
最近在琢磨BELL CDMA PRE上网的问题,发现下面这个文件好象和B版的PRE的EVDO有关,请会linux代码并会写号的朋友看看- # /etc/ppp/options-cdma
2 t2 q+ X3 S: N2 V! b8 G7 ~ - #
# Y3 Y7 C) j2 K - ( i( ^7 i% m' E
- # Run the executable or shell command specified after pppd has
! W) {4 x$ j7 r - # terminated the link. This script could, for example, issue commands9 m8 s, E; \: J1 P1 \: r4 B
- # to the modem to cause it to hang up if hardware modem control signals
( m) \" k" J6 K; m: a - # were not available.7 `! v2 @% B, v2 r
- connect /etc/chatscripts/connect.chat- B }( ?+ F1 o8 s1 s; \% \2 \, D% ^. m( @
- #disconnect "chat -- \d+++\d\c OK ath0 OK"
, Z& v4 U+ H: F; l7 ]7 S5 C - 5 R6 S; B3 ^' Q9 @$ r* |2 ?/ e
- # Specifies that pppd should use a UUCP-style lock on the serial device
4 A( U& y9 l7 O! W; i+ T8 h) R - # to ensure exclusive access to the device.
D4 _0 I' k6 A: ?" c - lock" w, |' n" v4 o' m7 e- h: `
4 _* d/ {$ ~; w' k: I: H- # Don't fork to become a background process (otherwise pppd will do so
( ]) H+ a* N+ k/ m! I - # if a serial device is specified).9 L, [' e1 X! J% R9 K) z: g
- #-detach9 h% A! t4 X( ^% H j& g
- ) }' ^8 d H! b3 P6 M2 ~
- # Increase debugging level (same as -d). If this option is given, pppd
7 O- V9 r q5 Q' }: k - # will log the contents of all control packets sent or received in a
+ j& Z6 U( I- Z+ R. W1 z% I - # readable form. The packets are logged through syslog with facility
$ x: W7 ]( K8 H L+ u- F) K - # daemon and level debug. This information can be directed to a file by
8 y. e5 }" c( A# K8 e' h) p u - # setting up /etc/syslog.conf appropriately (see syslog.conf(5)). (If- P4 B" b4 b5 Y; [& s; n D
- # pppd is compiled with extra debugging enabled, it will log messages
- C: G# t+ f/ e6 w - # using facility local2 instead of daemon).
$ ?: l, C& P8 C+ ` - debug
@; i" r5 \( J0 A& U
# y3 J+ A3 f* h, z( I; G- # ppp plugin
& x L: L. C( Q) }/ @ - plugin /usr/lib/libPmWanPppPlugin.so
6 W( I4 g! y+ W5 h
$ y3 A0 |7 Q V, X( i3 }; n7 I+ f1 [) b- # password
/ Q5 |8 o$ Q+ p" R; f8 O, [% a - password palm-cdma
1 X) e0 ?* U6 w% f) l
2 j# v0 } {0 o, f1 c- # route* T" C6 }* {% Y @
- nodefaultroute
: a x7 i" v1 h; {- n8 S- a+ ^ - 3 E$ L. |9 _/ J1 m) t; @6 K. {$ a
- # dns server(s)( `5 {5 K3 K9 q: D K6 s
- usepeerdns+ k4 T) f& L$ J: |3 B
- : w$ [) M D0 G. u j6 S
- # Multilink endpoint
( f1 e1 v% j3 r, D! k7 @ - noendpoint: D$ T. x; G% |" Z& `
- f& N& g; S3 V* d# {- n& I' z
- # delay between CHAT completion and the first LCP packet sending1 h* n* f( p& I8 H8 Q
- connect-delay 106 v+ v( G2 C- @) K" o$ x( V
, }8 {3 Q8 W2 y5 a0 ?# I- lcp-restart 10) q* j% s, O4 S$ K$ z; N: U
- 5 ]# T; z" M2 p- f3 S, P, v4 z
- # dispose connect logs to /etc/ppp/connect-errors / n5 M" J3 u+ |5 V' P
- logfile /dev/null% V0 J" N8 ?' }8 y
- # \! l: J" y V# P4 U
- # ---<End of File>---
复制代码 |
|