Ah yes. You have the same problem I did when I first set up Diald. Your "dial-on"
script is starting pppd explicitly. This is fine for doing ppp manually but Diald
controls when pppd is kicked in now. You're not missing anything. Actually you
have too much.
Here's what I think you should do:
1) Exchange the connect line in you ppp-options file with the one in your
diald.conf file.
The diald.conf file should contain: connect "/usr/sbin/chat -t 60 -f
/etc/ppp/script"
2) Comment out everything in your options file or just rename the file to something
other than options. This is because pppd will still attempt to implement the
options in the options file if it exists.
If you were able to connect using the /etc/ppp/script manually, Diald should have
no problem.
Talmon Reiss wrote:
> The following is my diald.conf:
>
> mode ppp
> connect "/usr/sbin/chat -f /etc/ppp/dial-on"
> device /dev/ttyS1
> speed 115200
> modem
> lock
> crtscts
> local 127.0.0.4
> remote 127.0.0.5
> defaultroute
> include /usr/lib/diald/standard.filter
>
> This is my "dial-on" file used by "diald.conf":
>
> #!/bin/sh
> echo "DIALING"
> echo
> DEVICE=cua1
> SPEED=115200
> /usr/sbin/pppd $DEVICE $SPEED file /etc/ppp/options
> /etc/ppp/set-route
>
> This is the "options" file that "dial-on" uses:
>
> connect "/usr/sbin/chat -t 60 -f /etc/ppp/script"
> netmask 255.255.255.0
> crtscts
> defaultroute
> asyncmap 0
> name talmonnm
>
> and this is "script" used by "options":
>
> ABORT BUSY ABORT "NO CARRIER" "" ATZ OK ATDT9,5166222 CONNECT ""
>
> What am I missing?
>
> Paul wrote:
>
> > Diald brings up the ppp interface when an outside address is requested.
> > Diald monitors the sl0 interface you see in the routing table.
> > Check your diald.conf file to make sure you have the "mode" option set to ppp
> > and that other settings are correct. The Diald man pages do a pretty good
> > job of giving examples of this file. Do a man on "diald-examples".
> >
> > Good luck
> >
> > Talmon Reiss wrote:
> >
> > > I have installed diald on a Slackware 2.0.33 distribution. The sl0
> > > interface is up and there is default route through this interface.
> > > However the pppd does not start when it is needed ie. when a connection
> > > request comes along. So my question is: what invokes the pppd when a
> > > connection is required?
> > >
> > > Talmon
> > >
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]