LINUX.ORG.RU
ФорумAdmin

mgetty трубку не берет


0

0

помогите mgetty настроить please - трубку снимать не хочет. RedHat 7.1 USR Courier internal ------------------------------------------------------------------------------ [root@localhost igor]# cat /etc/inittab # # inittab This file describes how the INIT process should set up # the system in a certain run-level. # # Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org> # Modified for RHS Linux by Marc Ewing and Donnie Barnes #

# Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:3:initdefault:

# System initialization. si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0 l1:1:wait:/etc/rc.d/rc 1 l2:2:wait:/etc/rc.d/rc 2 l3:3:wait:/etc/rc.d/rc 3 l4:4:wait:/etc/rc.d/rc 4 l5:5:wait:/etc/rc.d/rc 5 l6:6:wait:/etc/rc.d/rc 6

# Things to run in every runlevel. ud::once:/sbin/update

# Trap CTRL-ALT-DELETE ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes # of power left. Schedule a shutdown for 2 minutes from now. # This does, of course, assume you have powerd installed and your # UPS connected and working correctly. pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it. pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"

# Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 #4:2345:respawn:/sbin/mingetty tty4 #5:2345:respawn:/sbin/mingetty tty5 #6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5 # xdm is now a separate service x:5:respawn:/etc/X11/prefdm -nodaemon

md:35:respawn:/usr/local/sbin/mgetty -D -x 9 -n 2 /dev/ttyS1

------------------------------------------------------------------------------

# Modified for RHS Linux by Marc Ewing and Donnie Barnes [root@localhost igor]# cat /var/log/mgetty.ttyS1

-- 11/19 15:22:03 yS1 mgetty: experimental test release 1.1.27-Oct21 11/19 15:22:03 yS1 mgetty.c compiled at Nov 16 2001, 21:08:08 11/19 15:22:03 yS1 user id: 0, parent pid: 1 11/19 15:22:03 yS1 reading configuration data for port 'ttyS1' 11/19 15:22:03 yS1 reading /usr/local/etc/mgetty+sendfax/mgetty.config... 11/19 15:22:03 yS1 conf lib: read: 'debug 9' 11/19 15:22:03 yS1 conf lib: read: 'fax-id 49 115 xxxxxxxx' 11/19 15:22:03 yS1 conf lib: read: 'speed 38400' 11/19 15:22:03 yS1 key: 'speed', type=0, flags=3, data=38400 11/19 15:22:03 yS1 key: 'switchbd', type=0, flags=1, data=0 11/19 15:22:03 yS1 key: 'direct', type=3, flags=1, data=FALSE 11/19 15:22:03 yS1 key: 'blocking', type=3, flags=1, data=FALSE 11/19 15:22:03 yS1 key: 'port-owner', type=1, flags=1, data=uucp 11/19 15:22:03 yS1 key: 'port-group', type=1, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'port-mode', type=0, flags=1, data=432 11/19 15:22:03 yS1 key: 'toggle-dtr', type=3, flags=1, data=TRUE 11/19 15:22:03 yS1 key: 'toggle-dtr-waittime', type=0, flags=1, data=500 11/19 15:22:03 yS1 key: 'need-dsr', type=3, flags=1, data=FALSE 11/19 15:22:03 yS1 key: 'data-only', type=3, flags=2, data=TRUE 11/19 15:22:03 yS1 key: 'fax-only', type=3, flags=1, data=FALSE 11/19 15:22:03 yS1 key: 'modem-type', type=1, flags=1, data=data 11/19 15:22:03 yS1 key: 'modem-quirks', type=0, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0 OK ATS0=0Q0&D3&C1 OK \dATQ0V1H0 OK yS1 key: 'force-init-chat', type=2, flags=1, data= \d\d\d\d+++\d\d\d 11/19 15:22:03 yS1 key: 'post-init-chat', type=2, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'data-flow', type=4, flags=1, data=1 11/19 15:22:03 yS1 key: 'fax-send-flow', type=4, flags=1, data=7 11/19 15:22:03 yS1 key: 'fax-rec-flow', type=4, flags=1, data=7 11/19 15:22:03 yS1 key: 'modem-check-time', type=0, flags=1, data=3600 11/19 15:22:03 yS1 key: 'rings', type=0, flags=2, data=2 11/19 15:22:03 yS1 key: 'msn-list', type=2, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'get-cnd-chat', type=2, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'cnd-program', type=1, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c

