|
最近在琢磨BELL CDMA PRE上网的问题,发现下面这个文件好象和B版的PRE的EVDO有关,请会linux代码并会写号的朋友看看- # /etc/ppp/options-cdma
# w y$ t7 R1 s2 n0 `0 e - #
% | U3 s$ Y8 v7 h4 c' o& q1 s5 h& w
, `/ d% r& b2 n9 ~2 k2 g+ w3 u, _- # Run the executable or shell command specified after pppd has$ P M; i8 U% L7 u y4 w
- # terminated the link. This script could, for example, issue commands
" S: q3 y) [* Q1 E$ i4 G6 D - # to the modem to cause it to hang up if hardware modem control signals4 B/ x: R3 k9 ]2 L" ^
- # were not available.2 E. ]7 o3 W/ e+ I
- connect /etc/chatscripts/connect.chat. o# o% ]9 j- I& X7 E9 j
- #disconnect "chat -- \d+++\d\c OK ath0 OK". q* |) I: R M
4 y. d- C" X2 E4 {( J$ B" n b8 V- # Specifies that pppd should use a UUCP-style lock on the serial device8 x; m# F2 a- g3 j4 B- H+ R; X ^
- # to ensure exclusive access to the device.
) b% t" L, c4 D8 X. n# D - lock* ]2 L3 }; I; F! Y: k
1 ~/ W& L5 G- e2 l7 @3 X0 }* E9 ?- # Don't fork to become a background process (otherwise pppd will do so- N C$ \8 Q# P9 C# x, Q. P
- # if a serial device is specified).
2 T$ a0 z* r4 e6 |1 ^- _0 U* M$ @ - #-detach* h9 I3 W% [- t* |- L
4 F2 P: |: s- a- # Increase debugging level (same as -d). If this option is given, pppd
1 x1 B5 m& ?1 B- C6 r4 }, a - # will log the contents of all control packets sent or received in a
/ x2 R0 `# w' Q- V3 J8 _' ]/ H - # readable form. The packets are logged through syslog with facility2 H. Q1 f; Y7 f1 q8 p4 H2 S
- # daemon and level debug. This information can be directed to a file by
1 C1 i1 D6 ?/ F - # setting up /etc/syslog.conf appropriately (see syslog.conf(5)). (If7 M |! \" i( ]" d$ g- S
- # pppd is compiled with extra debugging enabled, it will log messages
% `$ D$ n. s6 O. l) F - # using facility local2 instead of daemon).1 D' a6 u7 l& \; \
- debug
+ w( M: R5 I" b* N6 v" {" H
4 Y* {& x/ V& P' n* }* A- # ppp plugin( M, B5 N3 R3 d- q
- plugin /usr/lib/libPmWanPppPlugin.so
0 p" t, r5 u! k' k0 Q/ ?4 u. J
8 M. o$ M& y! ~; S( _- # password) `/ o. \' K; e5 _9 f
- password palm-cdma
w t6 e# F& o1 P k' d5 Q% p
+ |5 X$ m7 k. g' W- F- # route) d# ?9 `5 H& r( k, R
- nodefaultroute# F8 o& T* m! P) |8 V W
- 9 E# g9 K% I% d. U/ ]
- # dns server(s)
1 L: i& h2 Z3 S; G, g3 b - usepeerdns
. b: v N1 P& `( b. P) @- S) G
; M. [8 z4 c$ {- # Multilink endpoint8 ] d( M/ v' U2 d- K5 n" P
- noendpoint* z* X" s9 T; q7 }& R! r7 g5 t
8 P1 S% @) u# t) Q, G; C- # delay between CHAT completion and the first LCP packet sending
# b4 y5 @% A2 o% x- Z. ~' Z - connect-delay 102 u; w; Y5 D& Z7 E
/ I$ e1 }. |9 M& @- u5 P, J- lcp-restart 10$ p' J; K2 G* w$ ?& w* g- R
$ i$ [% V1 q- B0 A" u1 [' J- # dispose connect logs to /etc/ppp/connect-errors 2 h4 z4 f1 W5 p# K& Q2 s0 ~
- logfile /dev/null) K: g k1 l/ z9 |
! u! d2 w m" c/ l7 R# y- # ---<End of File>---
复制代码 |
|