* SUMMARY: modem help
@ 2001-03-28 18:15 Marsh, Scott
0 siblings, 0 replies; only message in thread
From: Marsh, Scott @ 2001-03-28 18:15 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_000_01C0B7B3.1EA5F7FA", Size: 9256 bytes --]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C0B7B3.1EA5F7FA
Content-Type: text/plain;
charset="iso-8859-1"
Thanks very much to Randall Cable for responding
with very helpful information. Randall supplied the
following attachment.
<<sml_modem_setup.rtf>>
Thanks Randall,
Scott Marsh
------_=_NextPart_000_01C0B7B3.1EA5F7FA
Content-Type: application/rtf;
name="sml_modem_setup.rtf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="sml_modem_setup.rtf"
{\rtf1\ansi\ansicpg1252\uc1 =
\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\=
panose 02020603050405020304}Times New =
Roman;}{\f1\fswiss\fcharset0\fprq2{\*\panose =
020b0604020202020204}Arial;}
{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier =
New;}{\f39\froman\fcharset238\fprq2 Times New Roman =
CE;}{\f40\froman\fcharset204\fprq2 Times New Roman =
Cyr;}{\f42\froman\fcharset161\fprq2 Times New Roman Greek;}
{\f43\froman\fcharset162\fprq2 Times New Roman =
Tur;}{\f44\froman\fcharset186\fprq2 Times New Roman =
Baltic;}{\f45\fswiss\fcharset238\fprq2 Arial =
CE;}{\f46\fswiss\fcharset204\fprq2 Arial =
Cyr;}{\f48\fswiss\fcharset161\fprq2 Arial Greek;}
{\f49\fswiss\fcharset162\fprq2 Arial =
Tur;}{\f50\fswiss\fcharset186\fprq2 Arial =
Baltic;}{\f51\fmodern\fcharset238\fprq1 Courier New =
CE;}{\f52\fmodern\fcharset204\fprq1 Courier New =
Cyr;}{\f54\fmodern\fcharset161\fprq1 Courier New Greek;}
{\f55\fmodern\fcharset162\fprq1 Courier New =
Tur;}{\f56\fmodern\fcharset186\fprq1 Courier New =
Baltic;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green2=
55\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\bl=
ue0;
\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\re=
d0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\=
green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\gre=
en192\blue192;}{\stylesheet{
\widctlpar\adjustright \fs20\cgrid \snext0 =
Normal;}{\s1\li2160\keepn\nowidctlpar\adjustright \fs20\cgrid =
\sbasedon0 \snext0 heading =
1;}{\s2\sb240\sa60\keepn\widctlpar\adjustright \b\i\f1\cgrid \sbasedon0 =
\snext0 heading 2;}{\*\cs10 \additive=20
Default Paragraph Font;}}{\info{\title We are testing with an =
U}{\author randy}{\operator =
randy}{\creatim\yr2001\mo3\dy15\hr13\min45}{\revtim\yr2001\mo3\dy15\hr15=
\min54}{\version2}{\edmins52}{\nofpages3}{\nofwords632}{\nofchars3603}
{\*\company Compaq Computer =
Corporation}{\nofcharsws4424}{\vern113}}\margl1440\margr1440 =
\widowctrl\ftnbj\aenddoc\formshade\viewkind4\viewscale104\viewzk2\pgbrdr=
head\pgbrdrfoot \fet0\sectd =
\linex0\headery1440\footery1440\sectdefaultcl {\*\pnseclvl1
\pnucrm\pnstart1\pnindent720\pnhang{\pntxta =
.}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang{\pntxta =
.}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang{\pntxta =
.}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang{\pntxta =
)}}{\*\pnseclvl5
\pndec\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta =
)}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta =
)}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta =
)}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang
{\pntxtb (}{\pntxta =
)}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta =
)}}\pard\plain \widctlpar\adjustright \fs20\cgrid {We are testing with =
an U.S. Robotics 56K Faxmodem connected to COM2 on a small Alpha =
Server.=20
\par=20
\par The following steps were taken on the Alpha Server to configure it =
for Remote Access.
\par=20
\par First, make sure that the COM port device special files had been =
made correctly in /dev; to check perform the following command:
\par \tab file /dev/tty0*
\par \tab /dev/tty00: character special (35/0)
\par }\pard \fi720\widctlpar\adjustright {/dev/tty01: character =
special (35/1) ACE_SLU #0 terminal #1 modem_control on
\par=20
\par }\pard \widctlpar\adjustright {If these files do not exist, then =
they need to be created; to create these files cd to /dev and perform =
the following command:
\par \tab ./MAKEDEV ace0\tab=20
\par=20
\par Ensure that the modem is connected to the correct COM port.=20
\par=20
\par Add the following string}{\cgrid0 to the /etc/remote file for =
testing and port speed initialization:}{\f2\cgrid0=20
\par }{\tab }{\cgrid0 tty01:dv=3D/dev/tty01:br#9600:pa=3Dnone:}{
\par=20
\par }{\cgrid0 Make certain that the modem is set to allow DTR and =
Carrier Detect to be controlled by the host and the modem respectively, =
particularly important when setting up a dialin connection. Also make =
sure that autoanswer is enabled for di
alin connections. These can be controlled by either dip switch =
settings, software registers or through a combination of both. Elsa =
modem may differ slightly.}{\f2\cgrid0=20
\par }{
\par=20
\par Currently, the DIP switch settings we are using are UUUUUUUD:
\par=20
\par 1 U DTR Normal / Turns off DTR Override
\par 2 U Verbal results
\par 3 U Suppress result codes
\par 4 U Echo Off-line commands / Displays keyboard commands
\par 5 U Enables Auto Answer on first ring or value in S0
\par 6 U Carrier Detect Normal / Turns off CD Override=20
\par 7 U Loads NVRAM defaults=20
\par 8 D Smart Mode / Enables AT Command set recognition=20
\par=20
\par Test }{\cgrid0 the modem connection. Use the following command:
\par }\pard \fi720\widctlpar\adjustright {\cgrid0 tip tty01
\par }\pard \widctlpar\adjustright {\cgrid0 The host should respond =
with the string "CONNECTED". At this point you can then issue AT =
commands to the modem. =20
\par=20
\par If you don't see commands echoed, then either you are not =
connecting to the correct port, or echo has been disabled on the modem. =
While connected via tip, type the command ATE1. This should enable =
local command echo.
\par=20
\par Now check the modem register values for &C &D and &S. Some modems =
will show all of the registers with an ATI4 command. Other modems =
require you to display them individually.
\par=20
\par \page The following output is from the ATI4 command on our USR =
modem:
\par=20
\par U.S. Robotics 56K FAX EXT Settings...
\par=20
\par B0 E1 F1 M1 Q1 V1 X4 Y0
\par BAUD=3D9600 PARITY=3DN WORDLEN=3D8
\par DIAL=3DTONE ON HOOK CID=3D0
\par=20
\par &A0 &B1 &C1 &D2 &G0 &H1 &I0 &K1
\par &M4 &N0 &P1 &R2 &S1 &T5 &U0 &Y1
\par=20
\par S00=3D001 S01=3D000 S02=3D043 S03=3D013 S04=3D010 =
S05=3D008 S06=3D004
\par S07=3D060 S08=3D002 S09=3D006 S10=3D014 S11=3D070 =
S12=3D050 S13=3D000
\par S15=3D000 S16=3D000 S18=3D000 S19=3D000 S21=3D010 =
S22=3D017 S23=3D019
\par S25=3D005 S27=3D000 S28=3D008 S29=3D020 S30=3D000 =
S31=3D128 S32=3D002
\par S33=3D000 S34=3D000 S35=3D000 S36=3D014 S38=3D000 =
S39=3D000 S40=3D001
\par S41=3D000 S42=3D000
\par=20
\par LAST DIALED #:
\par=20
\par AT$ should provide help and a command quick reference for all =
values.
\par=20
\par The following commands were used to change values on our test =
modem:
\par }\pard \li720\widctlpar\adjustright {\cgrid0 AT&D2\tab DTE =
Controls DTR
\par AT&C1\tab Modem Controls CD
\par AT&S1\tab Modem Controls DSR
\par AT&H1\tab CTS
\par ATF1\tab No Online Echo
\par AT&A0\tab Disable /ARQ Result Codes Bingo!!! This one did the =
trick.}{\f2\cgrid0=20
\par }\pard \widctlpar\adjustright {\f2\cgrid0=20
\par }{\cgrid0 In most cases &C and &D will be correct by default, but =
they should be set to allow "Normal" CD and DTR operation respectively.
\par=20
\par The register &S controls DSR and may need to be changed to allow =
the modem to control DSR. If so, then change the value.
\par=20
\par When completed, save the registers to allow them to survive a =
power cycle of the modem. This was done with or AT&W0, but some =
modems may require a different command.
\par=20
\par After saving the modem configuration, exit tip, by typing tilde., =
\ldblquote ~.\rdblquote }{\f2\cgrid0=20
\par=20
\par }{\cgrid0 For a dialin connection, it is necessary to have a getty =
process running against the tty device. This process is started by the =
init process and so the following line must be added to the =
/etc/inittab file:
\par \tab /etc/inittab:\tab tty01:23:respawn:/usr/sbin/getty /dev/tty01 =
M9600 vt100
\par=20
\par Once the changes to /etc/inittab have been made, issue the =
command:
\par }\pard \fi720\widctlpar\adjustright {\cgrid0 init q
\par }\pard \widctlpar\adjustright {\cgrid0 This command will cause the =
init process to reread the inittab file. This process should then spawn =
the getty which will start the login process when an interrupt is seen =
from the modem attached to the port.
\par=20
\par }\pard\plain =
\s2\sb240\sa60\keepn\widctlpar\outlinelevel1\adjustright \b\i\f1\cgrid =
{\cgrid0 Note
\par }\pard\plain \widctlpar\adjustright \fs20\cgrid {\cgrid0 We will =
probably need to configure PPP or SLIP at some point, in the very near =
future and I will send some additional information regarding this =
configuration after I research it a bit more.
\par }{
\par=20
\par }}
------_=_NextPart_000_01C0B7B3.1EA5F7FA--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-28 18:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-28 18:15 SUMMARY: modem help Marsh, Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox