From: andyr@wizzy.com (Andy Rabagliati)
Subject: uucico fails if uugetty not running
Organization: W. Z. I.
Date: Mon, 23 Nov 1992 05:29:14 GMT

I have recently bumped into a problem with uucico, and you are such a
helpful bunch ;-)

It fails if uugetty is NOT running on that port. 
cu works fine, both ways.

Looking at the lights, nothing is even sent to the modem, as far as I
can tell. DTR comes active, and then goes away when the script fails.

I am reasonably familiar with the modem, and it has worked fine for
months. I have recently done an OS upgrade. I don't know if it did this
before, as I usually have uugetty running. I did /dev/MAKEDEV tty, was
appalled at what /dev/MAKEDEV owners did (chown everything to root) and
fixed them so the ports are owned by uucp.

Various permissions :-

/usr/lib/uucp% ls -l /dev/ttyf2 uugetty uucico /usr/bin/cu
crw--w--w-   1 uucp     uucp       0, 98 Nov 23 00:02 /dev/ttyf2
---s--x--x   1 uucp     uucp       65584 Nov 19 13:35 /usr/bin/cu*
---s--x--x   1 uucp     uucp      159792 Nov 19 13:47 uucico*
-r-xr-xr-x   1 uucp     uucp       73776 Nov 19 13:47 uugetty*

System uunet asks for ACU, and from my Devices file :-

ACU ttyf2 null 19200 twincomP

Does anyone recognise this, or have any suggestions ?

OS :- IRIX 4.0.5F

Herewith two uucico logs :-

First with this line in /etc/inittab :-

t2:23:respawn:/usr/lib/uucp/uugetty -t 90 -itwincom,twincomA ttyf2 dx_19200


/usr/lib/uucp% uucico -r1 -suunet  -x7
mchFind called (uunet)
list (rmail) num = 1
list (/) num = 1
list (/bin/rmail) list (/usr/news/bin/input/rnews) num = 2
_Request (FALSE), _Switch (TRUE), _CallBack (FALSE), _MyName (), _Commands /bin/rmail
_Commands /usr/news/bin/input/rnews
chdir(/usr/spool/uucp/uunet)
conn(uunet)
Device Type ACU wanted
mlock ttyf2 succeeded
filelock: ok
fixline(5, 19200)
processdev: calling setdevcfg(uucico, ACU)
gdial(twincomP) called
expect: ("")
got it
sendthem (PAUSE
ATZ^M)
expect: (OK)

... continuing successful call script.

However, with this in /etc/inittab :-

t2:23:off:/usr/lib/uucp/uugetty -t 90 -itwincom,twincomA ttyf2 dx_19200

/usr/lib/uucp% uucico -r1 -suunet  -x7
mchFind called (uunet)
list (rmail) num = 1
list (/) num = 1
list (/bin/rmail) list (/usr/news/bin/input/rnews) num = 2
_Request (FALSE), _Switch (TRUE), _CallBack (FALSE), _MyName (), _Commands /bin/rmail
_Commands /usr/news/bin/input/rnews
chdir(/usr/spool/uucp/uunet)
conn(uunet)
Device Type ACU wanted
mlock ttyf2 succeeded
timed out
generic open timeout
set interface UNIX
getto ret -1
Call Failed: CAN'T ACCESS DEVICE
exit code 101
Conversation Complete: Status FAILED

/usr/lib/uucp% hinv
1 33 MHZ IP12 Processor
FPU: MIPS R2010A/R3010 VLSI Floating Point Chip Revision: 4.0
CPU: MIPS R2000A/R3000 Processor Chip Revision: 3.0
On-board serial ports: 2
Data cache size: 32 Kbytes
Instruction cache size: 32 Kbytes
Main memory size: 16 Mbytes
Integral Ethernet: ec0, version 0
CDROM: unit 4 on SCSI controller 0
Tape drive: unit 3 on SCSI controller 0: DAT
Disk drive: unit 1 on SCSI controller 0
Integral SCSI controller 0: Version WD33C93A, revision 9
Iris Audio Processor: revision 3
Graphics board: LG1

Cheers,     Andy.
-- 
andyr@wizzy.com  Andy Rabagliati, RR1 Box 33, Wyalusing, PA 18853 (717)746-7780