Debian Codegraph @

doc/html/fmtphnmo.htm

raw
1 <HTML>
2 <HEAD>
3 <TITLE>Telephone-modem (Appendix 20)</TITLE>
4 </HEAD>
5 <BODY BACKGROUND="/back_fbb.jpg">
6 <P>
7 <IMG SRC="/fbb.gif" WIDTH="32" HEIGHT="32">
8 <H1 ALIGN=Center>
9 Telephone-modem<SMALL>.</SMALL>
10 </H1>
11 <P ALIGN=Center>
12 (Appendix 20)
13 <P>
14 <PRE> The FBB software allows the connection of a telephone modem on a serial
15 port.
16
17 This section is split into these parts:
18 <A HREF="#Driver">Driver</A>
19 <A HREF="#Type">Type of modem</A>
20 <A HREF="#Protocol">Protocol</A>
21 <A HREF="#Wiring">Wiring for external modem</A>
22 <A HREF="#Usage">Usage</A>
23 <A HREF="#XDOSPORT">Example of PORT.SYS for DosFBB</A>
24 <A HREF="#XWINPORT">Example of PORT.SYS for WinFBB</A>
25 <A HREF="#XXPORT">Example of PORT.SYS for LinFBB</A>
26 <A HREF="#INITTNC">Example of INITTNCx.SYS for modem</A>
27 <A HREF="#FORWARD">Example of FORWARD.SYS</A>
28
29 <IMG SRC="../cyan.gif" WIDTH="14" HEIGHT="14"><A NAME="Driver"><!-- --></A><BIG><B>Driver:</B></BIG>
30
31 The modem must be declared in PORT.SYS.
32
33 <FONT COLOR="#ff0000">In WinFBB</FONT> the necessary driver is in <A HREF="fmtdriv.htm#FBBCOM">FBBCOMM.DRV</A>. This driver replaces
34 the original COMM.DRV supplied by WIndows.
35
36 <FONT COLOR="#ff0000">In DosFBB</FONT> it is necessary to use the <A HREF="fmtdriv.htm#FBBIOS">FBBIOS.COM</A> program. This driver
37 performs BBS to Modem interfacing. It is therefore necessary to load FBBIOS
38 prior to BBS start up. A line FBBIOS will be added ahead of APPEL.BAT file.
39 See below an example of the APPEL.BAT file.
40 Of course, the FBBIOS used will have to match the serial port on which the
41 modem is to be connected (address and IRQ).
42
43 <FONT COLOR="#ff0000">In LinFBB</FONT> it is necessary to compile the Linux Kernel with SLIP
44 (serial line).
45
46 The modem-driver will modify the RS232 speed according to the CONNECT info
47 received from the modem :
48
49 CONNECT 1200 set the driver to 1200 Baud.
50 CONNECT 2400 set the driver to 2400 Baud.
51
52 The driver is reset to the default speed rate (specified in <A HREF="fmtport.htm">PORT.SYS</A>) at
53 disconnect.
54
55 At connect, the text ; "xxxx BBS. Phone Access" is sent by default. This can
56 be modified by creating a file <A HREF="fmttxt.htm">MODEM.ENT</A> in the SYSTEM directory.
57
58 You can specify in the PORT.SYS file that you accept connections, even if
59 the user is not registered. In this case, the connection will be "read-only",
60 the user has only a read only-access, he cannot download files or write
61 messages, except to the sysop.
62
63 When a non-registered user is connected, he will be signified that he only
64 has a "read only access", and will be prompted to go on. If he answers "Y",
65 he will go to the BBS menu, else he will be asked again for a callsign.
66
67
68 <IMG SRC="../red.gif" WIDTH="14" HEIGHT="14"><A NAME="Type"><!-- --></A><BIG><B>Type of modem:</B></BIG>
69
70 Various experiments have been carried out with several different kinds of
71 (external, or internal cards) modems. If possible, modems at 14.400 or
72 better 28.800 bps should be used; the modem speed is to be declared in
73 PORT.SYS. Some modems can work different speeds, with an internal
74 speed conversion between the modem and the computer. For example, the modem
75 can transmit and receive on the telephone line at 14400 bps and talk to the
76 PC at 19200 bps.
77
78 If the modem uses the HAYES protocol, the INITTNCx.SYS file must hold the
79 correct HAYES init lines for the modem.
80
81
82 <IMG SRC="../yellow.gif" WIDTH="14" HEIGHT="14"><A NAME="Protocol"><!-- --></A><BIG><B>Protocol:</B></BIG>
83
84 The configuration used is 1 start bit, 8 data bits, 0 parity, 1 stop bit,
85 that is to say 10 bits words during the transmission.
86
87 The Minitel standard is not supported (7 bits, even parity).
88
89 The software being parametered by default in 8 bits, it was not possible to
90 modify this protocol, as the binary file transfers are carried out on 8 bits.
91
92 NB.: FBBIOS/FBBCOMM.DRV handles XON/XOFF protocol during the transmissions.
93
94 <IMG SRC="../green.gif" WIDTH="14" HEIGHT="14"><A NAME="Wiring"><!-- --></A><B><BIG>Wiring for external modems:</BIG></B>
95
96 The modem must be able to tell the BBS that a call has been detected with
97 the remote modem carrier detection. This is the reason why all the RS232
98 signals are used by the BBS. The RS232 cable has to be wired up pin to pin
99 with no inversion: pins 2, 3, 4, 5, 6, 7, 8, 20, and 22 of the DB25
100 connector.
101
102
103 <IMG SRC="../grey.gif" WIDTH="14" HEIGHT="14"><A NAME="Usage"><!-- --></A><BIG><B>Usage:</B></BIG>
104
105 BBS users are not authorized to connect the BBS through a modem as per the
106 default settings.
107
108 The SysOp must declare the modem users. To do it, perform a user edition (EU
109 call) and put M (for Modem) then W pass_word. A password made of the three
110 last letters of the callsign can be attributed for the first connect. Then
111 the user will be able to change it through the NP command. The authorized
112 callsigns can be listed by the DM command.
113
114 When a modem call occurs, once the modulations have been detected, the modem
115 advises the BBS that a connection is effective on the telephone line. Then
116 the BBS asks for the caller's call sign and password.
117
118 The user is granted three tries before being disconnected. If everything is
119 all right, the user can access the same commands like connected on a radio
120 channel, he will have to disconnect using the B command.
121
122 The log file is maintained for the connections through the modem channel.
123 Keep in mind to add a line in the LOGFBB.CNF file for the modem calls to be
124 processed in the stats analysis by LOGSTAT.
125
126 <FONT COLOR="#ff0000">For WinFBB:</FONT>
127 <A HREF="fmtdriv.htm#FBBCOMM">FBBCOMM.DRV</A> is already installed when Windows is started. So there is no
128 more driver to install for the modem.
129
130 <FONT COLOR="#ff0000">For LinFBB:</FONT>
131 Make sure you have compiled the Linux kernel with SLIP (serial line),
132 or if you compiled SLIP as module you must load this.
133
134 <FONT COLOR="#ff0000">For DosFBB:</FONT>
135 Example of APPEL.BAT with FBBIOS for a modem connected to COM3/IRQ4 :
136 echo off
137 break off
138 echo Press ^C to interrupt !
139 sleep 3
140 fbbios 3 03E8 4
141 serv %1
142 etc........
143
144
145 <B> Example of PORT.SYS file with 3 serial port used:</B>
146 <B> COM1 for a TNC, COM2 for a TNC, COM3 for the modem.</B>
147
148 <A NAME="XDOSPORT"><!-- --></A><FONT COLOR="#ff0000">Example for DosFBB:</FONT>
149
150 FBBIOS will have been previously configured for COM3 (3E8, IRQ 4).
151
152 # File for programming of channels and TNCs.
153 #
154 # Ports : How many ports (COM1, COM2, Etc...)
155 # TNCs : How many TNCs and modems in use. With multiplexer
156 # there can be up to 4 TNCs per port.
157 #
158 #Ports TNCs
159 3 3
160 #
161 #<FONT COLOR="#ff0000">In WinFBB ONLY THESE interfaces are available:</FONT>
162 # Interface : 2 = BPQ-node (BPQ in AA4RE-mode)
163 # 4 = DRSI
164 # 5 = TFPCR/TFPCX interface. Interrupt MUST be 0xFD or the same
165 # as stated in INIT.SRV, if any..
166 # 6 = Windows-driver, replaces both ESS and FBBIOS.
167 # 7 = TCP/IP. Needs WINSOCK.DLL. Put port-address as 17.
168 # TNC-emulation is T (see below)
169 # 8 = TFWin.dll
170 # BEWARE: The old interface 1 and 3 will NOT be used in WinFBB. Interface 6
171 # replaces both. (FBBCOMM.DRV). Neither ESS nor FBBIOS can be
172 # used with WinFBB !
173 #
174 <FONT COLOR="#000000">#</FONT><FONT COLOR="#ff0000">In LinFBB ONLY this interface is available:</FONT>
175 # Interface 9 = Linux. Can work via serial port (D),via AX25 domain
176 # socket (X) or via Telnet port (T).
177 #
178 #<FONT COLOR="#ff0000">In DosFBB ONLY THESE interfaces are available:</FONT>
179 # Interface : 1 = Use external COMBIOS-driver (MBBIOS, ESS etc)
180 # 2 = BPQ-node v 4.05 and up (BPQ in AA4RE-mode)
181 # 3 = Telephone-modem with FBBIOS
182 # 4 = DRSI card with driver
183 # 5 = TFPCR/TFPCX interface. Interrupt MUST be 0xFD or the same
184 # as stated in INIT.SRV, if any..
185 # Address : Address of port in hexadecimal (Needed for multiplexer).
186 # <FONT COLOR="#ff0000">In LinFBB:</FONT>
187 <FONT COLOR="#000000">#</FONT><FONT COLOR="#ff0000"> </FONT> Address is the device name (/dev/cua0).
188 # Be sure you have the rights to access to the device (rw-rw-rw-).
189 # When using kernel AF_AX25 socket, address is not used.
190 # When using Telnet, address is the Telnet port in Hex (Hex 17 = Telnet port 23)
191 # Baud : Ports baud rate. Ignored by BPQ, kernel AF_AX25 socket and Telnet.
192 #
193 # Use same number of lines as number of ports.
194 #
195 #Com Interface Address (Hex) Baud
196 1 1 3F8 9600
197 2 1 2F8 9600
198 3 3 3E8 1200
199 #
200 # TNC : Number on TNC in use. Use 0 for file-forward !
201 # NbCh : Number of channels I want to use in the TNC.
202 # Maximum available channels depend on firmware.
203 # Com : Number of the COM-port. Com1, Com2 etc.
204 # MultCh : Number of channel if port-multiplexer is used, otherwise 1.
205 # In DRSI use values from 0 to 7, by KAM use 1/VHF and 2/HF.
206 # Paclen : PACLEN on this TNC.
207 # Maxframe: The maximum nb of frames the TNC will send at a time.
208 # NbFwd : Number of channels for OUTGOING forward at same time.
209 # MxBloc : Size of forward-block in kb.
210 # M/P-Fwd : Minute of the hour for start of forward, and period
211 # (how many minutes between each forward-start).
212 # Port mode, one of these:
213 # B : BBS-mode.
214 # G : "Guest"-mode.
215 # U : Normal-mode.
216 # Type host-mode, one of these:
217 # D : WA8DED
218 # K : KAM hostmode.
219 # P : PK-232
220 # Q : BPQ v 4.x
221 # T : Ethernet/TCP-IP
222 # X : AX25 domain socket (for Linux)
223 # Addition: One or more of these letters can be used too:
224 # L : Send unproto beacon after each arriving mail.
225 # M : Telephone-modem.
226 # Y : Yapp allowed on this QRG.
227 # W : Gateway allowed TO this QRG.
228 # R : Modem port allowed in Read-only mode.
229 # Freq. : Text to describe this port (max 9 characters, no space)
230 #
231 # Same number of lines as TNCs:
232 #
233 #TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq
234 1 5 1 1 230 2 1 10 10/60 UDW 144.675
235 2 4 2 1 250 3 2 5 12/30 UDYW 430.675
236 3 1 3 1 128 2 0 5 00/60 UM MODEM
237 #
238 # Special callsigns and modes for some channels.
239 #
240 #TNC Nbs Callsign-SSID Mode
241 1 1 LA1B-1 B
242 #
243 # End of file.
244 #
245
246
247 <A NAME="XWINPORT"><!-- --></A><FONT COLOR="#ff0000">Same example for WinFBB:</FONT>
248
249 FBBCOMM.DRV is already loaded by Windows.
250
251 # File for programming of channels and TNCs.
252 #
253 # Ports : How many ports (COM1, COM2, Etc...)
254 # TNCs : How many TNCs and modems in use. With multiplexer
255 # there can be up to 4 TNCs per port.
256 #
257 #Ports TNCs
258 3 3
259 #
260 #<FONT COLOR="#ff0000">In WinFBB ONLY THESE interfaces are available:</FONT>
261 # Interface : 2 = BPQ-node (BPQ in AA4RE-mode)
262 # 4 = DRSI
263 # 5 = TFPCR/TFPCX interface. Interrupt MUST be 0xFD or the same
264 # as stated in INIT.SRV, if any..
265 # 6 = Windows-driver, replaces both ESS and FBBIOS.
266 # 7 = TCP/IP. Needs WINSOCK.DLL. Put port-address as 17.
267 # TNC-emulation is T (see below)
268 # 8 = TFWin.dll
269 # BEWARE: The old interface 1 and 3 will NOT be used in WinFBB. Interface 6
270 # replaces both. (FBBCOMM.DRV). Neither ESS nor FBBIOS can be
271 # used with WinFBB !
272 #
273 <FONT COLOR="#000000">#</FONT><FONT COLOR="#ff0000">In LinFBB ONLY this interface is available:</FONT>
274 # Interface 9 = Linux. Can work via serial port (D),via AX25 domain
275 # socket (X) or via Telnet port (T).
276 #
277 #<FONT COLOR="#ff0000">In DosFBB ONLY THESE interfaces are available:</FONT>
278 # Interface : 1 = Use external COMBIOS-driver (MBBIOS, ESS etc)
279 # 2 = BPQ-node v 4.05 and up (BPQ in AA4RE-mode)
280 # 3 = Telephone-modem with FBBIOS
281 # 4 = DRSI card with driver
282 # 5 = TFPCR/TFPCX interface. Interrupt MUST be 0xFD or the same
283 # as stated in INIT.SRV, if any..
284 # Address : Address of port in hexadecimal (Needed for multiplexer).
285 # <FONT COLOR="#ff0000">In LinFBB:</FONT>
286 <FONT COLOR="#000000">#</FONT><FONT COLOR="#ff0000"> </FONT> Address is the device name (/dev/cua0).
287 # Be sure you have the rights to access to the device (rw-rw-rw-).
288 # When using kernel AF_AX25 socket, address is not used.
289 # When using Telnet, address is the Telnet port in Hex (Hex 17 = Telnet port 23)
290 # Baud : Ports baud rate. Ignored by BPQ, kernel AF_AX25 socket and Telnet.
291 #
292 # Use same number of lines as number of ports.
293 #
294 #Com Interface Address (Hex) Baud
295 1 6 3F8 9600
296 2 6 2F8 9600
297 3 6 3E8 1200
298 #
299 # TNC : Number on TNC in use. Use 0 for file-forward !
300 # NbCh : Number of channels I want to use in the TNC.
301 # Maximum available channels depend on firmware.
302 # Com : Number of the COM-port. Com1, Com2 etc.
303 # MultCh : Number of channel if port-multiplexer is used, otherwise 1.
304 # In DRSI use values from 0 to 7, by KAM use 1/VHF and 2/HF.
305 # Paclen : PACLEN on this TNC.
306 # Maxframe: The maximum nb of frames the TNC will send at a time.
307 # NbFwd : Number of channels for OUTGOING forward at same time.
308 # MxBloc : Size of forward-block in kb.
309 # M/P-Fwd : Minute of the hour for start of forward, and period
310 # (how many minutes between each forward-start).
311 # Port mode, one of these:
312 # B : BBS-mode.
313 # G : "Guest"-mode.
314 # U : Normal-mode.
315 # Type host-mode, one of these:
316 # D : WA8DED
317 # K : KAM hostmode.
318 # P : PK-232
319 # Q : BPQ v 4.x
320 # T : Ethernet/TCP-IP
321 # X : AX25 domain socket (for Linux)
322 # Addition: One or more of these letters can be used too:
323 # L : Send unproto beacon after each arriving mail.
324 # M : Telephone-modem.
325 # Y : Yapp allowed on this QRG.
326 # W : Gateway allowed TO this QRG.
327 # R : Modem port allowed in Read-only mode.
328 # Freq. : Text to describe this port (max 9 characters, no space)
329 #
330 # Same number of lines as TNCs:
331 #
332 #TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq
333 1 5 1 1 230 2 1 10 10/60 UDW 144.675
334 2 4 2 1 250 3 2 5 12/30 UDYW 430.675
335 3 1 3 1 128 2 0 5 00/60 UM MODEM
336 #
337 # Special callsigns and modes for some channels.
338 #
339 #TNC Nbs Callsign-SSID Mode
340 1 1 LA1B-1 B
341 #
342 # End of file.
343 #
344
345
346 <A NAME="XXPORT"><!-- --></A><FONT COLOR="#ff0000">Same example for LinFBB:</FONT>
347 <B> Example of PORT.SYS file with 3 serial port used:</B>
348 <B> COM1 (/dev/cua0) for a TNC, COM2 (/dev/cua1) for a TNC,</B>
349 <B> COM3 (/dev/cua2) for the modem.</B>
350
351 # File for programming of channels and TNCs.
352 #
353 # Ports : How many ports (COM1, COM2, Etc...)
354 # TNCs : How many TNCs and modems in use. With multiplexer
355 # there can be up to 4 TNCs per port.
356 #
357 #Ports TNCs
358 3 3
359 #
360 #<FONT COLOR="#ff0000">In WinFBB ONLY THESE interfaces are available:</FONT>
361 # Interface : 2 = BPQ-node (BPQ in AA4RE-mode)
362 # 4 = DRSI
363 # 5 = TFPCR/TFPCX interface. Interrupt MUST be 0xFD or the same
364 # as stated in INIT.SRV, if any..
365 # 6 = Windows-driver, replaces both ESS and FBBIOS.
366 # 7 = TCP/IP. Needs WINSOCK.DLL. Put port-address as 17.
367 # TNC-emulation is T (see below)
368 # 8 = TFWin.dll
369 # BEWARE: The old interface 1 and 3 will NOT be used in WinFBB. Interface 6
370 # replaces both. (FBBCOMM.DRV). Neither ESS nor FBBIOS can be
371 # used with WinFBB !
372 #
373 <FONT COLOR="#000000">#</FONT><FONT COLOR="#ff0000">In LinFBB ONLY this interface is available:</FONT>
374 # Interface 9 = Linux. Can work via serial port (D),via AX25 domain
375 # socket (X) or via Telnet port (T).
376 #
377 #<FONT COLOR="#ff0000">In DosFBB ONLY THESE interfaces are available:</FONT>
378 # Interface : 1 = Use external COMBIOS-driver (MBBIOS, ESS etc)
379 # 2 = BPQ-node v 4.05 and up (BPQ in AA4RE-mode)
380 # 3 = Telephone-modem with FBBIOS
381 # 4 = DRSI card with driver
382 # 5 = TFPCR/TFPCX interface. Interrupt MUST be 0xFD or the same
383 # as stated in INIT.SRV, if any..
384 #
385 # Address : Address of port in hexadecimal (Needed for multiplexer).
386 # <FONT COLOR="#ff0000">In LinFBB:</FONT>
387 <FONT COLOR="#000000">#</FONT><FONT COLOR="#ff0000"> </FONT> Address is the device name (/dev/cua0).
388 # Be sure you have the rights to access to the device (rw-rw-rw-).
389 # When using kernel AF_AX25 socket, address is not used.
390 # When using Telnet, address is the Telnet port in Hex (Hex 17 = Telnet port 23)
391 # Baud : Ports baud rate. Ignored by BPQ, kernel AF_AX25 socket and Telnet.
392 #
393 # Use same number of lines as number of ports.
394 #
395 #Com Interface Address (Hex) Baud
396 1 9 /dev/cua0 9600
397 2 9 /dev/cua1 9600
398 3 9 /dev/cua2 1200
399 #
400 # TNC : Number on TNC in use. Use 0 for file-forward !
401 # NbCh : Number of channels I want to use in the TNC.
402 # Maximum available channels depend on firmware.
403 # Com : Number of the COM-port. Com1, Com2 etc.
404 # MultCh : Number of channel if port-multiplexer is used, otherwise 1.
405 # In DRSI use values from 0 to 7, by KAM use 1/VHF and 2/HF.
406 # Paclen : PACLEN on this TNC.
407 # Maxframe: The maximum nb of frames the TNC will send at a time.
408 # NbFwd : Number of channels for OUTGOING forward at same time.
409 # MxBloc : Size of forward-block in kb.
410 # M/P-Fwd : Minute of the hour for start of forward, and period
411 # (how many minutes between each forward-start).
412 # Port mode, one of these:
413 # B : BBS-mode.
414 # G : "Guest"-mode.
415 # U : Normal-mode.
416 # Type host-mode, one of these:
417 # D : WA8DED
418 # K : KAM hostmode.
419 # P : PK-232
420 # Q : BPQ v 4.x
421 # T : Ethernet/TCP-IP
422 # X : AX25 domain socket (for Linux)
423 # Addition: One or more of these letters can be used too:
424 # L : Send unproto beacon after each arriving mail.
425 # M : Telephone-modem.
426 # Y : Yapp allowed on this QRG.
427 # W : Gateway allowed TO this QRG.
428 # R : Modem port allowed in Read-only mode.
429 # Freq. : Text to describe this port (max 9 characters, no space)
430 #
431 # Same number of lines as TNCs:
432 #
433 #TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq
434 1 5 1 1 230 2 1 10 10/60 UDW 144.675
435 2 4 2 1 250 3 2 5 12/30 UDYW 430.675
436 3 1 3 1 128 2 0 5 00/60 UM MODEM
437 #
438 # Special callsigns and modes for some channels.
439 #
440 #TNC Nbs Callsign-SSID Mode
441 1 1 LA1B-1 B
442 #
443 # End of file.
444 #
445
446
447 <A NAME="INITTNC"><!-- --></A><B>Example of INITTNCx.SYS file for HAYES modem :</B>
448
449 #
450 ATZ
451 ATS0=1
452
453 <A NAME="FORWARD"><!-- --></A><B>Example of FORWARD.SYS file</B> to forward via modem. A protocol with
454 correction (like MNP) must be used to avoid any modifications of texts. The
455 HAYES command ATDT dials the line, and when the connection is established,
456 the callsign (preceded with a "." to avoid echoing) is sent twice and then
457 the password. The callsign is sent twice in case of a problem the first time.
458 ^M is the &lt;return&gt; variable.
459
460 A LA1B
461 #
462 P C &lt;-- Modem port.
463 #
464 C C F6FBB ATDT19~~~12345678^M &lt;-- Connects F6FBB using HAYES.
465 V .F6FBB^M~~~.F6FBB^M~~~PASSWORD^M &lt;--sends callsigns and password.
466 #
467 B LA1B
468 F LA6CU
469 #
470 ------
471
472 In the <A HREF="fmtport.htm">PORT.SYS</A> file, the number of forward channels for the TNC (modem)
473 must be 1.
474
475
476 <A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A>
477
478 <A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A>
479
480 <FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT>
481
482 </PRE>
483 </BODY></HTML>