ppp -direct mode and redirect logs to stderr

kay kay.diam at gmail.com
Tue Mar 9 20:53:12 UTC 2021

Hi Everyone,

I'd like to run "ppp -direct" as a fork and receive all logs via stderr FD
instead of syslog. How can I achieve this? I'm thinking of using dup2
syscall to replace the `/var/run/logpriv` socket FD, but this would be too

Can I run ppp in interactive mode, configure logging, then switch ppp to
"-direct" mode somehow? Or probably there is a way to force ppp to print
all logs to stderr?

Thanks in advance.

More information about the freebsd-questions mailing list