很菜的关于CDMA拨号的请教
/usr/sbin/.ppp-on服务器
/usr/sbin/ppp-off . .
/e.tc/ppp/ppp-on-dialer.
都配了且具有可执行属性
运行ppp-on 后无法接入.网络。.
在/var/log/messages.里记录如下:外贸
Jan 17 11:28:55 Bluesky kern.el: CSLIP: code copyright 1989 Regent..s of the University of California 乙肝
Jan .17 11:28:55 Blu.esky kernel: PPP generic driver version 2.4.2 女人
Jan .17 11:28:55 Bluesky pppd[2180]: .pppd 2.4.1 started by root, uid 0.
Jan 17 11:28:56 Bluesky chat[2181]: timeout .se.t to 3 seconds 电子
Jan 17 11:28:56 Bluesky chat[2181]: abort on (\.nBUSY\r). 电子
Jan 17 11:28:56 Bl.uesky chat[2181.]: abort on (\nNO ANSWER\r).
J.an 17 11:28:56 Bluesky cha.t[2181]: abort on (\nRINGING\r\n\r\nRINGING\r)
Jan 17 11:28:56 Bluesk.y chat[2181]: send (rAT^M). 健康
Jan 17 11:28:56 .Bluesky c.hat[2181]: expect (OK)电脑
Jan 17 11:28:.59 Blue.sky chat[2181]: alarm.
Jan 17 11:28.:59 Bluesky chat[218.1]: send (+++)
Jan 17 1.1:28:59 Bluesky chat[2181]: expect (O.K)--- 印刷
Jan 17 11:29:02 Bl.uesky chat[2181.]: alarm 电子
Jan 17 1.1:29:02 Bluesky chat[21.81]: Failed虚拟主机
Jan 17 11:.29:02 Bluesky ppp.d[2180]: Connect script failed.
Jan 17 11:29:03 Bluesky pppd[218.0]: Exit.. 婚庆
ppp-on 文件如下:
!/bin/sh
#
# Script to initiate a ppp connec.tion. This is the fir.st part of the--------------彩票
# pair of scripts. This is no.t a secure pair of sc.ripts as the codes域名
# are visible with. the 'ps' command. However, it is .simple.教育
#
# The.se are. the parameters. Change as needed.投资
TELE.PHONE=#777 .# The telephone number for the connection(广告)
ACCOUNT=**** (隐去) . # The account name for logon (as in .'.George Burns')电影
PASSWORD=****(隐去) . . . # The password for this account (and 'Gracie Allen').
L.OCAL_IP=0.0.0.0 # Local IP address if known. Dynamic =. 0.0.0.0服务器
REMOTE_IP=0.0.0.0 # Remote. IP address if desired. Normally 0.0.0.0. 婚庆
N.ETMASK=255.255.255.0 # The proper n.etmask if needed服务器
#
# Export them so .that they wil.l be available at 'ppp-on-dialer' time..
export TELEPHONE .A.CCOUNT PASSWORD 乙肝
#
# This is the location of the. sc.ript which dials the phone and logs--------------彩票
# i.n. Please use t.he absolute file name as the $PATH variable is not.
# used on the connect option. .(To d.o so on a 'root' account would be 健康
# a .security hole so don't as.k.).
#
DIALER_SCRIPT=/etc/.ppp/ppp-o.n-dialer
#
# Initiate the connect.ion 鲜花
#
# I put most of the common opt.ions on this command. Pl.ease, don't.
# forget the 'loc.k' option or .some programs such as mgetty will not电影
# work. The asyncmap a.nd escape .will permit the PPP link to work with 杀毒
# a telnet or rlogin connection. You are welcom..e to make any changes 杀毒
# as desired. Don't .use .the 'defaultroute' option if you currently.
# have a default rout.e .to an ethernet gateway. 健康
#
exec. /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400\.电脑
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IPREMOTE_IP \http://upload.bbs.csuboy.com/Mon_1004/126_6830_00bc4ff17adaaa0.gif[/img]学习
noipdefault netmask $NETMASK de.faultroute c.onnect $DIALER_SCRIPT.
ppp-o.n-dialer如下:虚拟主机
#!/bin/sh
#
# This is part 2 of t.he pp.p-on script. It will perform the connection电影
# protocol for the. des.ired connection.投资
#
exec chat -v . . \ 鲜花
TIMEOUT 3 . . \ 杀毒
ABORT '\nBUSY\r' . . \健康
ABORT . '\nNO ANSWER\r' . \.
ABORT. '.\nRINGING\r\n\r\nRINGING\r' \ 美容
'' \rAT . . \ 健康
'OK-+++\c-OK' ATH0 . .\--------------彩票
.TIMEOUT 30 . \ 鲜花
OK . ATDT$TELEPHONE . \.
.CONNECT '' . \ 杀毒
. ogin:--ogin: $ACCOU.NT \服务器
assw.or.d: $PASSWORD.
联通接入号码是#777
我怀疑是/u.sr/sbin/ppp-on中 TELEPHON.E=#777 的"#"号把接入号码当成注释了~~请问是这样吗?如果是怎样解决.~~希望高手给予指点,谢谢 汽车