Re: diald and pon
Marcus Geiger writes:
> I'm trying to get diald running. The diald example configuration comes
> with a connect script. But isn't it a better idea to use pon as the
> program to establish a connection from within diald ? Does this work?
You can't use pon as it will start pppd with the options in
/etc/ppp/peers/provider. You can, however, use /etc/chatscripts/provider
instead of the connect script in /etc/diald. Just put
connect "chat -v -f /etc/chatscripts/provider"
in place of the standard connect line in /etc/diald/diald.options.
> Also can't the ip-up scripts shared between diald and pon.. ?
The ip-up scripts have nothing to do with pon. They run whenever pppd
brings a ppp connection up. Since diald calls pppd, the ip-up scripts get
run when diald brings the connection up.
--
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI
Reply to: