From: pbs@zuunix.zuo.dec.com (Philip Shearer @ZUO-DC EBS-Team)
Subject: Re: Modem Dialin Help
Date: 12 Oct 1994 16:33:51 GMT [thread overview]
Message-ID: <37h35f$cen@mrnews.mro.dec.com> (raw)
In-Reply-To: bmv.781846692@vinca.cnidr.org
bmv@k12.cnidr.org (Brian M. Vandivier) writes:
: I am currently working on setting up a modem for a dialin connection to a
: DEC AXP 4000/600. The modem is a U.S.Robotics 28.8 w/ V.34. With much
: trouble I was able to get the serial port on the machine working and kermit
: says that it can talk to the modem. I a similar modem on a PC and it can
: connect to the modem on the 4000 but I am unable to get a login prompt. I
: have the serial port set for 38400 and have tried it at 9600 also. No
: matter what I do in the inittab I get the following error:
:
: INIT: Command is reswaning too rapidly. Check for possible errors.
On other UNIX systems I have had this error when the first field in the
/etc/inittab was the same as another, on another line. eg:
u0:23:respawn:/usr/lib/uucp/uugetty -r -t 30 tty00 38400
u0:23:respawn:/usr/lib/uucp/uugetty -r -t 30 tty01 38400
^^
This field must be unique.
the second reason is a deadly embrace between modem echo and login
(see below)
----------------------------------------------------------------------------
To eliminate problems it is often a good idear to get yourself a simple
comms program for the UNIX box like kermit.
This seems to be what you have done:-)
STEP 1:
connect with modem
AT -- should echo OK
Set the modem to auto answer
ATs0=1 -- (from memory)
and to noisey
ATm1
Leave kermit attached to the port, and try diailing in. What you should
hear are the modems negotiating a connection. Then somthing like CONNECT
should appear on your kermit screen.
You should now be able to type in messages which will appear on the far
screen and revieve messages from the remote machine.
+++ -- should get you back to the AT setup and
ATH0 -- should drop the line.
STEP 2:
So at this point you *know* that the hardware is working.
Now using the manual you need to set some more AT settings.
One that is working set the modem up so that
ATe0 -- echo is off -- or you will get login echoed as the login name.
A deadly embrace.
ATq1 -- no commands -- or CONNECT will appear as the login name.
Not fatal but annoying to see password: instead
of login:
You will probably want to set other settings (like fix Modem to port
baud rate, turn off +++ for interupt { else this string in a document
cat(ed) to the remote screen will cause the modem to drop out of
connect mode!!}, reset to saved defaults on DTE dropping.)
Save theses settings
AT&w
Now run up kermit and try the login again.
STEP 3:
If it works, exit kermit
add a line to the uugettydefs (/etc/uugettydefs):
TST_SP # B9600 CS8 OPOST ONLCR HUPCL # B9600 SANE HUPCL #login: # TST_SP
So that the speed will not alter. NB B9600 should be the same as the
entry speed you have fixed the modem to. Do not set it to >9600 until
you have it working at that speed.
I am not sure that theses setting are the best but they will do the job!
IMHO. Because most modern modems can handle different speeds between the
modem to modem and modem to port interfaces it is usualy easier to let the
modems deal with the diffrent modem to modem speeds and lock the speed
of your port to that of the modem. Saves messing about with Hunt
sequences (AT&N6&B1 -- on a courier I think)
/usr/lib/uucp/uugetty -r -t 30 tty00 TST_SP #from the console.
STEP 4:
If this works put the entry into the inittab file.
STEP 5:
if this works then use kermit to alter the modem to computer baud rate
and change the speed in the uugettydefs
STEP 6:
Now set up uucp -- another bag of worms :-(
: One last thing I have a question about. Current I can use kermit to get to
: the modem using a major of 0 and a minor of 1. I assuming that this is
: correct because I can get to the modem. I have tried other combinations,
: to no avail.
I am not shure about this because on most UNIX systems there are two logical
devices for each physical device eg:
/dev/tty01
/dev/ttyM01 or /dev/cu01
One is sensetive to the modem control lines the other is not.
--
Regards Philip Shearer
Disclaimer: Please note that the above is a personal view and should
not be construed as an official comment from DEC.
"He never liked me" Itailian patient, after shooting the doctor treating
him for paranioa (Independent on Sunday 9/10/94)
prev parent reply other threads:[~1994-10-12 16:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-10-11 4:27 Modem Dialin Help Brian M. Vandivier
1994-10-12 16:33 ` Philip Shearer @ZUO-DC EBS-Team [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox