Failing Miserably, If Not Inventively
Subject:   disable pppd when not needed?
Date:   2004-02-07 05:42:34
From:   hayne
I couldn't properly determine how to pass the request to the real pppd daemon for further operation

Why not have your "fake" pppd start and stop the real pppd as needed? If it isn't running, it won't dial out!

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Morbus Iff photo disable pppd when not needed?
    2004-02-07 07:59:23  Morbus Iff | O'Reilly Author [View]

    For the fake pppd to work correctly, it would have had to pass the same environment, STDIN, and command line flags, to the real pppd. Once that was nailed down, the program could be solved a number of different ways. Due to ignorance, however, I was never able to have the fake pppd correctly pass things to the real pppd.
    • disable pppd when not needed?
      2004-02-09 03:05:54  phrixos [View]

      Why not simply create a dummy pppd as a test, written in bash script or similar, and have it write all of the parameters it's passed to a file for your perusal?
    • possible help
      2004-02-08 00:19:10  hayne [View]

      Maybe the techniques in these macosxhints articles might help: