Subject: tty-device when using capiplugin



Using pppd with capiplugin, everything works fine when starting it from a
comand line. But when it is started by cron daemon, there is the following
error message:
no device specified and stdin is not a tty
I guess, that the reason is, that I don't give pppd a device name, for capi
don't uses it anyway. And calling it command line, pppd uses stdin as device.
Being called by crond, there is no stdin, and pppd fails.
What device should I give to pppd when calling it in background (without
stdin)? Using /dev/null works, but is it sensfull?

Thilo
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html





Programming list archiving by: Enterprise Git Hosting