default:
set device /dev/cuaa0
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set speed 115200
set ctsrts on
set server /var/run/ppp_tun%d foobar
set urgent tcp 21 22
set urgent udp 27010 27011 27012 27013 27014 27015 27016 27017 27018 27019 27020 27960
internode:
set device PPPoE:fxp0
nat enable yes
nat deny_incoming no
accept pap
disable chap
enable lqr
enable dns
set cd 5
set dial
set login
set redial 5 0
set authname username
set authkey password
add default HISADDR
Note I have NAT enabled, and I am allowing incoming connections,
this may not suit you.
To start this automatically at boot add the following to /etc/rc.conf
ppp_enable="YES" ppp_mode="ddial" ppp_profile="internode"I have also written a Perl script which queries the usage meter which is available from here.