Any help will be greatly appreciated!!
I am trying to setup an RS6000 AIX 4.2 to dial out to an already setup (
and working ) RS6000 with slip. When I try to run "slipcall" it doesn't even
dial out. I have the ACU tty1 setup in /etc/uucp/Devices File. Looking at the
slipcall script it appears to me that slattach should be dialing out with the
modem - all I get is some errors saying
Device Type Direct wanted
Requested Device Type Not Found
See example run below.
Anyone have a clue!!!
Thanks Dave.
Example run:
mod17 DEV /usr/sbin> slipcall.s
tty number is 1
+ ifconfig sl1
sl1: flags=2000030<POINTOPOINT,NOTRAILERS,GROUPRT>
+ strinfo -m
+ grep 'slip'
Module: 'slip', flags: 0x0, str 0x69dfa40
+ tee /tmp/slipmon.15:32:03
+ slattach tty1 19200 "" AT OK ATDT9,1,212822XXXX CONNECT "" ogin msgsl word
msgsl discipline "" 4
+ 2>& 1
+ echo Slipcall waiting on slattach to connect...
Slipcall waiting on slattach to connect...
+ i=0
+ CONNECTED=0
+ [ 0 -le 45 -a 0 -eq 0 ]
+ sleep 1
slattach: The debug level is set to 4.
altconn called
Device Type Direct wanted
Requested Device Type Not Found
getto ret -1
slattach: 0821-297 The device /dev/tty1 cannot be opened for a 'direct' line.
Check the device entry in the /usr/lib/uucp/Devices file.
altconn: A file descriptor does not refer to an open file.
+ ps -ef
+ grep -v grep
+ grep slattach tty1 19200
+ wc -l
+ [ 0 -eq 0 ]
+ echo Slattach terminated for some reason. The results of
Slattach terminated for some reason. The results of
+ echo the login dialog can be found in the file /tmp/slipmon.15:32:03.
the login dialog can be found in the file /tmp/slipmon.15:32:03.
+ echo Slipcall is exiting.
Slipcall is exiting.
+ ps
+ grep tee.*/tmp/slipmon.15:32:03
+ grep -v grep
+ awk {print $1}
+ kill
slipcall[102]: kill: 0403-008 The number of parameters specified is not
correct.
+ exit
mod17 DEV /usr/sbin>
<<<<<<<<< /etc/uucp/Devices File >>>>>>>>>>>
#
# NOTE: blank lines and lines that begin with a <space>, <tab>, or # are
ignored
ACU tty1 - Any
ACU tty1 - 19200 hayes
"/etc/uucp/Devices" [Read only] The cursor is at line 59 of 59 --100%-- .