Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 1999 17:52:47 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-questions@freebsd.org
Subject:   please help with kermit
Message-ID:  <Pine.GSO.3.96.990828173301.4455A-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

I modify the /etc/ttys file to turn on ttyd0 and ttyd1 on two machines
running FreeBSD. The terminal type is set to be "unknown" not "dialup". If
the two machines are not connected via a serial cable, the following
command shows two entries on both machines:

# ps -axww | grep getty
  211  ??  I      0:00.01 /usr/libexec/getty std.9600 ttyd0
  244  ??  I      0:00.02 /usr/libexec/getty std.9600 ttyd1
  ......

However, if I connect the two machines with a PC modem cable + NULL modem
converter + PC modem cable, only one entry on each machine is shown by ps. 

For example, if com 1 of machine 1 is connected to com 2 of machine 2,
then on machine 1, I only have the ttyd1 available and on machine 2, I
only have the ttyd0 available. 

This situation prevents me from using the following command in kermit:

> set line /dev/ttyd1 (or /dev/ttyd0)

I somehow circumvent this by disconnecting the line and run kermit on two
machines and then re-connect the cable.  Then I can transfer a file with
send command (the other machine acts as server), only the transfer stops
after some percentage of work.  This indicates the cable is fine.  But why
the entry disappears from the ps command. 

I hope someone can help me out on this.

--------------------------------------------------
Zhihui Zhang.  Please visit http://www.freebsd.org
--------------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990828173301.4455A-100000>