ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilya Palagin <tux@fioc.kz>
To: community@altlinux.ru
Subject: Re: [Comm] Проблемка с mgetty или с /dev/hands? 
Date: Sun, 29 Sep 2002 22:35:47 +0700
Message-ID: <3D971DD3.7060600@fioc.kz> (raw)
In-Reply-To: <3D971507.8020700@sonera.com>

Artem Tambovskiy wrote:
> Коллеги,
> Помогите горю!
> Решил превратить один из компьютеров в 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 тут дело даже и не доходит :(
> 
> Заранее благодарен,
> Артем
> 

По крайней мере одна ошибка здесь есть - неверная нумерация портов.
ttyS1 есть S2 в inittab



  reply	other threads:[~2002-09-29 15:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-29 14:58 Artem Tambovskiy
2002-09-29 15:35 ` Ilya Palagin [this message]
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

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=3D971DD3.7060600@fioc.kz \
    --to=tux@fioc.kz \
    --cc=community@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 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