#################################################################
# PPP Configuration File
#
# $FreeBSD: /etc/ppp/ppp.conf
#################################################################
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuad0 = COM1, cuad1 = COM2)
#
#set speed sync
#set ctsrts off
#set timeout 30 # 0.5 minute idle timer
#disable lqr
#deny lqr
#add default HISADDR
#set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
kuandai:
set device PPPoE:fxp0
set authname 413014010
set authkey gfd123
set mru 1492
set mtu 1492
set dial
set login
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
nat enable yes
add default HISADDR # Add a (sticky) default route
再运行:
#echo "nameserver 211.103.158.182" > /etc/resolv.conf
阅读(1855) | 评论(0) | 转发(0) |