11/19 15:22:03 yS1 key: 'answer-chat-timeout', type=0, flags=1, data=80 11/19 15:22:03 yS1 key: 'autobauding', type=3, flags=1, data=FALSE 11/19 15:22:03 yS1 key: 'ringback', type=3, flags=1, data=FALSE 11/19 15:22:03 yS1 key: 'ringback-time', type=0, flags=1, data=30 11/19 15:22:03 yS1 key: 'ignore-carrier', type=3, flags=1, data=FALSE 11/19 15:22:03 yS1 key: 'issue-file', type=1, flags=1, data=/etc/issue 11/19 15:22:03 yS1 key: 'prompt-waittime', type=0, flags=1, data=500 11/19 15:22:03 yS1 key: 'login-prompt', type=1, flags=1, data=@!login: 11/19 15:22:03 yS1 key: 'login-time', type=0, flags=1, data=240 11/19 15:22:03 yS1 key: 'fido-send-emsi', type=3, flags=1, data=TRUE 11/19 15:22:03 yS1 key: 'login-conf-file', type=1, flags=1, data=login.config 11/19 15:22:03 yS1 key: 'fax-id', type=1, flags=3, data=49 115 xxxxxxxx 11/19 15:22:03 yS1 key: 'fax-min-speed', type=0, flags=1, data=0 11/19 15:22:03 yS1 key: 'fax-max-speed', type=0, flags=1, data=14400 11/19 15:22:03 yS1 key: 'fax-server-file', type=1, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'diskspace', type=0, flags=1, data=1024 11/19 15:22:03 yS1 key: 'notify', type=1, flags=1, data=faxadmin 11/19 15:22:03 yS1 key: 'fax-owner', type=1, flags=1, data=uucp 11/19 15:22:03 yS1 key: 'fax-group', type=1, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'fax-mode', type=0, flags=1, data=432 11/19 15:22:03 yS1 key: 'fax-spool-in', type=1, flags=1, data=/var/spool/fax/incoming:/tmp 11/19 15:22:03 yS1 key: 'debug', type=0, flags=2, data=9 11/19 15:22:03 yS1 key: 'statistics-chat', type=2, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'statistics-file', type=1, flags=0, data=(empty) 11/19 15:22:03 yS1 key: 'gettydefs', type=1, flags=1, data=n 11/19 15:22:03 yS1 key: 'term', type=1, flags=0, data=(empty) 11/19 15:22:03 yS1 check for lockfiles 11/19 15:22:03 yS1 checklock: stat failed, no file 11/19 15:22:03 yS1 locking the line 11/19 15:22:03 yS1 makelock(ttyS1) called 11/19 15:22:03 yS1 do_makelock: lock='/var/lock/LCK..ttyS1' 11/19 15:22:03 yS1 lock made 11/19 15:22:03 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR 11/19 15:22:03 yS1 lowering DTR to reset Modem 11/19 15:22:04 yS1 tss: set speed to 38400 (017) 11/19 15:22:04 yS1 tio_set_flow_control( HARD ) 11/19 15:22:04 yS1 waiting for line to clear (VTIME), read: 11/19 15:22:04 yS1 send: \dATQ0V1H0[0d] 11/19 15:22:05 yS1 waiting for ``OK'' 11/19 15:22:05 yS1 got: ATQ0V1H0[0d] 11/19 15:22:05 yS1 CND: ATQ0V1H0[0d][0a]OK ** found ** 11/19 15:22:05 yS1 send: ATS0=0Q0&D3&C1[0d] 11/19 15:22:05 yS1 waiting for ``OK'' 11/19 15:22:05 yS1 got: [0d] 11/19 15:22:05 yS1 CND: OK[0a]ATS0=0Q0&D3&C1[0d] 11/19 15:22:05 yS1 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found ** 11/19 15:22:05 yS1 waiting for line to clear (VTIME), read: [0d][0a] 11/19 15:22:05 yS1 removing lock file 11/19 15:22:05 yS1 waiting...[root@localhost igor]#

