|
vmware中rh9cdma拨号上网,ppp版本为2.4.2 .ppp-on脚本内容
[code:1]
#!/bin/sh
#
# These are the parameters. Change as needed.
TELEPHONE="#777" # The telephone number for the connection
ACCOUNT=CARD # The account name for logon (as in 'George Burns')
PASSWORD=CARD # The password for this account (and 'Gracie Allen')
LOCAL_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
NETMASK=255.255.255.0 # The proper netmask if needed
#
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
#
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
# Initiate the connection
#
exec /usr/sbin/pppd debug lock modem nocrtscts /dev/ttyS0 115200 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT[/code:1]
每次执行后,出现: defaultroute option is disabled
这样的错误提示
而, redhat-config-network中的ppp0设备也激活不了,错误提示也是 :defaultroute option is disabled
还有,使用linux下自带工具kppp拨号,也出现同样的错误信息.
希望有过此经验的朋友和大侠帮忙分析下,不甚感激~ |
|