|
发表于 2003-10-10 09:36:21
|
显示全部楼层
你设置了协议和VPI,VCI的值了吗?我用的是pppoa拨号,下面是我的配置文件,你参考一下。
/etc/cxacru
[code:1]#
# Config file for Conexant AccessRunner
#
# Driver mode
DRIVER_MODE=1 # 1 = normal, 2 = debug, 3 = normal+max speed (without ask adsl status), 4 = debug+max speed (w
ithout ask adsl status)
# Protocol
PROTOCOL_MODE=2 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 3 = RFC1483/2684 bridged, 4 = PPP over E
thernet (pppoe)
# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH=""
# ADSL
# if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
# Values for OPEN_MODE are:
# 0 = auto selection, G.Handshake
# 1 = auto selection, T1.413
# 2 = G.Handshake
# 3 = ANSI T1.413
# 4 = ITU-T G.992.1 (G.DMT)
# 5 = ITU-T G.992.2 (G.LITE)
OPEN_MODE=
# ATM
VPI=0
VCI=35
# Specific for RFC1483/2684 routed/bridged
# if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS=
NETMASK=255.255.255.0
GATEWAY=[/code:1]
/etc/ppp/chap-secrets
[code:1]# Secrets for authentication using CHAP
# client server secret IP addresses
"*****" * "*****" *[/code:1]
/etc/ppp/pap-secrets
[code:1]# Secrets for authentication using PAP
# client server secret IP addresses
"*****" * "*****" *[/code:1]
/etc/ppp/options
[code:1]lock
defaultroute
noipdefault
noauth
usepeerdns
sync
holdoff 4
persist
maxfail 25
passive
asyncmap 0
lcp-echo-interval 2
lcp-echo-failure 7
name hujian
user hujian
plugin /usr/lib/pppd/plugins/pppoatm.so
0.35[/code:1]
/etc/resolv.conf
[code:1]nameserver 202.99.192.66
nameserver 202.99.192.68[/code:1] |
|