=========================================
default:
set log Phase Chat LCP IPCP CCP tun command
nat enable yes
nat same_port yes
nat use_sockets yes
set redial 15 28800
set reconnect 15 28800
set timeout 0 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
pppoe:
set device PPPoE:vr0
set mru 1492
set mru 1492
set speed sync
set lqrperiod 5
set cd 5
set dial
set login
set phone (Phone Number)
set authname (ADSL ID)
set authkey (ADSL Password)
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
delete ALL
add default HISADDR
=========================================
/etc/rc.conf
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="pppoe"
ppp_user="root"