anonymous

это очень трудно читать...
поставь User line breaks
выпадающий список внизу

inkyspot
()

Извините, не знал.

------------------------------------------------------------------------------
[root@localhost igor]# cat /etc/inittab
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Things to run in every runlevel.
ud::once:/sbin/update

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon

md:35:respawn:/usr/local/sbin/mgetty -D -x 9 -n 2 /dev/ttyS1

------------------------------------------------------------------------------

# Modified for RHS Linux by Marc Ewing and Donnie Barnes
[root@localhost igor]# cat /var/log/mgetty.ttyS1

--
11/19 15:22:03 yS1 mgetty: experimental test release 1.1.27-Oct21
11/19 15:22:03 yS1 mgetty.c compiled at Nov 16 2001, 21:08:08
11/19 15:22:03 yS1 user id: 0, parent pid: 1
11/19 15:22:03 yS1 reading configuration data for port 'ttyS1'
11/19 15:22:03 yS1 reading /usr/local/etc/mgetty+sendfax/mgetty.config...
11/19 15:22:03 yS1 conf lib: read: 'debug 9'
11/19 15:22:03 yS1 conf lib: read: 'fax-id 49 115 xxxxxxxx'
11/19 15:22:03 yS1 conf lib: read: 'speed 38400'
11/19 15:22:03 yS1 key: 'speed', type=0, flags=3, data=38400
11/19 15:22:03 yS1 key: 'switchbd', type=0, flags=1, data=0
11/19 15:22:03 yS1 key: 'direct', type=3, flags=1, data=FALSE
11/19 15:22:03 yS1 key: 'blocking', type=3, flags=1, data=FALSE
11/19 15:22:03 yS1 key: 'port-owner', type=1, flags=1, data=uucp
11/19 15:22:03 yS1 key: 'port-group', type=1, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'port-mode', type=0, flags=1, data=432
11/19 15:22:03 yS1 key: 'toggle-dtr', type=3, flags=1, data=TRUE
11/19 15:22:03 yS1 key: 'toggle-dtr-waittime', type=0, flags=1, data=500
11/19 15:22:03 yS1 key: 'need-dsr', type=3, flags=1, data=FALSE
11/19 15:22:03 yS1 key: 'data-only', type=3, flags=2, data=TRUE
11/19 15:22:03 yS1 key: 'fax-only', type=3, flags=1, data=FALSE
11/19 15:22:03 yS1 key: 'modem-type', type=1, flags=1, data=data
11/19 15:22:03 yS1 key: 'modem-quirks', type=0, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0 OK ATS0=0Q0&D3&C1 OK
\dATQ0V1H0 OK yS1 key: 'force-init-chat', type=2, flags=1, data= \d\d\d\d+++\d\d\d
11/19 15:22:03 yS1 key: 'post-init-chat', type=2, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'data-flow', type=4, flags=1, data=1
11/19 15:22:03 yS1 key: 'fax-send-flow', type=4, flags=1, data=7
11/19 15:22:03 yS1 key: 'fax-rec-flow', type=4, flags=1, data=7
11/19 15:22:03 yS1 key: 'modem-check-time', type=0, flags=1, data=3600
11/19 15:22:03 yS1 key: 'rings', type=0, flags=2, data=2
11/19 15:22:03 yS1 key: 'msn-list', type=2, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'cnd-program', type=1, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c

