uugetty

Ferda Tartanoglu (ferda@mail.org)
Wed, 06 Aug 1997 03:04:16 +0300


Merhaba,

iki gundur Red Hat 4.2 'de uugetty ile Dial-in ayarlarini yapmakla
ugrasiyorum, ancak baglanti gerceklesmiyor.
Arkadasim beni aradiginda benim modem cevap veriyor, login cikiyor,
ancak login'i girip Enter'a bastigi anda baglanti kopuyor.
( modem'im Zoltrix 33600, minicom'la her turlu baglantiyi
gerceklestirebiliyorum)

Iste Config dosyalarim:

* /etc/gettydefs :

# 38400 fixed-baud modem entry F38400#
B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS #@S login:
#F38400

* /etc/conf.uugetty.ttyS1 :

# /etc/conf.uugetty.ttyS1
#
SYSTEM=Kremlin
VERSION=/bin/uname -s -r
LOGIN=/bin/login
ISSUE=/etc/issue
INITLINE=cua1
TIMEOUT=60
HANGUP=YES
INIT="" \d+++\dAT\r OK\r\n ATH0\r OK\r\n AT\sZ\r OK\r\n
# waitfor string... if this sequence of characters is received over the
line,
# a call is detected.
WAITFOR=RING
# this line is the connect chat sequence. This chat sequence is
performed
# after the WAITFOR string is found. The \A character automatically
sets
# the baudrate to the characters that are found, so if you get the
message
# CONNECT 2400, the baud rate is set to 2400 baud.
#
# : <expect> <send> ... (chat sequence)
CONNECT="" ATA\r CONNECT\s
DELAY=2
DEBUG=777
#
# END /etc/conf.uugetty.ttyS1

* /etc/inittab :

#S1:234:respawn:/sbin/uugetty ttyS1 F38400 vt100

ve /var/log/debug :

Aug 6 02:52:23 localhost uugetty[1869]: D_GTAB: login=(@S login: )
Aug 6 02:52:23 localhost uugetty[1869]: D_GTAB: field=6,
nextword=(F38400)
Aug 6 02:52:23 localhost uugetty[1869]: D_GTAB: gtabvalue() successful
Aug 6 02:52:23 localhost uugetty[1869]: D_RUN: delay(2)
Aug 6 02:52:25 localhost uugetty[1869]: D_RUN: performing connect
sequence
Aug 6 02:52:25 localhost uugetty[1869]: D_INIT: chat("" ATA\r
CONNECT\s) called
Aug 6 02:52:25 localhost uugetty[1869]: D_INIT: EXPECT: ([nothing])
Aug 6 02:52:26 localhost uugetty[1869]: D_INIT: SEND: (ATA^M) -- OK
Aug 6 02:52:26 localhost uugetty[1869]: D_RUN: signal set: funcs.c:498
Aug 6 02:52:26 localhost uugetty[1869]: D_RUN: alarm set: funcs.c:499
Aug 6 02:52:26 localhost uugetty[1869]: D_INIT: EXPECT: <30> (CONNECT )
Aug 6 02:52:45 localhost uugetty[1869]: D_RUN: alarm set: funcs.c:531
Aug 6 02:52:45 localhost uugetty[1869]: D_RUN: signal set: funcs.c:532
Aug 6 02:52:45 localhost uugetty[1869]: D_INIT: GOT: ATA^M^M^JCONNECT
-- got it
Aug 6 02:52:45 localhost uugetty[1869]: D_INIT: chat() successful
Aug 6 02:52:45 localhost uugetty[1869]: D_RUN: signal set: main.c:940
Aug 6 02:52:45 localhost uugetty[1869]: D_RUN: alarm set: main.c:941
Aug 6 02:52:45 localhost uugetty[1869]: D_RUN: getlogname() called
Aug 6 02:52:49 localhost uugetty[1869]: D_RUN: returned (SUCCESS),
name=(berke)
Aug 6 02:52:49 localhost uugetty[1869]: D_RUN: signal set: main.c:959
Aug 6 02:52:49 localhost uugetty[1869]: D_RUN: alarm set: main.c:960
Aug 6 02:52:49 localhost uugetty[1869]: D_RUN: alarm set: main.c:963
Aug 6 02:52:49 localhost uugetty[1869]: D_RUN: signal set: main.c:964
Aug 6 02:52:49 localhost uugetty[1869]: D_RUN: execing login

yardimlariniz icin tesekkurler..

Ferda Tartanoglu
ferda@mail.org