From: putaala@zombie (Mikka Putaala)
Newsgroups: comp.unix.wizards
Subject: UUCP-question
Date: 4 Sep 92 21:54:52 GMT
Organization: University of Oulu


This newsgroup seemed to be the most appropriate for this posting.

I have installed Taylor-uucp-1.03 succesfully.
I am running uucico with flags -r1 -smuikku -x all. The transformation
seemes to run correctly until it crashes while waiting the third packet.
The remote system I am trying to connect uses HDB UUCP and must be
configured correctly because it transmits data (mail and news) every
night with several other systems.

Here is the transcript of the session:

...We have logged in...
uucico muikku - (1992-09-04 23:07:56.09 13535) DEBUG: zget_uucp_cmd:
Got " nuucp\r\n\020Shere=muikku\000"
uucico muikku - (1992-09-04 23:07:59.01 13535) DEBUG: fport_write:
Writing 13 "\020Scecilia -N\000"
uucico muikku - (1992-09-04 23:07:59.01 13535) DEBUG: zget_uucp_cmd:
Got "\020ROK\000"
uucico muikku - (1992-09-04 23:08:00.47 13535) DEBUG: zget_uucp_cmd:
Got "\020Pg\000"
uucico muikku - (1992-09-04 23:08:00.92 13535) DEBUG: fport_write:
Writing 4 "\020Ug\000"
uucico muikku - (1992-09-04 23:08:00.92 13535) DEBUG: fport_set:
Changing setting to 0
uucico muikku - (1992-09-04 23:08:00.95 13535) DEBUG: fgsend_control:
Sending control INITA 7
uucico muikku - (1992-09-04 23:08:00.95 13535) DEBUG: fport_io:
Writing 6 "\020\011k\252?\367"
uucico muikku - (1992-09-04 23:08:00.97 13535) DEBUG: fport_io: Wrote
6 of 6, read 0 of 16251
uucico muikku - (1992-09-04 23:08:00.97 13535) DEBUG:
fgwait_for_packet: Need 6 bytes
uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fport_read: Read
6 "\020\011o\252;\367"
uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fgprocess_data:
Got control INITA 3
uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fgsend_control:

...OK. We got INIT A...

Sending control INITB 1
uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fport_io:
Writing 6 "\020\011y\2521\353"
uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fport_io: Wrote
6 of 6, read 0 of 16245
uucico muikku - (1992-09-04 23:08:01.50 13535) DEBUG:
fgwait_for_packet: Need 6 bytes
uucico muikku - (1992-09-04 23:08:01.55 13535) DEBUG: fport_read: Read
6 "\020\011y\2521\353"
uucico muikku - (1992-09-04 23:08:01.55 13535) DEBUG: fgprocess_data:
Got control INITB 1

...Here is INIT B...

uucico muikku - (1992-09-04 23:08:01.55 13535) DEBUG: fgsend_control:
Sending control INITC 7

...And finally INIT C...

uucico muikku - (1992-09-04 23:08:01.58 13535) DEBUG: fport_io:
Writing 6 "\020\011{\252/\367"
uucico muikku - (1992-09-04 23:08:01.58 13535) DEBUG: fport_io: Wrote
6 of 6, read 0 of 16239
uucico muikku - (1992-09-04 23:08:01.58 13535) DEBUG:
fgwait_for_packet: Need 6 bytes
uucico muikku - (1992-09-04 23:08:02.05 13535) DEBUG: fport_read: Read
6 "\020\011\177\252+\367"
uucico muikku - (1992-09-04 23:08:02.05 13535) DEBUG: fgprocess_data:
Got control INITC 3
uucico muikku - (1992-09-04 23:08:02.05 13535) DEBUG: fgstart:
Protocol started; packsize 64, winsize 3
uucico muikku - (1992-09-04 23:08:02.09 13535) Handshake successful

...OK. Handshake is successful...

