ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Проблемка с mgetty или с /dev/hands? 
@ 2002-09-29 14:58 Artem Tambovskiy
  2002-09-29 15:35 ` Ilya Palagin
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Artem Tambovskiy @ 2002-09-29 14:58 UTC (permalink / raw)
  To: community

Коллеги,
Помогите горю!
Решил превратить один из компьютеров в dialin-server и наступил на грабли!
Дано:
комп с AltLinux Master 2.0 + USR Courier на ttyS1

Прописал в /etc/mgetty+sendfax/mgetty.config
port ttyS1
speed 115200
data-only yes
autobauding yes
modem-type data
rings 3

В /etc/mgetty+sendfax/login.config
раскоментарил
/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login debug

В /etc/ppp/options.ttyS1 прописал :
-detach
modem
crtscts
proxyarp
10.1.1.1:10.1.1.2

В /etc/pap-secrets :
# Secrets for authentication using PAP
# client        server  secret                  IP addresse
test  *       test        10.1.1.2

Ну и соответственно в inittab  добавил:
S1:23:respawn:/sbin/mgetty ttyS1

Все работает через одно место, точнее не работает вообще!
Модем снимает трубку, начинается handshake и связь рвется. Причина не 
понятна!
После этого, mgetty на этом порту не поднимается до тех пор пока не будет
удален lock-файл и не перезапущен init.
Логи говорят следующее

--
09/29 18:55:11 yS1  mgetty: experimental test release 1.1.28-Jan10
09/29 18:55:11 yS1  check for lockfiles
09/29 18:55:11 yS1  locking the line
09/29 18:55:12 yS1  WARNING: DSR is off - modem turned off or bad cable?
09/29 18:55:12 yS1  lowering DTR to reset Modem
09/29 18:55:12 yS1  send: \dATQ0V1H0[0d]
09/29 18:55:13 yS1  waiting for ``OK'' ** found **
09/29 18:55:13 yS1  send: ATS0=0Q0&D3&C1[0d]
09/29 18:55:13 yS1  waiting for ``OK'' ** found **
09/29 18:55:13 yS1  waiting...
09/29 18:55:14 yS1  wfr: waiting for ``RING''
09/29 18:55:14 yS1  wfr: waiting for ``RING''
09/29 18:55:19 yS1  wfr: waiting for ``RING''
09/29 18:55:24 yS1  send: ATA[0d]
09/29 18:55:24 yS1  waiting for ``CONNECT'' ** found **
09/29 18:55:33 yS1  send:
09/29 18:55:33 yS1  waiting for ``_'' ** found **
09/29 18:55:33 yS1  autobauding: switch to 21600 bps
09/29 18:55:33 yS1  autobauding: cannot parse 'CONNECT 
21600/ARQ/V32/LAPM/V42BIS': Operation not per
mitted
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:33 yS1  buffer overrun - input prompt too long
09/29 18:55:34 yS1  WARNING: starting login while DCD is low!
09/29 18:55:34 ##### data dev=ttyS1, pid=13639, caller='none', 
conn='21600/ARQ/V32/LAPM/V42BIS', nam
e='', cmd='/bin/login', user='ATZ'

Откуда user='ATZ'? В чем грабли? Как решить данный трабл и заставить это 
работать?
Похоже что до pppd тут дело даже и не доходит :(

Заранее благодарен,
Артем








^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-09-30  6:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-29 14:58 [Comm] Проблемка с mgetty или с /dev/hands? Artem Tambovskiy
2002-09-29 15:35 ` Ilya Palagin
2002-09-29 15:43   ` [Comm] Re[2]: " Smont
2002-09-29 16:11     ` Artem Tambovskiy
2002-09-29 17:12       ` [Comm] Re[2]: " Smont
2002-09-30  4:38         ` Artem Tambovskiy
2002-09-30  5:07           ` Sergey V. Golovin
2002-09-30  5:50             ` Artem Tambovskiy
2002-09-30  6:31               ` Sergey V. Golovin
2002-09-29 15:38 ` Ilya Palagin
2002-09-29 15:55   ` Artem Tambovskiy
2002-09-30  4:36 ` Sergey V. Golovin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git