uucp cu direct

uucp cu direct

Post by Johan Stran » Thu, 06 Mar 1997 04:00:00



Hi
I'm trying to connect another "computer" directly from
my SunOS4.1.3 through the serial b port (RS232).
I have created the device cua0 with "mknod cua0 12 128"
and changed the permissions.

/etc/ttytab:
ttya "/usr/etc/getty std.9600" unknown  off local secure
cua0 "/usr/etc/getty std.9600" unknown  off local secure

/etc/uucp/Devices:
Direct cua0 - 9600 direct

Then I ran the commands:
kill -1 1
ttysoftcar -a
cu -d -l cua0

and I get the error messages:
  altconn called
  Device Type Direct wanted
  mlock cua1 succeeded
  generic open failed, errno = 16
  set interface UNIX
  getto ret -1
  Connect failed: CAN'T ACCESS DEVICE
  call cleanup(1)
  call _mode(0)

What am I doing wrong ?
greatful for help

             /Johan

 
 
 

uucp cu direct

Post by Celeste Stokel » Sat, 08 Mar 1997 04:00:00



> I'm trying to connect another "computer" directly from
> my SunOS4.1.3 through the serial b port (RS232).
> I have created the device cua0 with "mknod cua0 12 128"
> and changed the permissions.

> /etc/ttytab:
> ttya "/usr/etc/getty std.9600" unknown  off local secure
> cua0 "/usr/etc/getty std.9600" unknown  off local secure

Delete the cua0 line. login runs on ttya, the incoming side.
cua0 is the outgoing side.

Also, you have ttya line to "off", so getty won't run on it.
Your uucp wants to login. So, set the ttya line to "on local" and
do kill -1 1.

There may be other problems, but this is a start to solving
them.

If you are still having problems, see my SunOS 4.1.x modem/terminal
tutorial at:
http://celestial/unix.serial.port.resources/tutorials.html

..Celeste Stokely, Unix System Administration Consultant
  Stokely Consulting, 211 Thompson Square, Mountain View CA 94043

  http://www.stokely.com - Home of Unix Serial Port & Sysadm Resources

 
 
 

1. cu: direct connect needs null modem ?

Am I right in thinking that for a 'direct' connection under
'cu' I need to hitch up the appropriate serial ports using a
null modem cable ?

Also, Riddle me this, batman - 2 unix boxes connected at 2400
baud (slow) - but using cu's 'take' utility the effective
transfer rate is about 300 baud. (laughable). Why ?

--
I really need a .excuse file here, not a .sig.

2. logging ipchain rules?

3. UUCP's CU keeps returning a DEVICE LOCKED for new modem...

4. Redhat Linux POP Servers

5. CU and UUCP fail going from Solaris x86 to Linux

6. Changing DOS Partition Permissions

7. cu, uucp help please!!!

8. Unix Fragmentation vs.

9. cu and uucp lock during login

10. Taylor's UUCP - CU pr., Follow-up question ???

11. cu and uucp lock during login (still)

12. V4.3.2 UUCP (cu) Problem

13. uucp and cu configuration