gczh_1006 发表于 2006-11-1 13:42:16

拨号上网,ppp0启动不了

vmware中rh9cdma拨号上网,ppp版本为2.4.2 .ppp-on脚本内容

#!/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 modemnocrtscts /dev/ttyS0 115200 \
        asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
        noipdefault netmask $NETMASKdefaultroute connect $DIALER_SCRIPT
每次执行后,出现: defaultroute option is disabled
这样的错误提示
而, redhat-config-network中的ppp0设备也激活不了,错误提示也是 :defaultroute option is disabled
还有,使用linux下自带工具kppp拨号,也出现同样的错误信息.

希望有过此经验的朋友和大侠帮忙分析下,不甚感激~

hillwood 发表于 2006-11-1 17:03:36

可能是因为虚拟机的原因。

gczh_1006 发表于 2006-11-2 15:01:05

谢谢您的回答

可能是因为虚拟机的原因。

具体怎么讲?可否能更清晰的讲述您的想法?

hillwood 发表于 2006-11-2 17:55:09

一般来说,虚拟机是不能把真实的硬件虚拟进去,否则就不叫虚拟机了。
页: [1]
查看完整版本: 拨号上网,ppp0启动不了