QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1648|回复: 3

拨号上网,ppp0启动不了

[复制链接]
发表于 2006-11-1 13:42:16 | 显示全部楼层 |阅读模式
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拨号,也出现同样的错误信息.

希望有过此经验的朋友和大侠帮忙分析下,不甚感激~
发表于 2006-11-1 17:03:36 | 显示全部楼层
可能是因为虚拟机的原因。
回复

使用道具 举报

 楼主| 发表于 2006-11-2 15:01:05 | 显示全部楼层
谢谢您的回答

[quote:c9c2b67a5a="hillwood"]可能是因为虚拟机的原因。[/quote]

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

使用道具 举报

发表于 2006-11-2 17:55:09 | 显示全部楼层
一般来说,虚拟机是不能把真实的硬件虚拟进去,否则就不叫虚拟机了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-25 12:59 , Processed in 0.118465 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表