home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / vdocs.zip / VC12C < prev    next >
Text File  |  1994-01-10  |  23KB  |  491 lines

  1.  
  2. .TOPIC:
  3. Interfacing with WWIV-type Networks
  4.  
  5.            ╔══════════════════════════════════════════════════════════╗
  6.            ║ CHAPTER 12 ANNEX C   INTERFACING WITH WWIV-TYPE NETWORKS ║
  7.            ╚══════════════════════════════════════════════════════════╝
  8.  
  9.  
  10.            Requirements
  11.            ════════════
  12.            It should be pointed out that in order to interface VBBS
  13.            with WWIVNet and WWIVLink (or other WWIVtype networks), you
  14.            should register VBBS as soon as possible.  Multinet access in
  15.            the demo version is limited to 60 days, after which time
  16.            all network interface utilities with the exception of VNet,
  17.            become inoperable.  By registering, you are guaranteed that
  18.            network access will not be interrupted, so please do register
  19.            VBBS as soon as possible to avoid any inconvenience.
  20.  
  21.            VWW4.EXE is the interface utility designed especially for
  22.            VBBS which carries out the net interface function for every
  23.            WWIV-type network, including WWIVNet, WWIVLink, and
  24.            ICENet.  Before setting up the interface, however, you should be
  25.            aware that many subs from these networks are now being gated to
  26.            VirtualNET.  Thus, it may not even be necessary for you to carry
  27.            out this interface at all if that is what you are after.
  28.  
  29.            Now, if you already have VWW4.EXE in hand and want to continue
  30.            with the interface installation, be aware that you MUST also
  31.            have a WWIVnet or WWIV-type node number in order to net.  You
  32.            must also set up the appropriate WWIV network files according
  33.            to instructions from your AC/GC.
  34.  
  35.            WWIVNet network policy requires registration of the WWIV
  36.            network software within 60 days.  After this period ,
  37.            unregistered sysops are automatically dropped from the WWIV
  38.            bbslist.  The WWIV network files may be registered separately
  39.            for $20, and we urge all sysops that wish to have access to
  40.            all WWIV-type subs to register this software.  Contact your
  41.            local WWIV AC for more information.  As for WWIVLink sysops,
  42.            no such registration requirement currently exists and separate
  43.            network software is available.
  44.  
  45.  
  46.                                         VBBS 6.12 Documentation--12-C-2
  47.  
  48.          Installation
  49.          ════════════
  50.           Step 1 - Run option 7, Networks Configuration in VConfig
  51.                    and choose the appropriate slot to configure.
  52.                    Here you will see the following:
  53.  
  54.                    1. Node Number:
  55.                    2. Data Directory:
  56.                    3. Mode:
  57.                    4. EXE Directory:
  58.                    5. Dialout Init String:
  59.  
  60.                    U. Uninstall this Network
  61.  
  62.           Step 2 - Enter your WWIVnet node number in the first field.
  63.  
  64.           Step 3 - In the next field, enter the full path to the WWIVNet
  65.                    DATA directory (e.g. c:\wwiv\data).
  66.  
  67.           Step 4 - For Mode, select NET for WWIVNet-type networks, or
  68.                    LINK for WWIVLink-type networks.
  69.  
  70.           Step 5 - For the entry to the EXE (executeable) directory,
  71.                    specify the complete path to where the WWIV network
  72.                    executeable files are located  (e.g. c:\wwiv).
  73.  
  74.           Step 6 - For your Dialout Init String, leave this blank for now,
  75.                    unless you are using a version of WWIV prior to WWIV
  76.                    4.20.  Later on when testing your WWIV connect with the
  77.                    multinet engine, it may be necessary for you to include
  78.                    the WWIV modem init string in this space if you fail to
  79.                    connect properly.  This string would be the same one
  80.                    chosen from the WWIV modems.mdm file.  Again, make sure
  81.                    you connect properly to your WWIV server independently
  82.                    from VBBS before attempting the interface here.
  83.  
  84.           Step 7 - After Vconfiguring the NETWORK option above, unzip the
  85.                    VWW4.exe file in your root VBBS directory and read the
  86.                    technical information given in the VWW4.DOC . It should
  87.                    be noted that the multinet engine in VBBS 6 is
  88.                    automatic and requires no batch files, but batch files
  89.                    may be used for convenience and flexibility depending
  90.                    upon your setup.
  91.  
  92.           Step 8 - You must now create an ANSWER.NET file based on the
  93.                    information provided in the MULTINET.DOC file.  This
  94.                    should be placed in your VBBS DATA subdirectory.
  95.                    For a VBBS that is on WWIVNet, the ANSWER.NET file
  96.                    would look as follows:
  97.  
  98.                    !
  99.                    ?78=2
  100.                    ?32=2
  101.  
  102.                    For a VBBS on WWIVNet and WWIVLink, the ANSWER.NET
  103.                    would contain:
  104.                                         VBBS 6.12 Documentation--12-C-3
  105.  
  106.  
  107.  
  108.                    !
  109.                    ?78=2
  110.                    ?32=2
  111.                    ?76=3
  112.  
  113.                    Please refer to other parts of the documentation for
  114.                    more details.  Just as an explanation, the ?78 above
  115.                    refers to the N N N sign that WWIVNet sends as an
  116.                    incoming identifier.  The ?76 is an L L L that WWIVLink
  117.                    uses.  These are ascii characters 78 and 76,
  118.                    respectively.
  119.  
  120.  
  121.           Step 9 - Copy NETWORKS.LST from the zip package to the VBBS NET
  122.                    subdirectory.
  123.  
  124.           Step 10 - If you are interfacing with both WWIVnet and WWIVLink,
  125.                     you MUST maintain separate directories for NET and
  126.                     LINK as mentioned previously.  The same holds true for
  127.                     any other WWIV-type networks you subscribe to.  In each
  128.                     directory make sure that all of the WWIV network files
  129.                     are in their proper places.  Make sure you have run
  130.                     Vconfig's Network option and set the path correctly
  131.                     to where the respective networkx.exe files are
  132.                     located.
  133.  
  134.           NOTE :
  135.     
  136.           You will also have to maintain the DATA subdirectories in each
  137.           of these to create the necessary NNxxxx.net and Nxxxx.net
  138.           or NNALL.NET files needed later to subscribe and to host subs
  139.           on WWIVNet.  If you are converting totally over to VBBS from WWIV
  140.           and would like to delete unnecessary/unwanted WWIV files, a list
  141.           of the required WWIV files is available from support sites. Erasure
  142.           of unwanted files, however, should be the very last step you
  143.           take in the conversion process after verifying successful
  144.           net connections.  As an alternative to deletion, we suggest that
  145.           you simply zip up the unnecessary files and keep them in a safe
  146.           place in the event you need them to reconfigure something in
  147.           WWIV itself later.
  148.  
  149.           Step 11- Run VConfig again and choose the Databases (option 3).
  150.                    Choose Sort Databases to allow the program to set up.
  151.                    Now choose the Compile Networks option.  It is important
  152.                    to note than whenever ANY changes are made in the
  153.                    Network option or in Database entries, this must be
  154.                    followed by the Sorting and Compiling options above
  155.                    for the changes to take effect.
  156.  
  157.           This complete the network installation procedure.
  158.  
  159.                                         VBBS 6.12 Documentation--12-C-4
  160.  
  161.           Installing Message Bases
  162.           ════════════════════════
  163.           Assuming you have placed VWW4.exe in your main VBBS
  164.           directory and vconfigured the networks properly,
  165.           then installing a message base is a fairly simple process.
  166.           Follow the instructions given in the main documentation
  167.           regarding adding databases.
  168.  
  169.           In the database entry for a sub, note that option G is for
  170.           Networks Configuration. Choosing this will bring up
  171.           a screen which allows you to A)dd D)elete E)dit  a
  172.           network.
  173.  
  174.           Pressing A) to add a network brings up a screen where you
  175.           can choose the appropriate network.  For a sub carried on
  176.           WWIVNet, you would choose entry 2, for example.
  177.  
  178.           Doing so will bring up another prompt as follows:
  179.  
  180.           WWIVNet Network Conference Identifier:_
  181.  
  182.           Simply enter the subtype number of the message base you
  183.           want, and press enter.
  184.  
  185.           Exit out of the database to the main database menu and
  186.           once again, choose Sort Databases and Compile Networks.
  187.  
  188.           Please note that if a message base is being gated to
  189.           VirtualNET from any other network, you have the option
  190.           of subscribing to it as a VirtualNET sub or as a sub
  191.           from another network, but NOT both.  Doing so will result
  192.           in duplicate posts.
  193.  
  194.           NOTE:
  195.     
  196.           If you are subscribing to a Net or Link sub for the first
  197.           time, you must follow the normal procedure of requesting
  198.           the sub from the host and setting up the appropriate
  199.           NNxxx.NET files or NNALL.NET file in the proper data directory.
  200.           In addition this version of VBBS also supports WWIV's auto
  201.           request sub feature (req.exe) using the VREQ utility available.
  202.           It also accepts type 20 messages (subs.pub) using the VWWIV
  203.           utility.
  204.  
  205.  
  206.           Hosting a WWIV Sub
  207.           ══════════════════
  208.           If you are currently hosting a WWIV message base, be assured
  209.           that the same procedure above works for hosts.  Again, simply
  210.           enter the appropriate subtype when asked for the Network
  211.           Conference Identifier.  Don't forget that you must maintain your
  212.           distribution list through you Nxxxx.NET file as usual.  Subs
  213.           flagged for validation may be validated from the SysOp SubMenu.
  214.  
  215.                                         VBBS 6.12 Documentation--12-C-5
  216.  
  217.           Gating Subs to Other Networks
  218.           ═════════════════════════════
  219.           If you are currently hosting a sub on WWIVNet or another
  220.           network, you probably will be interested in 'gating' your sub
  221.           into VirtualNET or other networks to expand your subscriber
  222.           base.  This is easily accomplished by adding additional networks
  223.           to your database entry.  Entering more than one network and
  224.           respective Network Conference Identifier (subtype, sub number,
  225.           echo,area,etc.) effectively 'gates' that database.
  226.  
  227.           NOTE:
  228.  
  229.           If you are running VBBS as a chain, we do not recommend that you
  230.           attempt gating due to the mechanics of the multinet engine. If
  231.           you wish to gate to multiple networks, we strongly recommend
  232.           that you run VBBS as your main bbs software for simplicity's
  233.           sake.
  234.  
  235.           Please refer to the network portion of the documentation for   
  236.           how to set up a hosted VirtualNET sub, sub numbers,etc.
  237.  
  238.           Forcing a Callout
  239.           ═════════════════
  240.           Please note that the VWW4 software is fully automatic, and will
  241.           callout and receive calls from your server depending upon your
  242.           main settings for Threshold and Polling in Vconfig.  However, you
  243.           most likely will wish to force callouts to your server from
  244.           the WFC screen from time to time.  To do so, you should Type 'N'
  245.           from the Control Panel.  First, this will bring up all the
  246.           Networks you currently belong to. Select the appropriate network
  247.           followed by the appropriate system (server).  This will force
  248.           the system to call a particular node.
  249.           NOTE:
  250.           WWIVNet and WWIV-type callouts are completely automated if you
  251.           are running VBBS as your main program.  Be sure to set your
  252.           Threshold level and Polling frequency in Vconfig.  Note that the
  253.           settings of these levels apply generically to all networks,
  254.           (e.g. the same threshold and polling configurations apply to
  255.           VirtualNET, WWIVNet, and WWIVLink packets).  Setting the
  256.           threshold level to 0 effectively tells the software never to
  257.           dial out automatically, so be sure to change this.  For different
  258.           calling schedules, appropriate utilities such as POLLUTIL.ZIP
  259.           and VWW4-CHK.ZIP are available to customize your setup.
  260.  
  261.  
  262.           VWW4 Activity Log
  263.           ═════════════════
  264.           All net connections made by VWW4 are also listed in the VWW4.LOG
  265.           file which can be found in your main WWIV directory.  We suggest
  266.           setting up a function key to be able to view this from the VBBS
  267.           WFC screen using the Control Panel option in Vconfig.  For
  268.           example, a bat file called VWW4LOG.BAT could be created and
  269.           placed in your VBBS directory with the following command line:
  270.  
  271.           CD\WWIV
  272.           VLIST VWW4.LOG
  273.           CD\VBBS
  274.                                         VBBS 6.12 Documentation--12-C-6
  275.  
  276.  
  277.           If you are interfacing with both WWIVNet and WWIVLink, then a
  278.           second batch file similar to the above would need to be created
  279.           pointing to your Link directory, and a second function key set
  280.           up in the Control Panel.
  281.  
  282.           Viewing WWIV's  net logs may be done in the same fashion using
  283.           the Control Panel.  Simple script mods are also available to view
  284.           all pending lists from the internal Sysop Menu in VBBS.
  285.  
  286.           Analyzing the BBSList
  287.           ═════════════════════
  288.           VBBS creates a listing of systems belonging to various networks
  289.           that is used for routing mail.  You will need to compile this
  290.           information for WWIV the first time you set up so that it may be
  291.           viewed from inside of the board.  Subsequent updates are made
  292.           automatically.  Note that when WWIV calls in with new bbslists,
  293.           these will be compiled normally and no special maintenance is
  294.           necessary.
  295.  
  296.           To make a new indexed list of WWIV boards for use by VBBS,
  297.           please delete the existing BBSDATA.IDX file from your WWIV data
  298.           subdirectory first.  Then, from the WWIV main directory type:
  299.           NETWORK3 /Y  .  This will produce new a new idx file.
  300.  
  301.           Now, generate a new bbslist index for VBBS.  Change to the root
  302.           VBBS directory where VWW4 is located and type:
  303.  
  304.           VWW4 B NETWORKID=2   for the WWIVNet list, or
  305.           VWW4 B NETWORKID=3   for the WWIVLink index
  306.  
  307.           You should now have succesfully created the new bbslist index
  308.           file that VBBS uses.  This is located in your VBBS Data
  309.           subdirectory.
  310.  
  311.           The procedure is similar for generating bbs listings for other
  312.           WWIV-type networks.  Be aware of the importance of specifying the
  313.           correct Network Identifer Number in the above command line
  314.           NETWORKID=  .  Refer to the list of networks available in
  315.           VConfig's Network options if you need to refresh your memory on
  316.           what network the appropriate network number is.
  317.    
  318.           VWW4 Command Line Switches
  319.           ══════════════════════════
  320.            The Virtual MultiNet Engine (VME) handles WWIVtype networks
  321.            seamlessly.  However, VWW4 functions may be called up from batch
  322.            files also, thus providing a flexible means for you to customize
  323.            your setup.
  324.  
  325.            VME will run the VWW4 as needed automatically, providing the
  326.            proper NETWORKID= and PORT= parameters. Running from a command
  327.            line, however, you must specify the following three command
  328.            line parameters:
  329.                                         VBBS 6.12 Documentation--12-C-7
  330.  
  331.  
  332.            VWW4 <command letter> NETWORKID=<net #> PORT=<COM port #>
  333.  
  334.            The command letter tells VWW4 what to do:
  335.  
  336.            Command Letters are:
  337.   
  338.            B      Bundle mail for WWIV (Update WWIV packets and bbslists)
  339.            U      Unbundle mail from WWIV and store in VBBS databases
  340.            D####  Dial WWIV System #, do transfer, and unbundle if
  341.                   successful
  342.            A      Answer WWIVnet call, do transfer, and unbundle if
  343.                   successful.
  344.  
  345.            The NETWORKID= parameter tells VWW4 which network to process.
  346.            WWIVnet is net #2, WWIVLink is net #3, ICEnet is net #6, and if
  347.            new WWIVnet based nets appear, they will have net numbers
  348.            assigned to them as well.  Check NETWORKS.LST for the current 
  349.            network list.
  350.  
  351.            The PORT= parameter must be included when using VWW4 to answer,
  352.            or dial a network call.  This specifies a COM port number.
  353.  
  354.            An example of forcing bundling from the command line would
  355.            look like this:
  356.  
  357.            VWW4 B NETWORKID=2 PORT=2
  358.  
  359.            This would bundle the mail for WWIVNet for processing on comport
  360.            2.
  361.  
  362.                                         VBBS 6.12 Documentation--12-C-8
  363.  
  364.            Below, we put this altogether in a specific example:
  365.  
  366.            Installation Example
  367.            ════════════════════
  368.  
  369.            For this example, we will be using a WWIV type network called
  370.            WeasNet.  Be sure to change the directory and network names with
  371.            the directory and  network names that you use.
  372.  
  373.            -= Step A:  WWIV Setup =-
  374.  
  375.            NOTE: You will need to install one copy of WWIV for EACH WWIV
  376.                  type network you will be running.  The following steps can
  377.                  be used for each WWIV network.
  378.  
  379.            1)  Make a directory under your VBBS directory called WEASNET.
  380.                i.e.  C:\VBBS\WEASNET
  381.  
  382.            2)  Copy an uninstalled version of WWIV and the WWIV network
  383.                software (like NET33) into the WEASNET directory.
  384.  
  385.            3)  Run INIT to perform the initial installation.  Be sure to
  386.                set up your modem type and COM port, since the WWIV network
  387.                software will use this to dial out.
  388.  
  389.            4)  Once finished, exit INIT and run NETWORK3.  It should give
  390.                you an error that you do not have a WWIVNet node number set
  391.                up.
  392.  
  393.            5)  Go back into INIT.  Go into 'N' for network info.  Change the
  394.                name to WeasNet and change the node number to the node number
  395.                assigned to you.
  396.  
  397.                Example:      Network name   : WeasNet
  398.                              Node number    : 10
  399.                              Data Directory : DATA\
  400.  
  401.            6)  Exit INIT.  Copy your WeasNet network files (BBSLIST.1,
  402.                CONNECT.0, etc) into your WeasNet DATA directory.
  403.                i.e.   C:\VBBS\WEASNET\DATA
  404.  
  405.            7)  From the VBBS\WEASNET directory, run NETWORK3.  It should
  406.                say 'net33: Analyzing WeasNet connections...'
  407.  
  408.                                         VBBS 6.12 Documentation--12-C-9
  409.  
  410.            -= Step B:  VBBS Setup =-
  411.  
  412.            NOTE: You will need VWW4 6.11 or later, the VBBS<->WWIV
  413.                  interface, available from the VBBS Support Boards.
  414.  
  415.            1)  Install VWW4 in your VBBS directory.
  416.  
  417.            2)  Edit your NETWORKS.LST file in your VBBS\DATA directory.
  418.                Either add or change an entry to read WeasNet, and the type
  419.                (the second number) should be 2.  i.e.    4,2,WeasNet
  420.  
  421.            3)  Run Vconfig.  Go into 7. Network Configuration.  Add a
  422.                network and choose WeasNet.  Type in your node number.  The
  423.                DATA directory will be C:\VBBS\WEASNET\DATA and the EXE
  424.                directory will be C:\VBBS\WEASNET.
  425.                Leave the dialout string blank.
  426.  
  427.            4)  Go into 3. Database Configuration and Compile Network Info.
  428.  
  429.            5)  Try running VBBS.  WeasNet should now show up in your
  430.                Network Listing.
  431.  
  432.            That should be it for the basic setup.  There will be a few more
  433.            things to take into consideration, and we'll cover those now.
  434.  
  435.            When WWIV calls WWIV for a network connect, it sends a series
  436.            of N's and spaces (i.e. 'N N N N N'), and WWIV will look for
  437.            these to tell that it's the network.  VBBS will do this, but not
  438.            automatically.  You need to make a file called ANSWER.NET in your
  439.            DATA directory to tell VBBS what to look for, and when it sees
  440.            it, what net to go to.
  441.  
  442.            It's recommended that your WWIV network connects use a macro
  443.            that will send a unique network identifier when it calls.  Let's
  444.            say that your WeasNet connect uses a macro that sends a 'W' when
  445.            it calls.  You will need to make an ANSWER.NET file that looks
  446.            something like this:
  447.  
  448.            >NN:
  449.            !
  450.            ?87=4
  451.  
  452.            The '>NN:' will tell VBBS to send a NN: at the Network Detection
  453.            Phase. The '?87' will tell VBBS that when it sees a 'W' when it's
  454.            doing the Network Detection, go and run the software for network
  455.            4 in the Network Configuration.
  456.  
  457.            Make sure that the WWIV board you connect to is aware of this.
  458.            They will have to make a macro to send the 'W' to access
  459.            WeasNet, and also modify their CALLOUT.NET file to have the macro
  460.            enabled.
  461.                                         VBBS 6.12 Documentation--12-C-10
  462.  
  463.            The macro should look something like this (M1.NET):
  464.  
  465.            DEBUG ""
  466.            DIAL "%2"
  467.            WAITFOR "NN:"
  468.            SEND "W"
  469.  
  470.  
  471.            When the WWIV network software sees a 'NN:' it will send a 'W'
  472.            to access WeasNet.
  473.  
  474.            Also, in their CALLOUT.NET file, they will need to add a %1
  475.            between their WeasNet connect and the & sign.  Example:
  476.  
  477.             @1      %1      &         ;         "KHOGKEJHKLJDHF"
  478.  
  479.            The %1 tells WWIV to run the macro M1.NET.  A %2 would tell it
  480.            to run M2.NET, %3 is M3.NET, etc.
  481.  
  482.            Ok, now with a little luck and if everything is set up
  483.            correctly, here is what is supposed to happen:  WWIV starts a
  484.            net callout and runs the macro.  Once connected, it starts
  485.            looking for 'NN:'.  Meanwhile, VBBS is answering the phone
  486.            and doing its Network Detection.  A few seconds after VBBS sends
  487.            the '°°', it will send an 'NN:'.  WWIV sees this and then sends
  488.            a 'W'.  VBBS sees this and, according to the ANSWER.NET file,
  489.            goes and runs network 4.
  490.  
  491.