| sumit1680@rediffmail.com 2006-11-21, 8:01 am |
|
Rainer Temme wrote:
> sumit1680@rediffmail.com wrote:
>
>
>
>
>
> If you don't see the pppd process in the process list, and instead see
> a zombie, it's an indication that the pppd you invoced has been
> unhappy (with its parameters for instance) and has already terminated.
>
> You might check, if you can switch debugging on (in the pppd) to get
> more information.
>
> Just a thought ... is it possible, that you pass more than one
> parameters in the 'file' variable, or in the string "<a unique file >" ?
well ! soory that was a typo there !!! file should be within double
codes too. it a directive to pppd to read arguments from the name of
file following.
So more aptly the call is like
execlp("/usr/sbin/pppd","115200","file","< file_name >",NULL);
>
> Should that be the case, split it into separate params...
> $ program a b c
> is something different than
> $ program "a b c"
> pppd will likely expect all parameters as distinct arguments in
> his argument list.
>
> Rainer
|