[mod.computers.vax] Set Host /Dte

JARRELLRA@VTVAX5.BITNET (Ronald A. Jarrell) (10/30/86)

I have a horrible time getting this to work.  I have a hayes modem
connected to a tt port.  Kermit can see tha modem fine, let me dial out,
let me do my work, etc.  I'd like to use set host/dte.  Uh-uh.  That
let's me get to the modem, but I never see anything come back.. The modem
is sending it to the system, cause if i drop out of set host and jump
into kermit, I can see that my data was getting there and I start
getting output from that point.  If I switch back to set host, no data.
Needless to say, this makes it impossible to use dynamic decnet...

Any ideas on why this happens?  Do I need a magic cable? (I've tried
2-3-7, and all 50) Magic terminal settings?  (various combinations
tried, including modem and nomodem and parity and bit settings.)

Help!

I especially need this now, cause that system is isolated from the rest
of campus due to that fact that its ethernet cable caught fire. (Don't
ask, it's hard to explain, just trust me.)  Getting that connection back
would pick up 5 systems that are stuck right now.

-Ron

rick@NGP.UTEXAS.EDU (Rick Watson) (10/31/86)

Sounds like you might have that port set to /notypeahead.  SET HOST/DTE
won't work with /notypeahead set.  The best thing I've found to do in
this case is to leave the permanent characteristic set to /notypeahead,
then allocate the device when you want to use it, and then set
it to /typeahead (without using /perm).  Then, when you deallocate 
the device, it will fall back to /notypeahead.

Rick Watson
University of Texas Computation Center
 arpa:   rick@ngp.UTEXAS.EDU   rick@ngp.ARPA
 uucp:   ...seismo!ut-sally!ut-ngp!rick   rick@ut-ngp.UUCP
 bitnet: ccaw001@utadnx
 phone:  512/471-3241

cetron%utah-ced@UTAH-CS.ARPA (Ed Cetron) (10/31/86)

on a case like this, a breakout box is essential.....

	BUT, from memory, a lot of hayes modems DO NOT put out all of the modem
control signals that a vax wants/desires and ,again from memory, I thought that
the simplest way to do this is via brute force (after all this is an emergency)


	wire cable as follows:

	modem			vax
	  1 -------------------- 1		(use 1 AND 7, some modems use
	  7 -------------------- 7                 others 7)

	  2 -------------------- 2
	  3 -------------------- 3

	  4 -                  - 4		(some modems/ third party muxes
	    |                  |    		   require rts/cts - able mux-
          5 -                  _ 5		   master for instance)

	  6 -		       - 6
	    |		       |	
	  8 -		       - 8
	    |                  |
	 22 -                  - 22		(tie these together and then
	    |		       |
	 20 -                  - 20			tie them to each own's
							20...)

	a little less brute force (if the modem DOES generate the right signals
is to send (6,8,22) to the OTHER sides 20......

-ed cetron

ps. 
	1 Prot gnd
	2 tx
	3 rx
	4 rts
	5 cts
	6 dsr
	7 sig gnd
	8 cd (rlsd)
	20 dtr
	22 ri	

pung@ornl-ncc.ARPA.UUCP (12/04/86)

	Response to the following questions:

>Does anyone have a program or procedure that does this? ie. that both
>grants and logs access to a line used to dial-out? The line would
>be used to access remote vaxes and non-vaxes. One application is to
>Kermit files from a remote machine.
>
>Someone once said that $ set host/dte number
>could only be used 
>
>1) to communicate to another VAX
>2) with DEC modems only
>
>I thought that neither applied. What is the truth?


Response:

	We use the $set host /dte command extensively here and with
	great success and usefullness.

	It is not true that this command can only be used with DEC
	modems.
	The  $set host/dte  command serves as a mechanism to logically connect 
	you with the specified line and route the input from your terminal or 
	device down that line.  Therefore you can use this command
	to connect to any line with any number of possible devices
	connected to it.  As one of our devices we use Hayes 2400 
	smart modems and it works fine.  We use this command extensively
	when Kermitting files.

	However the command $set host/dte/dial=(NUMBER:number) TTXX:
	uses an image called Sys$library:dte_df03.exe to automatically 
	call the specified number using the DEC DF03 modem protocol.

	Alas, the sources for the image are supplied by DEC in the file
	Sys$examples:dte_df03.mar to be used as a template for users to 
	modify the code to talk whatever protocol your modem speaks.

	We have successfully converted the code to talk to 
	our Hayes modems and built the image Sys$library:dte_hayes.exe
	and then use the command:
	$set host/dte/dial=(NUMBER:number,MODEM=hayes) TTXX:.


	A possible suggestion to your line allocation question might be to
	put an Access Control List (ACL) on each of the lines and then Grant
	these ID's in Authorize to the desired users.  As a side benefit, this
	could provide a kind of load leveling mechanism.

			Mike Pung   (Pung%ornl-ncc@ornl-msr.arpa)
			Martin Marietta Energy Systems
			Oak Ridge, Tn

------