On Friday 28 November 2003 22:13, David Gethings wrote:
> On Fri, 2003-11-28 at 13:11, Jason Stubbs wrote:
> > On Friday 28 November 2003 22:03, Simon Cahuk wrote:
> > > How must I start pppd for using it for on-demand dialing?
> >
> > I don't know what capi is but all your basic options are
> > in /etc/conf.d/net.ppp0. After that just run "rc-update add net.ppp0
> > default; /etc/init.d/net.ppp0 start"
>
> Does that include the 'demand' option? If so cool! If not then you will
> need to add that to your pppd config.
It includes almost everything:
PEER="AirH"
DEBUG="no"
PERSIST="yes"
ONDEMAND="no"
MODEMPORT="/dev/ttyS1"
LINESPEED="115200"
INITSTRING=""
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="yes"
PPPOPTIONS="updetach holdoff 1"
USERNAME="#"
PASSWORD="#"
NUMBER="#"
REMIP=""
NETMASK=""
IPADDR=""
MRU="1500"
MTU="1500"
RETRYTIMEOUT="2"
IDLETIMEOUT="600"
PEERDNS="no"
FWSCRIPT="/etc/init.d/firewall"
AUTOCFGFILES="yes"
That's my config for an always connected session. The config file has heaps of
comments and it's pretty hard to go wrong.
Jason
--
[EMAIL PROTECTED] mailing list