> Hello, > > I'm trying to use diald, but have problems. If I use '/etc/init.d/ppp start' ^^^^^^^^^^^^^^^^^^^^^ Don't do that, /etc/init.d/ppp starts pppd as a daemon, whereas diald wants to start pppd itself after the connect script exits, iff it returns 0.
> as my connect script (and have no ip-up because ppp will call its own) I > see in my log things like > > diald: connect to xxxxx > diald: starting pppd > > but nothing happens really; in addition, why does diald says it starts pppd > when the manual page says this is the task of the connect script? To quote the man page: connect <p> Use the executable or shell script <p> to set up the serial line. This normally dials the modem and starts up the remote SLIP or PPP session. The comĀ ^^^^^^ It says connect starts the _remote_ ppp session, it then exits and lets diald start the local pppd. > So I'd like to get help on setting up diald so that I can reuse most of my > existing pppd setting (chat script and ip-up/ip-down scripts). You need to be careful not to give any options to pppd that you can specify via diald, since diald passes them on for you anyway. Your /etc/ppp/options file is likely to end up with nothing in it. > I'd like to know, too, how I can arrange things so that when I mail to > someone outside my domain diald does not try to dial. If you're using sendmail, create a file called that reads as follows: --<start of /etc/service.switch>-- aliases files hosts files --<end of /etc/service.switch>-- This tells sendmail to use file lookups for hosts and aliases, thus avoiding the DNS lookup that is bringing the line up. You also need to tell it not to attempt immediate delivery, by setting the delivery mode to queue (look for ``DeliveryMode'' in /usr/doc/sendmail/op.txt.gz) > > Thanks in advance, > Yves. Cheers, Phil. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]