uucico muikku - (1992-09-04 23:08:02.18 13535) DEBUG:
fsysdep_get_work_init: Found C.N0002
uucico muikku root (1992-09-04 23:08:02.25 13535) Sending /usr/src/gnu/taylor-uucp/uucp-1.03/uux.1
uucico muikku root (1992-09-04 23:08:02.25 13535) DEBUG: fgsendcmd:
Sending command "S /usr/src/gnu/taylor-uucp/uucp-1.03/uux.1 ~/uux.1
root -Cd D.0001 0444 "
uucico muikku root (1992-09-04 23:08:02.26 13535) DEBUG: fgsenddata:
Sending packet 1 (64 bytes)
uucico muikku root (1992-09-04 23:08:02.26 13535) DEBUG: fport_io:
Writing 70 "\020\002\032\311\210YS
/usr/src/gnu/taylor-uucp/uucp-1.03/uux.1 ~/uux.1 root -Cd D.00"
uucico muikku root (1992-09-04 23:08:02.26 13535) DEBUG: fport_io:
Wrote 70 of 70, read 0 of 16233
uucico muikku root (1992-09-04 23:08:02.26 13535) DEBUG: fgsenddata:
Sending packet 2 (64 bytes)
uucico muikku root (1992-09-04 23:08:02.27 13535) DEBUG: fport_io:
Writing 70 "\020\002\023\242\220#01 0444 \000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
uucico muikku root (1992-09-04 23:08:02.27 13535) DEBUG: fport_io:
Wrote 70 of 70, read 0 of 16233
uucico muikku root (1992-09-04 23:08:02.27 13535) DEBUG: zgetcmd:
Waiting for packet
uucico muikku root (1992-09-04 23:08:02.27 13535) DEBUG:
fgwait_for_packet: Need 6 bytes
uucico muikku root (1992-09-04 23:08:12.00 13535) DEBUG: fport_read:
Read 0 ""
uucico muikku root (1992-09-04 23:08:12.00 13535) DEBUG:
fgsend_control: Sending control RJ 0
uucico muikku root (1992-09-04 23:08:12.01 13535) DEBUG: fport_io:
Writing 6 "\020\011\232\252\020)"
uucico muikku root (1992-09-04 23:08:12.01 13535) DEBUG: fport_io:
Wrote 6 of 6, read 0 of 16233
uucico muikku root (1992-09-04 23:08:12.01 13535) DEBUG:
fgwait_for_packet: Need 6 bytes
uucico muikku root (1992-09-04 23:08:22.00 13535) DEBUG: fport_read:
Read 0 ""

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Here seems to be the 'bottleneck'.          !!
!! we need something but don't get it? What do !!
!! we exactly need? This is the point that     !!
!! bothers me most. Could anyone help?         !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

uucico muikku root (1992-09-04 23:08:22.00 13535) DEBUG:
fgsend_control: Sending control RJ 0
uucico muikku root (1992-09-04 23:08:22.02 13535) DEBUG: fport_io:
Writing 6 "\020\011\232\252\020)"
uucico muikku root (1992-09-04 23:08:22.02 13535) DEBUG: fport_io:
Wrote 6 of 6, read 0 of 16233
uucico muikku root (1992-09-04 23:08:22.02 13535) DEBUG:
fgwait_for_packet: Need 6 bytes
uucico muikku root (1992-09-04 23:08:32.00 13535) DEBUG: fport_read:
Read 0 ""
uucico muikku root (1992-09-04 23:08:32.00 13535) DEBUG:
fgsend_control: Sending control RJ 0

...RJ 0 is obviously a request to resend the packet (am I right?)...
...After this uucico try's to resend the packet ten times without...
...success and finally times out and executes CLOSE              ...

uucico muikku root (1992-09-04 23:09:12.01 13535) ERROR: Timed out
waiting for packet
uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fgsend_control:
Sending control CLOSE 0
uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fport_io:
Writing 6 "\020\011\242\252\010\011"
uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fport_io: Wrote
6 of 6, read 0 of 16233
uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fgsend_control:
Sending control CLOSE 0
uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fport_io:
Writing 6 "\020\011\242\252\010\011"
uucico muikku - (1992-09-04 23:09:12.04 13535) DEBUG: fport_io: Wrote
6 of 6, read 0 of 16233
uucico muikku - (1992-09-04 23:09:12.04 13535) Protocol 'g' packets:
sent 2, resent 0, received 0

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!Here it is said: We sent 2 packets but why is it just 2 !!
!!everytime I try it? Are those two the control packets   !!
!!or what? The rest of the transcript was just closing the!!
!!connection, so I deleted it.                            !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The sys file is here:

#
# The following information is for muikku
#
system muikku
# The login name and password are kept in the callout passwd file
call-login nuucp

# We can send only during night. (2200-0700)
# time Wk2200-0700,Sa2200-0700,Su2200-0700
time Any

# The phone number.
phone 419290

# Muikku is very slow
chat-timeout 120

# We are using Hayes modem
port type modem
port device /dev/tty00
port baud 2400
port carrier true
port dialer chat "" ATZ\r\d\c OK ATDT\D CONNECT
port dialer chat-fail BUSY
port dialer chat-fail NO\sCARRIER
port dialer complete \d\d+++\d\dATH\r\c
port dialer abort \d\d+++\d\dATH\r\c

# This is made to make this work with muikku
# There is no password for user 'nuucp'
chat ogin: \L

This is the story of mine. ANY help appreciated!

Thanks for listening (reading).
-- 
  // Miikka     putaala@phoenix.oulu.fi           Tatunkuja 6 90540 Oulu
     Putaala    mputaala@tolsun.oulu.fi	          FINLAND
                                                  Phone: (358) 81 362430
Xref: sparky comp.unix.wizards:3862 comp.unix.programmer:4590 comp.unix.internals:1782