Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Modem Dialin Help
@ 1994-10-11  4:27 Brian M. Vandivier
  1994-10-12 16:33 ` Philip Shearer @ZUO-DC EBS-Team
  0 siblings, 1 reply; 2+ messages in thread
From: Brian M. Vandivier @ 1994-10-11  4:27 UTC (permalink / raw)


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.

Then it give the line from inittab.

This is what the lines in inittab that I have added:

#modem:23:respawn:/usr/sbin/getty ttyd0 M9600 vt100
#u1:23:respawn:/usr/lib/uucp/uugetty -r -t 30 tty00 38400 #UUCP
u1:23:respawn:/usr/lib/uucp/uugetty -r -t 30 ttyd0 38400 #UUCP

I have tried everything from 9600 on up to 38400.

This is what uugettydefs look like:

38400 # B38400 CS8 OPOST ONLCR HUPCL # B38400 SANE HUPCL #login: # 19200

19200 # B19200 CS8 OPOST ONLCR HUPCL # B19200 SANE HUPCL #login: # 9600

9600 # B9600 CS8 OPOST ONLCR HUPCL # B9600 SANE HUPCL #login: # 2400

2400 # B2400 CS8 OPOST ONLCR HUPCL # B2400 SANE HUPCL #login: # 1200

1200 # B1200 CS8 OPOST ONLCR HUPCL # B1200 SANE HUPCL #login: # 300

300 # B300 CS8 OPOST ONLCR HUPCL # B300 SANE HUPCL #login: # 1200


I have tried everything that I know is possible to do.  I have tried to look
for documentation on this, but to no avail.  I have seen other questions, but 
their answers only got me to this point.  It is sort of frustrating.

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.

If you have any other questions, please ask away, I can use all the help 
I can get.  

Thanks for your time :)

Brian 
bmv@cnidr.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Modem Dialin Help
  1994-10-11  4:27 Modem Dialin Help Brian M. Vandivier
@ 1994-10-12 16:33 ` Philip Shearer @ZUO-DC EBS-Team
  0 siblings, 0 replies; 2+ messages in thread
From: Philip Shearer @ZUO-DC EBS-Team @ 1994-10-12 16:33 UTC (permalink / raw)


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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-10-12 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-10-11  4:27 Modem Dialin Help Brian M. Vandivier
1994-10-12 16:33 ` Philip Shearer @ZUO-DC EBS-Team

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox