ALINK="#FF0000">

"Linux Gazette...making Linux just a little more fun!"


The Answer Guy


By James T. Dennis, tag@lists.linuxgazette.net
Starshine Technical Services, http://www.starshine.org/


(?)Co-ordinating diald and Manual PPP

From Keith Weisz on 30 Apr 1998

Mr. Dennis,
I set my Linux box up using the diald daemon for such things as fetchmail, multi-machine internet access, etc. Works good.

However I want to set up a standard PPP connection without demand dialing. pppd fails unless I kill diald.

Do I:

  1. Write a script to kill diald during the initiation of PPP, then write a script to reinitialize diald on PPP shutdown?
  2. Figure out how to make PPP and diald work together?
  3. Find a trick that I haven't had the patience to track down?

Any suggestions?
Keith Weisz

(!) Keith,

I use option number 1. -- just write a script that does the kill for you (something like:
kill $(cat /var/run/diald.pid)
Should kill it for you. (... where $() is the same as `` in bash or Korn shell).

Another alternative might be to define separate runlevels for diald mode and "manual" pppd mode. That would only be appropriate if you were using init to respawn diald (adding an appropriate line to the /etc/inittab file).


Copyright © 1998, James T. Dennis
Published in Linux Gazette Issue 29 June 1998


[ Answer Guy Index ]
versions lilo virtdom kernel winmodem basicmail betterbak
shadow dell dumbterm whylinux redhat netcard macrovir
newlook tacacs sendmail dialdppp ppp233 msmail procmail


[ Table Of Contents ] [ Front Page ] [ Previous Section ] [ Next Section ]