1
|
7-11-95
|
2
|
UNIX & XENIX & Terminals & Other NON-PC-non-dos-based applications
|
3
|
(including VAX, pay telephones, remote controller or other)
|
4
|
|
5
|
The defaults for the modem are &C0 &D0, autoanswer OFF. For
|
6
|
most PC applications you set &C1 &D2. Unix and Xenix do not
|
7
|
seem to be standardized. Try combinations; (AT&F sets defaults)
|
8
|
|
9
|
AT&F AT&F&C1 AT&F&D2
|
10
|
AT&F&C1&D2 (some rare cases may want &D3 - see manual)
|
11
|
|
12
|
If the device cannot issue the init string to the modem each
|
13
|
time, finish the line with &W and it will be saved to NV ram so the
|
14
|
modem will power-up with that configuration.
|
15
|
|
16
|
AT&F&C1&W (example)
|
17
|
|
18
|
To set autoanswer to ON the command is S0=1 ATS0=1
|
19
|
|
20
|
Commands may be combined on one line, AT&F at the start, &W at
|
21
|
the end. The modem will also 'wake up' at the same speed, parity,
|
22
|
bits, and stop bit that you were using at that time the AT.....&W
|
23
|
command was issued. So always use the fastest (19,200 or 38,400)
|
24
|
that the modem and port support when you do the AT...&W. CTS/RTS
|
25
|
hardware flow control is default and best. The &K command sets flow
|
26
|
control (see the manual).
|
27
|
|
28
|
>>> On some devices the &Rx (tracks RTS) and &Sx (tracks DSR) may
|
29
|
need to be changed from default (see your manual). DTR delay is
|
30
|
controlled by S25. *S38 can be increased to keep the modem from
|
31
|
hanging up due to DTR dropping.<<<
|
32
|
|
33
|
Another default is E1 (command echo). Many systems prefer not to
|
34
|
get command echos, so E0 should be included in the string. To get
|
35
|
numeric responses instead of default word responses, change V1 to V0.
|
36
|
|
37
|
*The %E2 will tel the modem to re-negotate the connection,
|
38
|
(protocol & speed) while on-line. %E3 also enables fast hangup.
|
39
|
|
40
|
*If you are having sending BREAK or BUFFER (getting empty)
|
41
|
problems, try \K0 through \K4 (see manual - \K5 is default).
|
42
|
|
43
|
In working with one SCO Unix user these strings worked.
|
44
|
|
45
|
ANSWER modem: AT&F&C1E0Q1S0=1 (&W)
|
46
|
calling modem: AT&FQ1S0=0 (&W)
|
47
|
|
48
|
|
49
|
One Mini-computer user reports this works:
|
50
|
|
51
|
ANSWER modem: AT&FE0&R1S0=1 (&W) <-- note: these two had to change &R1
|
52
|
calling modem: AT&F&C1&R1 (&W) <-- from default &R0
|
53
|
|
54
|
The &W also saves the 'current' speed, parity, bits and stop
|
55
|
bit, so the modem will wake-up with those defaults.
|
56
|
|
57
|
And a VAX DECSERVER-200 reports this works.. Modem Enabled, Dialup
|
58
|
Enabled, DSRLOGOUT Enabled, and DTR WAIT Enabled.
|
59
|
AT&F&C1&D3E0Q1&R1&S1S0=1
|
60
|
|
61
|
The SUN system with a Systech MTI board requires a special cable
|
62
|
(see you manual "Adding hardware to your system"). Following that
|
63
|
diagram should be about 8 pages with information for setting the modem
|
64
|
and the Unix.
|
65
|
|
66
|
The default for Zoom 'V' series modems is to use speed-buffering
|
67
|
(on the Turbo you need to set S36=7). This means you set your port
|
68
|
at 19,200 when you setup the modem. When you use the modem, the
|
69
|
modem takes care of modem-modem speed, buffering between the modem-
|
70
|
computer. To set BPS (often incorrectly called Baud), you merely
|
71
|
set the terminal or software in terminal mode at the BPS speed
|
72
|
you want, and type AT to the modem. This simple procedure also sets
|
73
|
Bits, Parity & stop bit. If you want the modem to 'wake up' at this
|
74
|
BPS then type AT&W. The modem will stay at this BPS as long as the
|
75
|
Terminal or software on the computer, does not send an AT command
|
76
|
at any other speed.
|
77
|
|
78
|
To 'lock' port modem speed, set the port at the speed you
|
79
|
want. (19,200 is often best). Set the modem *ATS95=0 (default) and
|
80
|
the software may then either be set to autodetect speed, or to
|
81
|
turn autodetect OFF (best). No matter what the carrier speed, when
|
82
|
*S95=0, the modem will say CONNECT 19200 (or CONNECT 9600 if that
|
83
|
was what you set), so the software will not issue a command at the
|
84
|
carrier speed, but only at the pseudo CONNECT speed, effectively
|
85
|
LOCKING the port and modem.
|
86
|
|
87
|
When using in Syncronous mode, along with these suggestions, also
|
88
|
see your modem manual section on Syncronous for some Zoom modems.
|
89
|
Most do not have Syncronous mode. When using &Q2 also include E0Q1
|
90
|
in the same line.
|
91
|
|
92
|
The pins are standard RS-232. While PC cables are always
|
93
|
25-25 straight through type ( or 25-9pin), some non-pc may need
|
94
|
Null-modem cables, where pins 2/3 and 3/4 are swapped. They MUST be
|
95
|
hardware flow control cables, so an old cable from a 2400 modem may
|
96
|
fail. On 2400 non-V modems only some of the pins 2-8 and 20 are used.
|
97
|
|
98
|
(* V-series/highspeed modems only)
|
99
|
_____________________________________________________________________
|
100
|
1-11-96 Dumb Mode
|
101
|
|
102
|
Like Hayes, all Zoom/modems are 'smart' modems and are 'Hayes
|
103
|
AT' compatible. They cannot be turned into 'true dumb' modems.
|
104
|
However, they can be set to turn off certain responses which in
|
105
|
most cases is what is actually required. Non V-Series modems highest
|
106
|
register is S27. Settings can be Saved with the &W command. AT&W saves
|
107
|
all current settings.
|
108
|
|
109
|
DEFAULT settings are listed first.
|
110
|
|
111
|
E1 - echo commands being sent to the modem back to the computer
|
112
|
E0 - do NOT echo back commands
|
113
|
|
114
|
Q0 - sends modem responses back to the computer
|
115
|
Q1 - do NOT send back any responses
|
116
|
Q2 - Send back originating responses, do NOT send answering responses.
|
117
|
|
118
|
V1 - send responses as words
|
119
|
V0 - send responses as numbers
|
120
|
|
121
|
X4 - this command chooses which CONNECT BUSY (etc.) responses are
|
122
|
sent back to the computer. See the manual for other than X4.
|
123
|
|
124
|
&S0 - Force DSR ON
|
125
|
&S1 - sometimes needed in 'dumb'
|
126
|
|
127
|
The following may effect in some situation. * are V-series only
|
128
|
|
129
|
* N1 - connect at any speed * &K3 - RTS/CTS flow control
|
130
|
N0 - connect fixed speed &K0 - none
|
131
|
&K4 - Xon/Xoff
|
132
|
&C0 - DCD forced ON &K5 - transparent Xon/Xoff
|
133
|
&C1 - DCD follows carrier
|
134
|
&R0 - tracks RTS signal
|
135
|
&D0 - does nothing w/DTR &R1 - ignores RTS
|
136
|
&D2 - Hangs up on DTR drop
|
137
|
&D3 = " " and resets S0=0 - do not answer RING
|
138
|
S0=1 - answer on 1 RING
|
139
|
S0=2 - answer on 2 RINGS (etc)
|
140
|
|
141
|
One other thing may help. If the modem must not accept any commands,
|
142
|
change register S3. default is 13 for carriage return. Something like
|
143
|
126 for the ~ char or 124 for the | char might be a good choice. Be
|
144
|
Sure if you save the change, to write it down so you can change it
|
145
|
back later. If it was ~ then to change it back just type ATS3=13~
|
146
|
and it will change back to 13. Most Zoom/modems won't let you save
|
147
|
register 13, so if you use S3 you'll have to initialize the modem
|
148
|
register 13 each time the modem is turned ON.
|
149
|
|
150
|
Check your manual Appendix the &W command to see the list of commands
|
151
|
the modem will save.
|
152
|
|
153
|
-----------------------------------------------------------------------
|
154
|
NOTE: We have only PCs and Macs to test modems and software at Zoom.
|
155
|
While Zoom/modems and faxmodems will work with any system,
|
156
|
Zoom/modems are furnished for PCs and Macs with appropriate
|
157
|
software. All the information you need to get your modem working in
|
158
|
other environments is noted in this document. If you need further
|
159
|
help with your system so you can implement these instructions, call
|
160
|
your installer or system analyst.
|
161
|
|
162
|
Don Hinds - Zoom Tech
|
163
|
|
164
|
|
165
|
-----------------------------------------------------------------------
|
166
|
|
167
|
Zoom's Webmaster, who uses a Zoom modem with Linux, adds the following
|
168
|
comments. Much of this will apply to other PC-based Unix systems
|
169
|
(especially FreeBSD, which uses the same PPP code) as well as Linux.
|
170
|
|
171
|
The three common uses of a modem with Linux are:
|
172
|
|
173
|
1. PPP connections with pppd
|
174
|
2. Terminal communications with minicom or seyon
|
175
|
3. Accepting dialup connections with getty
|
176
|
|
177
|
I will only address 1 and 2, since I have no experience with 3.
|
178
|
|
179
|
pppd will only let you specify modem port speeds up to 38,400. If you're
|
180
|
using a 28.8 Zoom modem, you will definitely want a faster port speed;
|
181
|
115,200 if it works reliably on your system and your ISP uses that port
|
182
|
speed, 57,600 otherwise. You get the higher speeds by running setserial
|
183
|
before starting pppd, like so:
|
184
|
|
185
|
setserial /dev/modem spd_hi (57,600)
|
186
|
setserial /dev/modem spd_vhi (115,200)
|
187
|
|
188
|
This assumes you have /dev/modem set as a symbolic link to your actual
|
189
|
modem device (/dev/cua0 or whatever).
|
190
|
|
191
|
In addition, you will want to use the crtscts option to pppd (makes pppd
|
192
|
do hardware handshaking), and set up the modem for hardware handshaking
|
193
|
(AT &C1 &D2). A final trick that you'll need to know about if you connect
|
194
|
to an ISP that uses dynamic IP addresses and you also have an Ethernet;
|
195
|
add the noipdefault option to your PPP settings. Otherwise, pppd may
|
196
|
try to use your Ethernet IP address for the PPP connection, instead of
|
197
|
the one from the ISP; the option forces pppd to get an address from the
|
198
|
ISP if possible. Whether you have this problem or not depends on the type
|
199
|
of IP router your ISP uses.
|
200
|
|
201
|
minicom and seyon don't need any special tricks to work with Zoom modems.
|
202
|
Again, you'll want to enable hardware handshaking on the modem (AT &C1 &D2).
|
203
|
These terminal programs let you specify higher port speeds directly, unlike
|
204
|
pppd, so you don't need to use setserial.
|
205
|
|
206
|
Finally, a warning about the internal ComStar modem. The ComStar is a
|
207
|
Plug and Play modem with no non-volatile memory for its communication port
|
208
|
settings. In the DOS and Windows 3.1 environment, you run a utility called
|
209
|
PORTWIZ to set the modem to the port address and IRQ you want. (Windows
|
210
|
95 has Plug and Play support built in, and sets up the modem automatically.)
|
211
|
To use a ComStar with Linux, you must first boot DOS, run PORTWIZ, then
|
212
|
use LOADLIN to start Linux. I do not believe that you can run PORTWIZ from
|
213
|
DOSEMU. We also do not currently know of any software that supports
|
214
|
the speakerphone features of the ComStar under Linux or any other version
|
215
|
of Unix.
|
216
|
|
217
|
The forthcoming external ComStar (shipping summer 1996) will be useable with
|
218
|
Unix systems with no problems; again, the speakerphone features are not
|
219
|
supported by any currently available software, but we will keep a lookout
|
220
|
for voice-capable software and make it available on our web site if possible.
|
221
|
|
222
|
|
223
|
webmaster@zoomtel.com
|