pppd

Lev Klimin levanty at mari-el.ru
Tue Dec 2 08:48:34 PST 2003


Good evening!

I have 4.9-release. I run pppd to dial ISP. Pppd have persist option
to retrieve lost connections. Today I wanted to check, how it works
with init. I added in /etc/ttys follow:
---begin chunk----
# pppd for ISP on com1
#
ttyd0  "/usr/sbin/pppd /dev/ttyd0 38400"       dialup  on
#ttyd1  "/usr/libexec/getty std.9600"   dialup  off secure
#ttyd2  "/usr/libexec/getty std.9600"   dialup  off secure
#ttyd3  "/usr/libexec/getty std.9600"   dialup  off secure
---end of chunk----

After # kill -1 1, I see
[22:48:09][~]:metal# ps -ax | grep pppd
 2363  ??  Ss     0:00,01 /usr/sbin/pppd /dev/ttyd0 38400 ttyd0
 2365  ??  Ss     0:00,00 /usr/sbin/pppd /dev/ttyd0 38400 ttyd0
 2367  ??  Ss     0:00,00 /usr/sbin/pppd /dev/ttyd0 38400 ttyd0
 2369  ??  Ss     0:00,00 /usr/sbin/pppd /dev/ttyd0 38400 ttyd0

Why init run 4 pppd's processes? Can I fix it?

Thank you.

-- 
Lev Klimin                           mailto:levanty at mari-el.ru
(8362) 42-15-49
19:37:26 2 декабря 2003 г.



More information about the freebsd-questions mailing list