On Fri, Aug 13, 2010 at 10:12 PM, patrick keshishian <pkesh...@gmail.com> wrote:
> I have been struggling to figure out how to make ppp initiate
> negotiation unsuccessfully. Can someone help me with a simple ppp.conf
> that does a 'set device "!/path/to/some/prog"' that will initiate
> negotiation? I have a prog that waits for input from stdin and logs
> any input into a /tmp/logfile, but ppp doesn't seem to be spitting
> anything out. When I type "dial" at the ppp-prompt the prog is
> executed but ppp isn't sending it any data.
>
> A simple ppp.conf and command line ppp invocation and any ppp commands
> at the ppp-prompt would be most helpful.

A kind soul replied privately and gave me a very bare-bones example
that helped me figure out my mistake.

I've been messing with different ppp.conf settings for three evenings
now. I started out reading ppp.conf.sample, and I misunderstood the
sample section with ssh and was using "openmode passive". The comment
"Passive mode allows ssh plenty of time to establish the connection"
threw me off. I read it to mean "gives the program enough time to
establish connection with peer before ppp starts doing its thing". The
man page is very clear about this option, however.

Thank you again!
--patrick

Reply via email to