Debian Codegraph @

doc/html/docfirst.htm

raw
1 <HTML>
2 <HEAD>
3 <TITLE>First installation and startup</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 First installation and startup.
10 </H1>
11 <P>
12 <PRE> This part of the manual is intended for the sysop who has never used FBB
13 software before. I hope this part of the manual will help you to get "on the
14 air" with FBB without too many problems.
15
16 FBB is designed in 3 versions. One for Dos (referred to as <FONT COLOR="#ff0000">DosFBB</FONT>), one
17 for Windows (referred to as <FONT COLOR="#ff0000">WinFBB</FONT>) and one for Linux (referred to as <FONT COLOR="#ff0000">LinFBB</FONT>).
18 This manual covers all versions. Most of the contents is identical for all
19 versions, but when there is a difference, it will be clearly stated. In
20 either case, I presume that you have installed your operating-system (DOS,
21 Windows or Linux) correct before you attempt to install FBB.
22
23 Normally you will install FBB from diskettes. Normally your diskette-drive
24 will be called A, and normally you will install the FBB-program on hard-disk
25 called C. But this is no absolute need, you may use other drives as well.
26 More about this a little later.
27
28 Your hard-disk is organised in several directories. If you are not familiar
29 with this, you should read in your operating-system's manual about how the
30 hard-disk is organized.
31
32 FBB will normally be installed on your hard-disk in a directory named FBB.
33 This directory should be placed directly under root (C:\FBB). This directory
34 will be automatically created for you. The BBS will also need a lot of other
35 directories, and they can be created directly from root, or they can be
36 created under the FBB-directory. In the procedure I will describe here, only
37 the FBB-directory will be at the root (C:\FBB) of the hard-disk, while all the
38 other directories will be placed under FBB (like C:\FBB\USERS etc). But you
39 can choose this yourself. More about this a little later.
40
41 However, this is the recommended organization for your directories. The
42 directories will be created like this if you make no changes (a list of the
43 files and directories is given in <A HREF="docconts.htm">appendix 14</A>).
44
45 You should now be ready to start the installation procedure. Put the first
46 of the diskettes in your disk-drive.
47
48 <FONT COLOR="#ff0000">For WinFBB:</FONT>
49
50 Have Windows up-and-running. Install WinFBB from your diskette-drive the
51 same way as you normally install programmes from diskette. In Windows 3.x
52 I think it should be normal to go to the file-manager, select RUN, and type
53 A:INSTALL. In Win95 you may press START, then RUN, then type A:INSTALL.
54
55 You will first be asked for the directory (and drive) that you want to
56 have WinFBB installed to. If you accept the defaults, just press ENTER.
57 If you want WinFBB installed in another directory or on another drive,
58 just do the changes you want now, by typing your own drive/path.
59
60 The screen will now display a text with some more information on the
61 installation. Read it carefully before you proceed (by closing that
62 window).
63
64 The installation continues. You will be advised that SYSTEM.INI will be
65 modified to replace the COMM-driver. This is the driver for the TNCs and
66 telephone-modem. You will also be told to increase the environment to 2kb.
67 AUTOEXEC.BAT will also be updated with the correct path to your
68 FBB-directory.
69
70 Next, the installation-procedure continues by starting the program
71 <A HREF="toolinst.htm#INSTWFBB">INSTWFBB</A>. (If this is not started during installation, you should start
72 it after the installation has completed, by clicking on the icon for
73 WinFBB Configuration). This program lets you set most of the parametres you
74 need (all parametres for <A HREF="fmtport.htm">PORT.SYS</A> and <A HREF="fmtinit.htm">INIT.SRV</A>) for your installation.
75 Please take great care here, and go through ALL the pages of this installation
76 very carefully before you exit the program. Use the NEXT - PREV buttons to go
77 through the entire installation. Be sure to insert your correct callsign,
78 your correct H-route etc. INSTWFBB will update both <A HREF="fmtinit.htm">INIT.SRV</A> and <A HREF="fmtport.htm">PORT.SYS</A> for
79 you, you will not need to change them manually later, if you take great care
80 to do a good job now.
81
82 When you are sure that your setup now is correct, you may exit the
83 INSTWFBB. The PC will then reboot, to finish the setup. After this,
84 you will have a new program-group with icons for WinFBB and for
85 WinFBB Configuration. You may run WinFBB Configuration at any time later,
86 to change your setup again. The configuration may also be changed while
87 the BBS is running, by clicking on the word Config on the top of the
88 screen.
89
90 Next, the same procedure for DosFBB and LinFBB follows. Skip them, and go
91 directly to the section called <A HREF="#First-time">"FIRST-TIME SETUP OF DIFFERENT FILES."</A>
92
93
94 <FONT COLOR="#ff0000">For DosFBB:</FONT>
95
96 You should now be ready to start the installation procedure. Put the first
97 of the diskettes in your disk-drive, and type A: if that drive is named A,
98 or B: if that drive is named B. Press ENTER to execute the command (you must
99 always press ENTER after a command to the PC). Your PC will now answer with
100 something like A:\&gt; or B:\&gt;
101
102 If you now are ready to install FBB for the first time on your PC, you
103 type INSTA700.
104
105 You will now see at your screen something like this:
106
107 ---- QUOTE: ----
108
109 **** FIRST TIME INSTALLATION OF FBB 7.00 FROM DISK %disk% ****
110
111 - Main BBS-directory - C:\FBB
112 - System-files - C:\FBB\SYSTEM
113 - Messages - C:\FBB\MAIL
114 - Binary-messages - C:\FBB\BINMAIL
115 - User's dir. - C:\FBB\USERS
116 - Yapp files - C:\FBB\USERS\YAPP
117 - Oldmail - C:\FBB\OLDMAIL
118 - Statistics - C:\FBB\STATS
119 - Documentation - C:\FBB\DOCS
120 - FBB-manuals - C:\FBB\DOC
121 - Fwd-include-files - C:\FBB\SYSTEM\FWD
122 - Executable files - C:\FBB\BIN
123 - Example-files - C:\FBB\EXAMPLES.700
124 - Utillities - C:\FBB\UTIL
125 (Fwd-include-files MUST stay under %system%.)
126
127 If this configuration does not suit your needs, you must stop now
128 with CTRL-C and edit the SET-lines in the file A:SUITE1.BAT.
129 If a version of FBB 5.15c already exists, press Ctrl-C
130 and use 515c700.BAT for upgrading.
131
132 ----- UNQUOTE. -----
133
134 This screen may vary a bit from version to version, but the work you have to
135 do, will still be the same. First of all, you will see that the PC says that
136 you will install from disk A. Is this correct ? If you are installing from
137 disk-drive B, you must stop the installation now. The same applies if you
138 want to use other directory-names or paths for some of the other directories
139 that are listed on your screen now.
140
141 If you DO want to change any of these things, you MUST do it now. The
142 changes are described in this paragraph; if you do NOT want any changes, you
143 can go on to the next paragraph. You stop the installation-batch by pressing
144 CTRL-C. Now you will see the standard A:\&gt; prompt again. Now you must use a
145 normal text-editor and edit the file SUITE1.BAT on your diskette. I presume
146 you have such an editor... Make sure that it is able to save the file again
147 in ASCII (DOS) format ! So if you use for example Word Perfect, you MUST
148 remember to save the file again in DOS-format !
149
150 At the beginning of that file, you will see a line saying SET disk=A: If you
151 want to install from B-drive, you edit this line like this:
152
153 SET disk=B:
154
155 You change only the letter after '=', nothing else ! You can also change all
156 directory-names or directory-paths in this same way. If you do not want to
157 use C:\FBB\SYSTEM, but want it to be C:\FICHIERS, you just change the line
158 saying
159
160 SET system=C:\FBB\SYSTEM
161 to
162 SET system=C:\FICHIERS
163
164 and so on. You must ONLY change the name behind the '=' sign, you must NOT
165 change anything before that in that line. You can do this with any (or all)
166 the directory-names and paths. But remember that you will need to do some
167 extra work with other config-files later if you do not use the default
168 installation.
169
170 When you have finished doing the changes you want in the lines starting with
171 SET, you must save the file again to disk. When that is done, you start over
172 again from the beginning, by typing INSTA700 etc.
173
174 OK. That is about all. Now the BBS-program and all its files will be
175 installed on your hard-disk. You only have to change diskettes each time you
176 are asked to (if you install from more than one diskette).
177
178 Next, the installation-procedure continues by starting the program
179 <A HREF="toolinst.htm#FBBSETUP">FBBSETUP</A>. This program lets you set all the parametres in <A HREF="fmtinit.htm">INIT.SRV</A> and
180 <A HREF="fmtport.htm">PORT.SYS</A> that you need for your installation.
181 (FBBSETUP supports multiple language files, but for the first time
182 installation you will probably have only the English language files.)
183 Please take great care here, and go through ALL the pages of this
184 installation very carefully before you exit the program. Be sure to put in
185 your correct callsign, your correct H-route etc. FBBSETUP will update <A HREF="fmtinit.htm"></A>
186 <A HREF="fmtinit.htm">INIT.SRV</A> and <A HREF="fmtport.htm">PORT.SYS</A> for you, you will not need to change it manually later,
187 if you take great care to do a good job now.
188
189 The path FBB\BIN must be included in your PATH in AUTOEXEC.BAT. Do this by
190 adding to the PATH line in AUTOEXEC.BAT ";C:\FBB\BIN" like :
191
192 PATH C:\;C:\FBB\BIN
193
194 Next, the same procedure for LinFBB follows. Skip it, and go directly to
195 the section called <A HREF="#First-time">"FIRST-TIME SETUP OF DIFFERENT FILES."</A>
196
197
198 <FONT COLOR="#ff0000">For LinFBB:</FONT>
199
200 There are two versions:
201 a windowing version (using X11 windowing system and MOTIF toolkit).
202 a daemon version. The daemon version has no interface and works alone in
203 background (like works an anti-virus, hi...). So the compter may be used
204 for any application while the BBS is running.
205
206 Tnx to SM6TKY:
207
208 If you need some help in setting up AF_AX25 and AF_NETROM for use with
209 LinFBB, you may want to read the <A HREF="tllinux.htm">Appendix 23</A>.
210
211 You should now be ready to start the installation procedure.
212 To install and run LinFBB you <B>MUST</B> have root access,
213 you may log in as root or you can go to superuser mode with: su root
214
215 (1)
216 Put the floppy disk into the diskdrive.
217
218 (2)
219 If you have MTOOLS installed.
220 To copy from floppy disk A:, type: mcopy a:/x700.tgz /tmp
221 To copy from floppy disk B:, type: mcopy b:/x700.tgz /tmp
222
223 If you have NOT MTOOLS installed.
224 To mount floppy drive A: type: mount -t msdos /dev/fd0 /mnt
225 To mount floppy drive B: type: mount -t msdos /dev/fd1 /mnt
226
227 Then type: cp /mnt/x700.tgz /tmp , to copy the contents of disk to /tmp,
228 then type: umount /mnt , to unmount the floppy disk.
229
230 (3)
231 Now you should create the base directory where you want LinFBB.
232 Example, if you want LinFBB in: /usr/local/fbb
233 Then type: mkdir /usr/local/fbb
234
235 (4)
236 If you now are ready to install LinFBB for the first time on your PC,
237
238 Type: cd /usr/local/fbb , to go to the LinFBB root directory.
239 Type: tar xvzf /tmp/x700.tgz , to unpack the LinFBB archive.
240
241 OK. That is about all.
242 Now the BBS-program and all its files will be installed on your hard-disk.
243
244 Next, the installation-procedure continues by starting the installation
245 script named <FONT COLOR="#ff0000"><A HREF="toolinst.htm#INSTALL">INSTALL.SH</A></FONT>
246
247 This script lets you set most of the parametres in <A HREF="fmtinit.htm">INIT.SRV</A> (BUT NOT ALL !)
248 that you need for your installation. Please take great care here, and go
249 through ALL the questions of this installation very carefully before you
250 exit the script. Be sure to put in your correct callsign, your correct
251 H-route etc. The script INSTALL.SH will update <A HREF="fmtinit.htm">INIT.SRV</A> for you, but you
252 will also need to check the rest of it manually, too, afterwards !
253
254
255 <A NAME="First-time"><!-- --></A><BIG><B>FIRST-TIME SETUP OF DIFFERENT FILES.</B></BIG>
256
257 So far so good... Now we must modify some files, to make the system work. I
258 will describe all the changes you MUST do, and some changes that you CAN do,
259 if you like. Read this section very carefully. For most of the files it is
260 VERY important that the number of non-comment lines must NOT be changed.
261 Later in the sysop-manual you will find more details on some of these files,
262 and also details on other files that are not described here in this startup-
263 section.
264
265 Files you MUST check/change:
266 <A HREF="fmtrunfb.htm">RUNFBB.BAT</A> <FONT COLOR="#ff0000">(ONLY for WinFBB)</FONT>
267 <A HREF="fmtxfbb.htm">XFBB.SH</A> <FONT COLOR="#ff0000">(ONLY for LinFBB)</FONT>
268 <A HREF="fmtappel.htm">APPEL.BAT</A> <FONT COLOR="#ff0000">(ONLY for DosFBB)</FONT>
269 <A HREF="fmtport.htm">PORT.SYS</A> <FONT COLOR="#ff0000">(MUST be changed for LinFBB, no changes needed for WinFBB or DosFBB)</FONT>
270 <A HREF="finittnc.htm">INITTNCx.SYS</A>
271 <A HREF="fmtmaint.htm">MAINTx.SYS</A>
272
273 Files you must change if you plan to do any forward:
274 <A HREF="fmtbbs.htm">BBS.SYS</A>
275 <A HREF="fmtforwa.htm">FORWARD.SYS</A>
276
277 Files you should check, too, but not SO important:
278 <A HREF="fmtbeaco.htm">BEACONx.SYS</A>
279 <A HREF="fmtepurm.htm">EPURMESS.INI</A>
280 <A HREF="fmtswapp.htm">SWAPP.SYS</A>
281
282 Files that are automatically configured by INSTWFBB and FBBSETUP, and should
283 normally not be needed to change manually after <FONT COLOR="#ff0000">(DosFBB and WinFBB)</FONT>.
284 <A HREF="fmtinit.htm">INIT.SRV</A>
285 <A HREF="fmtport.htm">PORT.SYS</A>
286
287 Files you may have a look at later (not so important).
288 <A HREF="fmtcron.htm">CRON.SYS</A>
289 <A HREF="fmtrejec.htm">REJECT.SYS</A>
290 <A HREF="fmtprote.htm">PROTECT.SYS</A>
291 <A HREF="fmtlang.htm">LANGUE.SYS</A>
292 <A HREF="fmttheme.htm">THEMES.SYS</A>
293 <A HREF="fmtredis.htm">REDIST.SYS</A>
294 <A HREF="fmtmemo.htm">MEMO.SYS</A>
295
296
297
298 <BIG><B>Start the BBS for the first time.</B></BIG>
299
300 Now you should be ready to start the BBS for the first time. Before you do,
301 make sure that the internal clock of the BBS is correct. If not, you must
302 correct it now with the DOS-command DATE and TIME. In most newer PCs today,
303 the clock is automatically set at each power-up. But in some older PCs you
304 may need to use a special clock/calendar card in your PC, and use a special
305 program to set the date/time at each startup. For this you must look in the
306 manual for that clock/calendar card and include the appropriate command in
307 your AUTOEXEC.BAT file.
308
309 <FONT COLOR="#ff0000">For WinFBB:</FONT>
310 Go to the FBB program-group an double-click the WinFBB icon.
311
312 <FONT COLOR="#ff0000">For DosFBB:</FONT>
313 Go to the FBB directory and type APPEL and press ENTER.
314
315 <FONT COLOR="#ff0000">For LinFBB:</FONT>
316 To start LinFBB in X-Windows:
317 Go to base directory and run "./xfbb.sh" in a xterm.
318 To start LinFBB deamon:
319 Go to base directory and run "./xfbb.sh -d &amp;".
320
321 The first time you start the BBS like this, it may ask you if you want to
322 create some files. Just answer Y (for Yes) every time. Then those files are
323 automatically created for you.
324
325 The BBS should now be ready for use. Try a connect to the BBS. Do this by
326 pressing F2. The BBS will ask you for your name, city, home-BBS and
327 ZIP-code.
328
329 <FONT COLOR="#ff0000">Only for LinFBB:</FONT>
330 <B>Deamon version of LinFBB:</B>
331 Go to 'bin' directory, then use the utility 'xfbbC' to connect (eg: xfbbC -c).
332 If you have set up <A HREF="fmtport.htm">PORT.SYS</A> to allow incoming Telnet connections
333 to LinFBB, then you can also use this..
334 For example, if you defined LinFBB to listen on port 6300 (hex = 189C)
335 for incoming Telnet connections, then you type: telnet sm6tky.ampr.org 6300
336 <B>X-Windows version of LinFBB:</B>
337 Select the "Window" in menu, and then select "Console"
338 to enter Console connection.
339
340
341 Next you must define all the BBSs you want to forward to. You do this with
342 the command EU. If you want to have forward to for example LA2D, you
343 type EU LA2D.
344
345 The BBS will say that this callsign is not known, and ask if you want to
346 create it. You answer Y. Next you will see a line of different options for
347 that user. You only have to type B. Now that callsign (LA2D) will be defined
348 as a BBS. You must press ENTER once more to stop editing the user. Repeat
349 this procedure with the callsign of all the BBSs that you will forward to.
350 You terminate the keyboard-session with the command B (Bye).
351
352 Well, if all is ok, and you have not encountered any big problems so far,
353 you can stop the BBS.
354 <FONT COLOR="#ff0000">In DosFBB</FONT> you do this with Alt-F10 or Alt-x.
355 <FONT COLOR="#ff0000">In WinFBB</FONT> you do this by pressing Alt-F4).
356 In <FONT COLOR="#ff0000">LinFBB</FONT> you do this:
357 <B>Deamon version:</B>
358 Do 'ps ax' , check for 'xfbbd' look after
359 the process number and do 'kill &lt;process number&gt;'
360 <B>X-Windows version:</B>
361 Select "File" in menu, and then select "Exit"
362 to shutdown the BBS.
363
364 You can connect the TNCs, and in <A HREF="fmtinit.htm">INIT.SRV</A> you must change from No to Ok in
365 the line that asks 'Mode test ?', or
366 <FONT COLOR="#ff0000">in WinFBB</FONT> : Click on the WinFBB Configuration icon
367 <FONT COLOR="#ff0000">in LinFBB </FONT>: Use INSTALL.SH
368 <FONT COLOR="#ff0000">in DosFBB</FONT> : Use FBBSETUP
369 to change the field "TEST MODE" to "NO".
370
371
372 <BIG><B>The TNC.</B></BIG>
373
374 This software will work with different kinds of TNCs or TNC-interfaces:
375
376 - TNC-2 or close clones. The EPROM of type 27256 must be replaced by a
377 special EPROM with the WA8DED host-mode software, or by the german TF4,
378 TF8, TF18 or similar.
379
380 - PK-232 in host-mode.
381
382 - Kantronics KAM in host-mode. You need a special driver called ESSKAM.
383
384 - DRSI-card.
385
386 - G8BPQ-node (uses TNCs in KISS-mode).
387
388 The software for the TNC-2 host-mode EPROMs TF4 and TF8, may be included on
389 the distribution-disks. If you cannot burn new EPROMs yourself, there are a
390 lot of hams around who can. You can also send a new EPROM to F6FBB or FC1GHV
391 (with return-postage and packing material, of course) and they will do the
392 work for you.
393
394 The TNC should work on 4.9 MHz. The standard is 2.5 MHz, but a modification
395 for this is normally quite simple. In some cases it might be necessary to
396 replace the Z80 and the Z80 SIO by A-versions.
397
398 If you use standard TNC-2 with one of the mentioned host-EPROMs, you can
399 start again now, and all should work fine. Make sure that the TNCs have the
400 same baud-rate as you wrote in <A HREF="fmtport.htm">PORT.SYS</A>, and that they really are connected
401 to the COM-ports that you said in PORT.SYS.
402
403 If you do NOT use a standard TNC-2 with DED-type host, but PK-232, BPQ,
404 Kantronics KAM or DRSI-card, you must read about your special TNC-
405 setup in one (or more) of the chapters <A HREF="fpk232.htm">PK-232</A>, <A HREF="fbpq.htm">BPQ</A>, <A HREF="fkam.htm">KAM</A>, <A HREF="fdrsi.htm">DRSI</A> or <A HREF="ftfpcx.htm">TFPCX/TFPCR</A>
406 before you can start the BBS again.
407
408 If the TNCs don't work ok with the software, you will see this when you
409 start the BBS. You will have a lot of error-messages on the screen, and the
410 TNCs may start to resync. Stop the program and go through all the setup once
411 more.
412
413 <FONT COLOR="#ff0000">For WinFBB:</FONT>
414 You may need to check the port-speed in Windows, make sure it is the same
415 for the port, as you have set the TNC and <A HREF="fmtport.htm">PORT.SYS</A> to.
416
417
418 <A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A>
419
420 <A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A>
421
422 <FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT>
423
424 </PRE>
425 </BODY></HTML>