From: "Алексей Шабалин" <alex@escort-center.ru> To: sisyphus@altlinux.ru Subject: [sisyphus] trable mgetty and pppd Date: Wed, 25 Jul 2001 20:25:58 +0400 Message-ID: <20010725202558.1192a832.alex@escort-center.ru> (raw) Добрый вечер. Очень волнует следующая проблема - 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^@<M-Mt^@^@^@^@) Jul 25 19:41:41 ns pppd[18189]: Hangup (SIGHUP) Jul 25 19:41:41 ns pppd[18189]: Modem hangup Jul 25 19:41:41 ns pppd[18189]: Connection terminated. Jul 25 19:41:41 ns pppd[18189]: Connect time 3.8 minutes. Jul 25 19:41:41 ns pppd[18189]: Sent 2301 bytes, received 3095 bytes. Jul 25 19:41:41 ns pppd[18189]: speed 9 not supported Jul 25 19:42:51 ns pppd[18189]: Terminating on signal 15. >> здесь я грохнул его в ручную (по времени видно)<< 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 ----------------------------------------------------------- Всего доброго. Алексей
reply other threads:[~2001-07-25 16:25 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010725202558.1192a832.alex@escort-center.ru \ --to=alex@escort-center.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git