Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2003 19:46:13 +0300
From:      Lev Klimin <levanty@mari-el.ru>
To:        freebsd-questions@freebsd.org
Subject:   pppd
Message-ID:  <121862450.20031202194613@mari-el.ru>

next in thread | raw e-mail | index | archive | help
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@mari-el.ru
(8362) 42-15-49
19:37:26 2 декабря 2003 г.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?121862450.20031202194613>