ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Savvin <savvin@apexgroup.ru>
To: community@altlinux.ru
Subject: [Comm] Проблемы с mgetty и входными звонками
Date: Wed, 29 Oct 2003 17:43:00 +0300
Message-ID: <200310291743.04925.savvin@apexgroup.ru> (raw)

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 4667 bytes --]

Пару дней назад возникла проблема приема входных звоноков - после коннекта у 
клиента не выводится баннер и приглашение к вводу логина. После периода 
таймаута модем отваливается.

Вот что пишется в лог mgetty:
<..............>
10/29 17:26:11 yS4    CND: DATA[0a][0d][0a]CONNECT ** found **
10/29 17:26:17 yS4   waiting for line to clear (VTIME), read:  
14400/V32/NONE/14400[0d][0a][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff]^r[ca]d[91][f6]F[11][91][11][91][ff][ff][ff][ff][ff]
10/29 17:26:18 yS4    looking for utmp entry... (my PID: 15462)
10/29 17:26:18 yS4   utmp + wtmp entry made
10/29 17:26:18 yS4   tio_set_flow_control( HARD )
10/29 17:26:18 yS4   print welcome banner (/etc/issue1)
10/29 17:26:18 yS4   getlogname (FIDO AUTO_PPP), 
read:<[1f]z[ff]'[eb]d[bb]s[ff][00]=K[e5][f7][b7][f0][a7][02][15]
10/29 17:26:21 yS4   getlogname (FIDO AUTO_PPP), 
read:[f5][07]U[ff][bc]4[cc]\[df][ad][fb][fd]n[ce]m[fb][fd][a8]}g([14][fe]8[de][84][bd]a[d8][e4][94]I[b4][be]\[9b][16][dc][9f]|[c1][f8][13]e`[fb][f6]1[02][ff][a4][e6]T[1d][f7]T[ff]w[f0]g[04][ff][ef][fe]o[7f][bc][fc][c5]Cb[af][a7][f1]
10/29 17:26:36 yS4   input finished with '\r', setting ICRNL ONLCR
10/29 17:26:36 yS4   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
10/29 17:26:36 yS4    login: use login config file 
/etc/mgetty+sendfax/login.config
10/29 17:26:36 yS4   match: user='_yoohoo', key=''
10/29 17:26:36 yS4   match: user='_yoohoo', key=''
10/29 17:26:36 yS4   match: user='_yoohoo', key=''
10/29 17:26:36 yS4   match: user='_yoohoo', key='/AutoPPP/'
10/29 17:26:36 yS4   match: user='_yoohoo', key=''
10/29 17:26:36 yS4   match: user='_yoohoo', key=''
10/29 17:26:36 yS4   match: user='_yoohoo', key=''
10/29 17:26:36 yS4   match: user='_yoohoo', key=''
10/29 17:26:36 yS4   match: user='_yoohoo', key=''
10/29 17:26:36 yS4   match: user='_yoohoo', key=''
10/29 17:26:36 yS4   login: fall back to /bin/login
10/29 17:26:36 yS4   calling login: cmd='/bin/login', argv[]='login Ъyoohoo'
10/29 17:26:36 ##### data dev=ttyS4, pid=15462, caller='none', conn='', 
name='', cmd='/bin/login', user='Ъyoohoo'

10/29 17:26:36 yS4   setenv: 'CALLER_ID=none'
10/29 17:26:36 yS4   setenv: 'CALLED_ID='
10/29 17:26:36 yS4   setenv: 'CONNECT='
10/29 17:26:36 yS4   setenv: 'DEVICE=ttyS4'
--
10/29 17:26:58 yS4  mgetty: experimental test release 1.1.28-Jan10
10/29 17:26:58 yS4  check for lockfiles
10/29 17:26:58 yS4   checklock: no active process has lock, will remove
10/29 17:26:58 yS4  locking the line
10/29 17:26:58 yS4   makelock(ttyS4) called
10/29 17:26:58 yS4   do_makelock: lock='/var/lock/serial/LCK..ttyS4'
10/29 17:26:58 yS4   lock made
10/29 17:26:59 yS4   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
10/29 17:26:59 yS4  WARNING: DCD line still active, check modem settings 
(AT&Dx)
10/29 17:26:59 yS4  lowering DTR to reset Modem
10/29 17:26:59 yS4   tss: set speed to 115200 (10002)
10/29 17:26:59 yS4   tio_set_flow_control( HARD )
10/29 17:26:59 yS4   waiting for line to clear (VTIME), read: 
10/29 17:26:59 yS4  send: \d\d\d+++\d\d\dATH0[0d]
10/29 17:27:02 yS4  waiting for ``OK''
10/29 17:27:02 yS4   got: [0d][0a]NO CARRIER
10/29 17:27:02 yS4  found action string: ``NO CARRIER''
10/29 17:27:02 yS4  init chat failed, exiting...: Invalid argument
10/29 17:27:02 ##### failed in mg_init_data, dev=ttyS4, pid=9521
<..............>

Кстати, вчера при попытке соединения в логе увидел следующую картину -
в течение нескольких секунд mgetty беспрерывно пытался выдать приглашение 
(файл issue1):
<..............>
10/28 19:09:01 yS5    CND: +FDM[0a][0d][0a]CONNECT ** found **
10/28 19:09:05 yS5   waiting for line to clear (VTIME), read:  115200/V32b 
14400/NONE[0d][0a]
10/28 19:09:06 yS5    looking for utmp entry... (my PID: 3393)
10/28 19:09:06 yS5   utmp + wtmp entry made
10/28 19:09:06 yS5   tio_set_flow_control( HARD )
10/28 19:09:06 yS5   print welcome banner (/etc/issue1)
10/28 19:09:06 yS5   getlogname (FIDO AUTO_PPP), read:[0d]
10/28 19:09:06 yS5   input finished with '\r', setting ICRNL ONLCR
10/28 19:09:06 yS5   tio_set_flow_control( HARD )
10/28 19:09:06 yS5   print welcome banner (/etc/issue1)
10/28 19:09:06 yS5   getlogname (FIDO AUTO_PPP), read:[0d]
10/28 19:09:07 yS5   input finished with '\r', setting ICRNL ONLCR
10/28 19:09:07 yS5   tio_set_flow_control( HARD )
10/28 19:09:07 yS5   print welcome banner (/etc/issue1)
10/28 19:09:07 yS5   getlogname (FIDO AUTO_PPP), read:[0d]
<..............>


Подскажите, в каком направлении двигаться - что-то сам не соображу :-(

-- 
   Александр Саввин
   ICQ 103069766
   
   [Registered Linux User 137566]

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2003-10-29 14:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-29 14:43 Alex Savvin [this message]
2003-10-29 19:09 ` Vitaly Lipatov
2003-10-31 11:58   ` Alex Savvin
2003-10-30 11:49 ` Borovoy M.

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=200310291743.04925.savvin@apexgroup.ru \
    --to=savvin@apexgroup.ru \
    --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