* [Comm] dialIN
@ 2006-12-22 7:42 Igo
2006-12-22 11:16 ` Igo
0 siblings, 1 reply; 3+ messages in thread
From: Igo @ 2006-12-22 7:42 UTC (permalink / raw)
To: ALT Linux Community
привет всем
сделал dialIn на ALM24
в login.config
/AutoPPP/ - a_ppp /usr/sbin/pppd file /etc/ppp/options.dialin
в mgetty.config
debug 5
port ttyS0
speed 57600
data-only y
# init-chat "" ATZ OK
[root@cerber ppp]# cat options.dialin
asyncmap 0
auth
crtscts
-detach
lock
modem
-chap
+pap
mtu 1492
mru 1492
proxyarp
192.168.111.1:192.168.111.10
netmask 255.255.255.0
ms-dns 192.168.0.14
после того как пытаюсь подключиться в логах вот такая ошибка
[root@cerber mgetty]# cat /var/log/mgetty/ttyS0.log
12/22 10:09:59 yS0 cannot get TIO: Input/output error
модем USRobotics. Полазив по рассылке надыбал только вот это
http://lists.altlinux.org/pipermail/community/2004-March/114607.html но
как узнать тогда эту строку инициализации?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] dialIN
2006-12-22 7:42 [Comm] dialIN Igo
@ 2006-12-22 11:16 ` Igo
2006-12-22 11:57 ` Arcady V. Ivanov
0 siblings, 1 reply; 3+ messages in thread
From: Igo @ 2006-12-22 11:16 UTC (permalink / raw)
To: altlinux, ALT Linux Community
[-- Attachment #1: Type: text/plain, Size: 1558 bytes --]
рассматривая логи интересно вот эти строки
12/22 14:03:23 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
12/22 14:03:23 yS0 WARNING: DCD line still active, check modem settings
(AT&Dx)
12/22 14:03:23 yS0 lowering DTR to reset Modem
12/22 14:03:23 yS0 TIOCMBIS failed: Input/output error
12/22 14:03:23 yS0 cannot turn off soft carrier: Input/output error
12/22 14:03:23 yS0 tcgetattr failed: Input/output error
12/22 14:03:23 yS0 cannot get TIO: Input/output error
пробывал ставить строку инициализацию \d\d\d+++\d\d\dAT&F "" AT&F OK
AT&N0&K4&B1 OK
непомогает
> привет всем
> сделал dialIn на ALM24
>
> в login.config
> /AutoPPP/ - a_ppp /usr/sbin/pppd file /etc/ppp/options.dialin
>
> в mgetty.config
> debug 5
> port ttyS0
> speed 57600
> data-only y
> # init-chat "" ATZ OK
>
> [root@cerber ppp]# cat options.dialin
> asyncmap 0
> auth
> crtscts
> -detach
> lock
> modem
> -chap
> +pap
> mtu 1492
> mru 1492
> proxyarp
> 192.168.111.1:192.168.111.10
> netmask 255.255.255.0
> ms-dns 192.168.0.14
>
> после того как пытаюсь подключиться в логах вот такая ошибка
>
> [root@cerber mgetty]# cat /var/log/mgetty/ttyS0.log
> 12/22 10:09:59 yS0 cannot get TIO: Input/output error
>
> модем USRobotics. Полазив по рассылке надыбал только вот это
> http://lists.altlinux.org/pipermail/community/2004-March/114607.html но
> как узнать тогда эту строку инициализации?
>
> _______________________________________________
> Community mailing list
> Community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
[-- Attachment #2: ttyS0.log --]
[-- Type: text/plain, Size: 10101 bytes --]
12/22 14:02:58 yS0 timeout in chat script, waiting for `OK'
12/22 14:02:58 yS0 init chat timed out, trying force-init-chat
12/22 14:02:58 yS0 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
12/22 14:03:02 yS0 waiting for ``OK''
12/22 14:03:02 yS0 got: [e0][e0][00][00][e0][00][00][00][e0][e0][00][00][00][00][e0][e0][00][e0][e0][e0][00][00][e0][00][10][03]+++[0d]
12/22 14:03:02 yS0 CND: __ATQ0V1H0[0d]
12/22 14:03:02 yS0 CND: ATQ0V1H0[0d][0a]OK ** found **
12/22 14:03:02 yS0 force-init succeeded, retrying init-chat
12/22 14:03:02 yS0 waiting for line to clear (VTIME), read: [0d][0a]
12/22 14:03:03 yS0 send: \dATQ0V1H0[0d]
12/22 14:03:03 yS0 waiting for ``OK''
12/22 14:03:03 yS0 got: [0d]
12/22 14:03:03 yS0 CND: OK[0a]RING[0d]
12/22 14:03:03 yS0 CND: RING[0a]ATQ0V1H0[0d]
12/22 14:03:03 yS0 CND: ATQ0V1H0[0d][0a]OK ** found **
12/22 14:03:03 yS0 send: ATS0=0Q0&D3&C1[0d]
12/22 14:03:03 yS0 waiting for ``OK''
12/22 14:03:03 yS0 got: [0d]
12/22 14:03:03 yS0 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
12/22 14:03:03 yS0 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
12/22 14:03:04 yS0 waiting for line to clear (VTIME), read: [0d][0a]
12/22 14:03:04 yS0 removing lock file
12/22 14:03:04 yS0 waiting...
12/22 14:03:08 yS0 select returned 1
12/22 14:03:08 yS0 checking lockfiles, locking the line
12/22 14:03:08 yS0 makelock(ttyS0) called
12/22 14:03:08 yS0 do_makelock: lock='/var/lock/serial/LCK..ttyS0'
12/22 14:03:08 yS0 lock made
12/22 14:03:08 yS0 wfr: waiting for ``RING''
12/22 14:03:08 yS0 got: [0d][0a]RING[0d]
12/22 14:03:08 yS0 CND: RING
12/22 14:03:08 yS0 wfr: rc=0, drn=0
12/22 14:03:08 yS0 CND: check no: 'none'
12/22 14:03:08 yS0 send: ATA[0d]
12/22 14:03:08 yS0 waiting for ``CONNECT''
12/22 14:03:08 yS0 got: ATA[0d]
12/22 14:03:08 yS0 CND: OKATA[0d][0a]CONNECT ** found **
12/22 14:03:20 yS0 send:
12/22 14:03:20 yS0 waiting for ``_''
12/22 14:03:20 yS0 got: 26400/ARQ[0d]
12/22 14:03:20 yS0 CND: CONNECT 26400/ARQ
12/22 14:03:20 yS0 CND: found: 26400/ARQ[0a] ** found **
12/22 14:03:20 yS0 waiting for line to clear (VTIME), read: [fc][fb][fb]{F[00][03]$[1b][c2][ff][01]![ff][01]![ff]}$#F[ff]qa[ff][01]![ff][01][91][ff][01]#[ff][01]#[ff]m![ff][1c][e4][ff][fb][e3][e4][8f][f8]n[fb]B[ff][11][91][ff][81]#[ff][11]#[ff][ed]#[ff][07]$[e3]"[dc][81]'[ff][ff]
12/22 14:03:21 yS0 looking for utmp entry... (my PID: 8970)
12/22 14:03:21 yS0 utmp + wtmp entry made
12/22 14:03:21 yS0 tio_set_flow_control( HARD )
12/22 14:03:21 yS0 print welcome banner (/etc/issue)
12/22 14:03:21 yS0 getlogname (FIDO AUTO_PPP), read:[fc][fb][fb];F[00][03]
12/22 14:03:22 yS0 getlogname (FIDO AUTO_PPP), read:$[1b]B[ff][0d]
12/22 14:03:22 yS0 input finished with '\r', setting ICRNL ONLCR
12/22 14:03:22 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
12/22 14:03:22 yS0 login: use login config file /etc/mgetty+sendfax/login.config
12/22 14:03:22 yS0 match: user='$', key=''
12/22 14:03:22 yS0 match: user='$', key=''
12/22 14:03:22 yS0 match: user='$', key='/AutoPPP/'
12/22 14:03:22 yS0 match: user='$', key=''
12/22 14:03:22 yS0 match: user='$', key='*'*** hit!
12/22 14:03:22 yS0 calling login: cmd='/bin/login', argv[]='login $'
12/22 14:03:22 yS0 setenv: 'CALLER_ID=none'
12/22 14:03:22 yS0 setenv: 'CONNECT=26400/ARQ'
12/22 14:03:22 yS0 setenv: 'DEVICE=ttyS0'
12/22 14:03:22 ##### data dev=ttyS0, pid=8970, caller='none', conn='26400/ARQ', name='', cmd='/bin/login', user='$'
--
12/22 14:03:22 yS0 mgetty: experimental test release 1.1.30-Dec16
12/22 14:03:22 yS0 mgetty.c compiled at Jun 7 2004, 15:37:01
12/22 14:03:22 yS0 user id: 0, pid: 8975, parent pid: 1
12/22 14:03:22 yS0 reading configuration data for port 'ttyS0'
12/22 14:03:22 yS0 reading /etc/mgetty+sendfax/mgetty.config...
12/22 14:03:22 yS0 conf lib: read: 'debug 9'
12/22 14:03:22 yS0 conf lib: read: 'port ttyS0'
12/22 14:03:22 yS0 section: port ttyS0, **found**
12/22 14:03:22 yS0 conf lib: read: 'speed 57600'
12/22 14:03:22 yS0 conf lib: read: 'data-only y'
12/22 14:03:22 yS0 key: 'speed', type=0, flags=2, data=57600
12/22 14:03:22 yS0 key: 'switchbd', type=0, flags=1, data=0
12/22 14:03:22 yS0 key: 'direct', type=3, flags=1, data=FALSE
12/22 14:03:22 yS0 key: 'blocking', type=3, flags=1, data=FALSE
12/22 14:03:22 yS0 key: 'port-owner', type=1, flags=1, data=uucp
12/22 14:03:22 yS0 key: 'port-group', type=1, flags=1, data=uucp
12/22 14:03:22 yS0 key: 'port-mode', type=0, flags=1, data=432
12/22 14:03:22 yS0 key: 'toggle-dtr', type=3, flags=1, data=TRUE
12/22 14:03:22 yS0 key: 'toggle-dtr-waittime', type=0, flags=1, data=500
12/22 14:03:22 yS0 key: 'need-dsr', type=3, flags=1, data=FALSE
12/22 14:03:22 yS0 key: 'data-only', type=3, flags=3, data=TRUE
12/22 14:03:22 yS0 key: 'fax-only', type=3, flags=1, data=FALSE
12/22 14:03:22 yS0 key: 'modem-type', type=1, flags=1, data=auto
12/22 14:03:22 yS0 key: 'modem-quirks', type=0, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0 OK ATS0=0Q0&D3&C1 OK
12/22 14:03:22 yS0 key: 'force-init-chat', type=2, flags=1, data= \d\x10\x03\d\d\d+++\d\d\d
\dATQ0V1H0 OK
12/22 14:03:22 yS0 key: 'post-init-chat', type=2, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'data-flow', type=4, flags=1, data=1
12/22 14:03:22 yS0 key: 'fax-send-flow', type=4, flags=1, data=7
12/22 14:03:22 yS0 key: 'fax-rec-flow', type=4, flags=1, data=7
12/22 14:03:22 yS0 key: 'modem-check-time', type=0, flags=1, data=3600
12/22 14:03:22 yS0 key: 'rings', type=0, flags=2, data=1
12/22 14:03:22 yS0 key: 'msn-list', type=2, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'deny-chat', type=2, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'cnd-program', type=1, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'answer-time', type=1, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c
12/22 14:03:22 yS0 key: 'answer-chat-timeout', type=0, flags=1, data=80
12/22 14:03:22 yS0 key: 'autobauding', type=3, flags=1, data=FALSE
12/22 14:03:22 yS0 key: 'ringback', type=3, flags=1, data=FALSE
12/22 14:03:22 yS0 key: 'ringback-time', type=0, flags=1, data=30
12/22 14:03:22 yS0 key: 'ignore-carrier', type=3, flags=1, data=FALSE
12/22 14:03:22 yS0 key: 'issue-file', type=1, flags=1, data=/etc/issue
12/22 14:03:22 yS0 key: 'prompt-waittime', type=0, flags=1, data=500
12/22 14:03:22 yS0 key: 'login-prompt', type=1, flags=1, data=@ login:
12/22 14:03:22 yS0 key: 'login-time', type=0, flags=1, data=60
12/22 14:03:22 yS0 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
12/22 14:03:22 yS0 key: 'login-conf-file', type=1, flags=1, data=login.config
12/22 14:03:22 yS0 key: 'fax-id', type=1, flags=1, data=49 115 xxxxxxxx
12/22 14:03:22 yS0 key: 'fax-min-speed', type=0, flags=1, data=0
12/22 14:03:22 yS0 key: 'fax-max-speed', type=0, flags=1, data=14400
12/22 14:03:22 yS0 key: 'fax-server-file', type=1, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'diskspace', type=0, flags=1, data=1024
12/22 14:03:22 yS0 key: 'notify', type=1, flags=1, data=root
12/22 14:03:22 yS0 key: 'fax-owner', type=1, flags=1, data=uucp
12/22 14:03:22 yS0 key: 'fax-group', type=1, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'fax-mode', type=0, flags=1, data=432
12/22 14:03:22 yS0 key: 'fax-spool-in', type=1, flags=1, data=/var/spool/fax/incoming:/tmp
12/22 14:03:22 yS0 key: 'debug', type=0, flags=2, data=9
12/22 14:03:22 yS0 key: 'statistics-chat', type=2, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'statistics-file', type=1, flags=0, data=(empty)
12/22 14:03:22 yS0 key: 'gettydefs', type=1, flags=1, data=n
12/22 14:03:22 yS0 key: 'term', type=1, flags=0, data=(empty)
12/22 14:03:22 yS0 check for lockfiles
12/22 14:03:22 yS0 checklock: no active process has lock, will remove
12/22 14:03:22 yS0 locking the line
12/22 14:03:22 yS0 makelock(ttyS0) called
12/22 14:03:22 yS0 do_makelock: lock='/var/lock/serial/LCK..ttyS0'
12/22 14:03:22 yS0 lock made
12/22 14:03:23 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
12/22 14:03:23 yS0 WARNING: DCD line still active, check modem settings (AT&Dx)
12/22 14:03:23 yS0 lowering DTR to reset Modem
12/22 14:03:23 yS0 TIOCMBIS failed: Input/output error
12/22 14:03:23 yS0 cannot turn off soft carrier: Input/output error
12/22 14:03:23 yS0 tcgetattr failed: Input/output error
12/22 14:03:23 yS0 cannot get TIO: Input/output error
12/22 14:03:23 yS0 mg_init_device failed, trying again
12/22 14:03:23 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
12/22 14:03:23 yS0 lowering DTR to reset Modem
12/22 14:03:24 yS0 tss: set speed to 57600 (10001)
12/22 14:03:24 yS0 tio_set_flow_control( HARD )
12/22 14:03:24 yS0 waiting for line to clear (VTIME), read:
12/22 14:03:24 yS0 send: \dATQ0V1H0[0d]
12/22 14:03:24 yS0 waiting for ``OK''
12/22 14:03:24 yS0 got:
12/22 14:03:44 yS0 timeout in chat script, waiting for `OK'
12/22 14:03:44 yS0 init chat timed out, trying force-init-chat
12/22 14:03:44 yS0 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
12/22 14:03:49 yS0 waiting for ``OK''
12/22 14:03:49 yS0 got: [10][03]+++[0d]
12/22 14:03:49 yS0 CND: __+++ATQ0V1H0[0d]
12/22 14:03:49 yS0 CND: ATQ0V1H0[0d][0a]OK ** found **
12/22 14:03:49 yS0 force-init succeeded, retrying init-chat
12/22 14:03:49 yS0 waiting for line to clear (VTIME), read: [0d][0a]
12/22 14:03:49 yS0 send: \dATQ0V1H0[0d]
12/22 14:03:50 yS0 waiting for ``OK''
12/22 14:03:50 yS0 got: ATQ0V1H0[0d]
12/22 14:03:50 yS0 CND: OKATQ0V1H0[0d][0a]OK ** found **
12/22 14:03:50 yS0 send: ATS0=0Q0&D3&C1[0d]
12/22 14:03:50 yS0 waiting for ``OK''
12/22 14:03:50 yS0 got: [0d]
12/22 14:03:50 yS0 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
12/22 14:03:50 yS0 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
12/22 14:03:50 yS0 waiting for line to clear (VTIME), read: [0d][0a]
12/22 14:03:50 yS0 removing lock file
12/22 14:03:50 yS0 waiting...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] dialIN
2006-12-22 11:16 ` Igo
@ 2006-12-22 11:57 ` Arcady V. Ivanov
0 siblings, 0 replies; 3+ messages in thread
From: Arcady V. Ivanov @ 2006-12-22 11:57 UTC (permalink / raw)
To: ALT Linux Community
Igo пишет:
> рассматривая логи интересно вот эти строки
>
> 12/22 14:03:23 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
> 12/22 14:03:23 yS0 WARNING: DCD line still active, check modem
> settings (AT&Dx)
> 12/22 14:03:23 yS0 lowering DTR to reset Modem
> 12/22 14:03:23 yS0 TIOCMBIS failed: Input/output error
> 12/22 14:03:23 yS0 cannot turn off soft carrier: Input/output error
> 12/22 14:03:23 yS0 tcgetattr failed: Input/output error
> 12/22 14:03:23 yS0 cannot get TIO: Input/output error
>
> пробывал ставить строку инициализацию \d\d\d+++\d\d\dAT&F "" AT&F OK
> AT&N0&K4&B1 OK
> непомогает
>
Переверните модем.
Поставьте переключатели правильно.
1. Normal DCD.
2. Проверьте, что оно код возврата текстовый
3. Не стоит ли в Dumb mode (для Leased Line)
--
С уважением. Иванов Аркадий
Зам.директора ООО "Хелп"
mailto: arc@help0.ru
web:http://www.help0.ru
mobile: 8-904-290-8343
------------------------------------
I use stable soft:
Linux, Mozilla and OpenOffice.
And recommend them for you too.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-22 11:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-22 7:42 [Comm] dialIN Igo
2006-12-22 11:16 ` Igo
2006-12-22 11:57 ` Arcady V. Ivanov
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