From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 25 Jul 2001 20:25:58 +0400 From: =?KOI8-R?B?4czFy9PFyiD7wcLBzMnO?= To: sisyphus@altlinux.ru Message-Id: <20010725202558.1192a832.alex@escort-center.ru> Organization: Escort-Center X-Mailer: Sylpheed version 0.5.0 (GTK+ 1.2.10; i586-alt-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [sisyphus] trable mgetty and pppd Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Archived-At: List-Archive: Добрый вечер. Очень волнует следующая проблема - pppd не умирает после окончания сеанса связи. Помогите пожалуста - время поджимает. На dial-in сервер звонит пользователь - конектится - работает - всенормально :)- -пользователь отсоединяется - -а pppd на dial-in сервере не умирает и висит - больше никто соединится не может :(((( логи показывают следующее -----skip------- Jul 25 19:37:53 ns mgetty[18189]: utmp + wtmp entry made: No such file or directory Jul 25 19:37:53 ns mgetty[18189]: calling login: cmd='/usr/sbin/pppd', argv[]=': No such file or directory Jul 25 19:37:53 ns mgetty[18189]: data dev=ttyS0, pid=18189, caller='none', conn='31200/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/' Jul 25 19:37:53 ns mgetty[18189]: setenv: 'CALLER_ID=none': No such file or directory Jul 25 19:37:53 ns mgetty[18189]: setenv: 'CALLED_ID=': No such file or directory Jul 25 19:37:53 ns mgetty[18189]: setenv: 'CONNECT=31200/ARQ/V34/LAPM/V42BIS': No such file or directory Jul 25 19:37:53 ns mgetty[18189]: setenv: 'DEVICE=ttyS0': No such file or directory Jul 25 19:37:53 ns kernel: CSLIP: code copyright 1989 Regents of the University of California Jul 25 19:37:53 ns kernel: PPP: version 2.3.7 (demand dialling) Jul 25 19:37:53 ns kernel: PPP line discipline registered. Jul 25 19:37:53 ns kernel: registered device ppp0 Jul 25 19:37:53 ns pppd[18189]: pppd 2.4.1 started by /AutoPPP/, uid 0 Jul 25 19:37:53 ns pppd[18189]: speed 9 not supported Jul 25 19:37:53 ns pppd[18189]: Using interface ppp0 Jul 25 19:37:53 ns pppd[18189]: Connect: ppp0 <--> /dev/ttyS0 Jul 25 19:37:56 ns kernel: PPP BSD Compression module registered Jul 25 19:37:56 ns kernel: PPP Deflate Compression module registered Jul 25 19:37:57 ns pppd[18189]: found interface eth1 for proxy arp Jul 25 19:37:57 ns pppd[18189]: local IP address 172.16.0.200 Jul 25 19:37:57 ns pppd[18189]: remote IP address 172.16.0.201 Jul 25 19:41:40 ns pppd[18189]: LCP terminated by peer (zM-hr^A^@> здесь я грохнул его в ручную (по времени видно)<< Jul 25 19:43:05 ns mgetty[18337]: mgetty: experimental test release 1.1.26-Apr16: Success Jul 25 19:43:05 ns mgetty[18337]: something foul in config line: 'login-promt login:': Success Jul 25 19:43:05 ns mgetty[18337]: (keyword 'login-promt' not found): Success -----skip------- Установлено ядро 2.2.19-alt2-smp-secure ppp-2.4.1-alt3 mgetty-1.1.26-alt1 настроено следующим образом: > inittab --------------------------------------------------- s1:2345:respawn:/sbin/mgetty -D -s 115200 ttyS0 ------------------------------------------------ >mgetty.config ------------------------------------------------------------- # set the global debug level to "4" (default from policy.h) debug 4 # access the modem(s) with 115200 bps speed 115200 login-promt login: rings 1 # use these options to make the /dev/tty-device owned by "uucp.uucp" # and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!* port-owner uucp #port-owner root port-group uucp port-mode 0664 port ttyS0 speed 115200 debug 8 data-only y modem-type auto force-init-chat "" \d\d\d+++\d\d\dATH0 OK ATZ OK init-chat "" ATZ OK AT&F1M0E1Q0S0=0 OK ------------------------------------------------------------------------ >login.config --------------------------------------------------------------- /AutoPPP/ - - /usr/sbin/pppd call dial-in # * - - /bin/login @ --------------------------------------------------------------- >/etc/ppp/options -------------------------------------------------------------- lock modem crtscts asyncmap 0 nodetach logfile /var/log/pppd/ppplog ms-dns 172.16.0.1 ------------------------------------------------------------- >/etc/ppp/options.ttyS0 ------------------------------------------------------------ passive persist :172.16.0.201 netmask 255.255.0.0 ----------------------------------------------------------- Всего доброго. Алексей