Chinaunix

标题: 求解:PPP 拨号成功,但出现个警告! [打印本页]

作者: MY    时间: 2009-03-31 13:29
标题: 求解:PPP 拨号成功,但出现个警告!
ppp拨号后出现个警告,但可以连网:

WARNING:attempt to net_add_domain(netgraph) after domainfinalize()


不明白是什么意思,麻烦那位大哥给说明一下,错误出在哪儿?




以下是我的ppp.conf 配置
#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.10.18.1 2008/11/25 02:59:29 kensmith Exp $
#################################################################

default:
set log Phase tun
#ident user-ppp VERSION (built COMPILATIONDATE)

# Ensure that "device" references the correct serial port
# for your modem. (cuad0 = COM1, cuad1 = COM2)
#
#set device /dev/cuad1

#set speed 115200
#set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
#set timeout 180                        # 3 minute idle timer (the default)
enable dns                                # request DNS info (for resolv.conf)

#papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#

adsl:
set device PPPoE:le0
#set phone PHONE_NUM
set authname ******
set authkey ******
set dial
set login
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR                        # Add a (sticky) default route


rc.conf 我没有配置,我不想使用自动拨号
# -- sysinstall generated deltas -- # Mon Mar 23 22:13:57 2009
# Created: Mon Mar 23 22:13:57 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="MY.BSD.ORG"
ifconfig_le0="inet 110.110.110.111  netmask 255.0.0.0"
moused_enable="YES"

作者: MY    时间: 2009-04-01 17:38
我晕,不是吧,没人知道啊
作者: indian    时间: 2009-04-03 11:12
vm的真实主机,比如XP系统,一般都是局域网的机器。vmware虚拟机怎么用PPP拨号?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2