11/19 15:22:03 yS1 key: 'answer-chat-timeout', type=0, flags=1, data=80
11/19 15:22:03 yS1 key: 'autobauding', type=3, flags=1, data=FALSE
11/19 15:22:03 yS1 key: 'ringback', type=3, flags=1, data=FALSE
11/19 15:22:03 yS1 key: 'ringback-time', type=0, flags=1, data=30
11/19 15:22:03 yS1 key: 'ignore-carrier', type=3, flags=1, data=FALSE
11/19 15:22:03 yS1 key: 'issue-file', type=1, flags=1, data=/etc/issue
11/19 15:22:03 yS1 key: 'prompt-waittime', type=0, flags=1, data=500
11/19 15:22:03 yS1 key: 'login-prompt', type=1, flags=1, data=@!login:
11/19 15:22:03 yS1 key: 'login-time', type=0, flags=1, data=240
11/19 15:22:03 yS1 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
11/19 15:22:03 yS1 key: 'login-conf-file', type=1, flags=1, data=login.config
11/19 15:22:03 yS1 key: 'fax-id', type=1, flags=3, data=49 115 xxxxxxxx
11/19 15:22:03 yS1 key: 'fax-min-speed', type=0, flags=1, data=0
11/19 15:22:03 yS1 key: 'fax-max-speed', type=0, flags=1, data=14400
11/19 15:22:03 yS1 key: 'fax-server-file', type=1, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'diskspace', type=0, flags=1, data=1024
11/19 15:22:03 yS1 key: 'notify', type=1, flags=1, data=faxadmin
11/19 15:22:03 yS1 key: 'fax-owner', type=1, flags=1, data=uucp
11/19 15:22:03 yS1 key: 'fax-group', type=1, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'fax-mode', type=0, flags=1, data=432
11/19 15:22:03 yS1 key: 'fax-spool-in', type=1, flags=1, data=/var/spool/fax/incoming:/tmp
11/19 15:22:03 yS1 key: 'debug', type=0, flags=2, data=9
11/19 15:22:03 yS1 key: 'statistics-chat', type=2, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'statistics-file', type=1, flags=0, data=(empty)
11/19 15:22:03 yS1 key: 'gettydefs', type=1, flags=1, data=n
11/19 15:22:03 yS1 key: 'term', type=1, flags=0, data=(empty)
11/19 15:22:03 yS1 check for lockfiles
11/19 15:22:03 yS1 checklock: stat failed, no file
11/19 15:22:03 yS1 locking the line
11/19 15:22:03 yS1 makelock(ttyS1) called
11/19 15:22:03 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
11/19 15:22:03 yS1 lock made
11/19 15:22:03 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR
11/19 15:22:03 yS1 lowering DTR to reset Modem
11/19 15:22:04 yS1 tss: set speed to 38400 (017)
11/19 15:22:04 yS1 tio_set_flow_control( HARD )
11/19 15:22:04 yS1 waiting for line to clear (VTIME), read:
11/19 15:22:04 yS1 send: \dATQ0V1H0[0d]
11/19 15:22:05 yS1 waiting for ``OK''
11/19 15:22:05 yS1 got: ATQ0V1H0[0d]
11/19 15:22:05 yS1 CND: ATQ0V1H0[0d][0a]OK ** found **
11/19 15:22:05 yS1 send: ATS0=0Q0&D3&C1[0d]
11/19 15:22:05 yS1 waiting for ``OK''
11/19 15:22:05 yS1 got: [0d]
11/19 15:22:05 yS1 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
11/19 15:22:05 yS1 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
11/19 15:22:05 yS1 waiting for line to clear (VTIME), read: [0d][0a]
11/19 15:22:05 yS1 removing lock file
11/19 15:22:05 yS1 waiting...[root@localhost igor]#

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.