home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
PPPBB301.ZIP
/
PPPBBS.DOC
< prev
next >
Wrap
Text File
|
1998-02-17
|
116KB
|
2,646 lines
PPPBBS Version 3.01
(DOC Revision 27)
---------------------
Copyright (C) Roland De Graaf 1998
All Rights Reserved
---------------
http://www.degraaf.net
http://www.ameritech.net/users/pppbbs/index.htm
http://pppbbs.dyndns.com
ftp://pppbbs.dyndns.com
telnet://pppbbs.dyndns.com
INTRODUCTION
------------
PPPBBS is the ultimate Internet-based BBS/TCPIP host
telecommunications software. It is a multi-functional
program, focused toward TCP/IP connectivity with minimal
expense. For a complete list of major features, please
see FEATURES.DOC.
When you dial your internet service provider and connect
your computer to the internet, you are most likely using the
Point-to-Point-Protocol, also known as PPP. Put in simple
terms, PPP is a way for two computers to communicate together
for networking purposes, such as running TCP/IP applications
like web browsers, ftp clients, and so on. PPP does the work
necessary to dial/answer the modem, negotiate session options,
authenticate username/password, negotiate the IP address, and
allow TCP/IP and UDP/IP to communicate over the data link.
PPPBBS is, at the core, a software-based multiuser Internet
Network Access Server that uses PPP over serial connections
(modems or direct connect). PPPBBS dials-out and establishes a
PPP connection to your internet service provider, using your PPP
account. Up to 8 callers can then call in on your other phone
lines with some type of PPP peer software (such as Windows 95
Dial-Up Networking) and use your Network Access Server and have
full access to the internet and/or your own intranet based
on the built-in server applications, such as the web server.
Non-PPP callers (ie using regular, old terminal software)
can login in text mode and use your PPPBBS mini-BBS.
PPPBBS runs great all by itself, as a complete stand-alone
system. If, however, you have an existing BBS software going
you don't want to give up, PPPBBS can also be optionally
configured to function in a front-end mode where it answers
all calls and transfers text-mode (ie non-PPP) callers to your
existing BBS software on an as-needed basis. This means you can
add the capability of offering PPP Internet access to your
callers WITHOUT giving up your existing BBS.
Q: What type of internet account is needed?
A: Any PPP account should do nicely. Cheap is OK.
PPPBBS is designed to be compatible with a wide range of PPP
accounts for making that connection that connects your site
to the Internet. It can be used with expensive, dedicated,
static IP address accounts, or considerably cheaper, non-dedicated,
dynamic IP address accounts.
Q: Do I need to "own" a range of IP addresses for my callers to use?
A: No. PPPBBS cleverly makes use of one single IP address.
Q: Do I need to have a fixed IP address?
A: No. PPPBBS works with either fixed or dynamic IP addressing.
Q: Do I need to connect to my internet service provider 24 hours
a day?
A: Only if you want to. PPPBBS can be set to DEDICATED (24 hrs) or
DIAL-ON-DEMAND (only when an incoming caller is online).
Q: How fast is PPPBBS?
A: Because PPPBBS does *not* require a multitasker, and uses
a FOSSIL-driver in block-mode, it is lightning fast.
Q: What's a FOSSIL-driver?
A: See the end of this document file for FOSSIL specific information.
Q: What type of hardware do I need?
A: If running DOS, the computer should be a 486/33 or better,
with at least 1 megabyte of RAM and at least 2 serial ports
with modems. A hard drive is not required if you can fit
all of the necessary files on a floppy disk. Multiport serial
cards will allow you to have more incoming lines. An "older"
computer sitting in the corner can find new life as a router,
bbs, web server, and more.
If running OS2 or Win95, a 486/66 or better is recommended,
with at least 8 megabytes of RAM.
Q: How many phone lines will I need?
A: You need at least two: one for dialing out to your ISP,
and one for incoming callers. The program supports
up to 8 incoming phone lines, assuming you have enough serial
ports and a modem for each phone line. The minimum
recommended number of phone lines is 3: one for dialing out
(making the connection to the internet) and two for incoming
calls.
NOTE: If number of phone lines is a problem, see the section
ADVANCED OPTIONS & TIPS.
Q: How fast should my modem(s) be?
A: A 28.8k or 33.6k modem will work nicely for connecting to your
ISP; a 56k modem might be even better. The modems on your
incoming lines could be a mixture of 14.4, 28.8, 33.6 or faster.
Q: How does PPPBBS handle incoming calls?
A: PPPBBS automatically detects the difference between a PPP
caller and a text-mode caller, and then handles the call
accordingly. PPP callers get the services of the TCP/IP
router, while text-mode callers get the PPPBBS and/or
your existing BBS.
Q: Will callers need to use any "special" software to use
the Internet Network Access Server?
A: No. They use standard PPP peer software (for example Windows 95
Dial-Up Networking), standard applications, and standard
web browsers. There is no proprietary software required.
POSSIBLE APPLICATIONS
---------------------
How can you use PPPBBS?
* As a way to gate your Internet PPP connection to your LAN (TCP/IP).
* As a front-end that adds PPP access to an existing BBS.
* As an inter-office PPP router and BBS for small businesses to give
branch offices or "road warriors" access to either the internet,
the company intranet, or both.
* As an internet-sharing facility and BBS for your family, close
friends, associates, or community.
* As a complete mini-ISP with all the software you need in
one easy to set-up and use package.
* As a TCP/IP HTML-based BBS. If you want a graphical BBS,
forget proprietary GUI's. HTML and NetScape/Internet Explorer
are here to stay. PPPBBS with its built-in web server makes
it possible, and easy.
* As an ftp site and/or telnetable BBS.
SHAREWARE NOTICE & SOFTWARE LICENSE
-----------------------------------
THIS SOFTWARE IS NOT FREE. YOU MAY EVALUATE THE UNREGISTERED
VERSION FOR A MAXIMUM PERIOD OF UP TO 30 DAYS. AFTER THAT
TIME YOU MUST EITHER REGISTER THE PROGRAM OR DISCONTINUE ITS USE.
WHEN YOU REGISTER THE SOFTWARE PROGRAM (PPPBBS), YOU ARE THEREBY
GRANTED LICENSE TO USE THE SOFTWARE, DOCUMENTATION, AND REGISTRATION
KEYFILE ON ONE (1) COMPUTER SYSTEM (CPU).
ALL TITLE AND OWNERSHIP OF THE SOFTWARE REMAINS WITH ROLAND DE GRAAF,
THE AUTHOR OF THE SOFTWARE.
YOU AGREE THAT YOU MAY NOT:
1. DISTRIBUTE REGISTERED VERSIONS OF THE SOFTWARE OR ITS KEYFILE.
2. DECOMPILE, REVERSE-ENGINEER, DISASSEMBLE, OR MODIFY THE SOFTWARE.
3. INSTALL THE SOFTWARE OR REGISTRATION KEYFILE ON MORE THAN ONE
COMPUTER, UNLESS A SEPARATE REGISTRATION IS PURCHASED FOR EACH
COMPUTER.
4. TRANSFER OR RE-ASSIGN YOUR LICENSE TO USE THE SOFTWARE
OR ITS REGISTRATION KEYFILE.
THE SOFTWARE IS PROVIDED "AS-IS" WITH NO WARRANTIES OR GUARANTEES
OF ANY KIND. FURTHERMORE, THE AUTHOR SHALL NOT BE HELD
RESPONSIBLE FOR ANY DAMAGES, MONETARY OR OTHERWISE, ASSOCIATED
WITH THE USE OF THIS SOFTWARE.
THIS AGREEMENT MAY BE TERMINATED BY THE USER AT ANY TIME
BY DESTROYING ALL COPIES OF THE SOFTWARE AND ITS REGISTRATION
KEYFILE(S). THIS AGREEMENT MAY BE TERMINATED BY THE AUTHOR
IF THE USER IS FOUND TO BE IN BREECH OF ANY PORTION OF THIS
AGREEMENT.
THIS AGREEMENT MAY ONLY BE MODIFIED BY THE AUTHOR OF THE
SOFTWARE.
BY INSTALLING THE SOFTWARE ON YOUR COMPUTER YOU GIVE YOUR
CONSENT TO BE BOUND BY THE TERMS OUTLINED IN THIS DOCUMENTATION.
THIS AGREEMENT SUPERCEDES ANY AND ALL PREVIOUS LICENSE
AGREEMENTS PERTAINING TO THIS SOFTWARE.
SET-UP & EXECUTION
------------------
Set-Up for PPPBBS is easy. Run the SETUP.EXE that was
included with the archive. SETUP.EXE will create a couple
of directories and copy a few files. Set-up should not
take more than a few seconds. If you encounter any diffculty
in getting set-up you may email Tech Support for help.
PPPCFG.EXE and PPPBBS.EXE must always be executed from the
PPPBBS directory where the program has been set-up.
Once SETUP.EXE is complete, change drive and/or directory to
make the newly created PPPBBS directory the current directory
and execute PPPCFG.EXE for the first time to set-up the operating
parameters for the software. From then on, you may make changes
as necessary to these settings with PPPCFG.EXE.
Don't forget to set-up your FOSSIL driver.
Once the FOSSIL software is set-up, and PPPBBS has been
configured to use the correct FOSSIL ports, your site is ready
to start accepting calls. You execute PPPBBS by running PPPBBS.EXE.
No command line options are required.
NOTE: The files PPPCFG.PIF and PPPBBS.PIF are Windows 95 PIF
files, and are provided for your convenience. But putting a copy
of these files on your desktop, you can execute these programs
without having to type at a DOS prompt. You will need to modify
the "Properties" of these shortcuts if you instructed SETUP.EXE
to install PPPBBS in a directory other than C:\PPPBBS.
PPPCFG - SET-UP PARAMETERS EXPLANATION
--------------------------------------
PPPCFG.EXE is both the set-up (configuration) program for PPPBBS,
and the USER EDITOR for creating and editing user accounts for your
incoming callers. It is designed to be a user-friendly
utility that will allow you to make configuration changes quickly
and easily. The first time you read this documentation, it will
be helpful for you to have PPPCFG running and in view.
When editing PPPBBS settings, you can use the arrow keys
keys to select the field to edit. Pressing [Enter], or typing
text or numbers initiates field input/editing. Press [Enter],
[Esc], or up/down arrow keys to signal that you are done editing
that field.
The main PPPCFG configuration screen is mainly devoted to
set-up of the PPP router. The main PPPCFG configuration screen
is divided into six parts:
Router Configuration
Internet Account
DialOut Configuration
Environment
Security Configuration
Host Ports Configuration
Each of these sections will be described in detail in the sections
that follow.
Router Configuration
--------------------
This region of the set-up screen is used to set some of the basic
IP addresses that PPPBBS needs to operate. It should be noted
that some of these can sometimes be left at the default setting of
0.0.0.0 with the actual data automatically supplied by your
Internet Service Provider (ISP) when the router makes its initial
connection to the Internet. The settings for this region are:
Router IP: (default=0.0.0.0)
This is the IP address assigned to you by your ISP. It can
be a fixed (or static) address or a dynamically-assigned
address. If you have a fixed address, it should go here.
If you know for certain that you have a dynamically-assigned
address, or don't know what your address is, you should
set this field to 0.0.0.0, and the router will attempt
to get the address automatically from your ISP.
Primary DNS: & Secondary DNS: (default=0.0.0.0)
This setting is needed so that when you get incoming calls,
the router can attempt to automatically configure this
information for your PPP clients. If you set these to
0.0.0.0 then PPPBBS will try to get this information
from your ISP at initial connection to the Internet. It
should be noted, however, that not all ISPs support automatic
DNS assignment, and for those that do, it is possible that two
"hubs" operated by the same ISP may not both operate exactly
the same. If you know the IP addresses of your ISP's primary
and secondary domain name servers (DNS), then you should enter
this information here. If you do not know, then set it to
0.0.0.0 and PPPBBS will try to get the information
automatically.
Primary WINS & Secondary WINS: (default=0.0.0.0)
Most PPPBBS operators will not need these settings. In most
cases, these can be safely set to 0.0.0.0, and should not be
set to a value unless you know for sure that your PPP clients
will need this information.
Internet Account
----------------
This set of inputs allows you to configure the settings needed
for the router to log itself into the Internet, using your
standard ISP. This also gives you control over how the router
connects to the Internet (ie dedicated or on-demand), and how it
identifies itself for login purposes.
Username: & Password:
These inputs are for your Internet account username and
password. Note that this information is usually case-sensitive
and you must make sure to enter it exactly as it needs to
be used.
Login Type:
PPPBBS supports two different ways of logging into your
ISP. The method preferred by most ISPs is PAP (Password
Authentication Protocol). With PAP, your ISP automatically
detects the PPP framing, and login is completely automatic.
The other method for logging in is a simple, old-fashioned,
text-based login.
You should try PAP first, and if that does not work, then try
text-login. If your ISP requires both, then set PPPBBS
to text-login. PPPBBS is smart enough to use PAP if it is
requested during the LCP (Link Control Protocol) phase.
This setting does not affect how your callers will login;
your PPP clients should always use PAP. (This is automatic
for them if they call you using Windows 95's Dial-Up
Networking.)
Dial-Up: & Inactivity Timer:
This setting lets you specify how you want the PPPBBS router
to connect to the Internet. The three choices are Dedicated,
On-demand, and Disabled.
Dedicated means that PPPBBS will try to maintain the
connection to your ISP 24 hours a day, seven days a week.
Should the modem disconnect due to loss of carrier, PPPBBS
will immediately try to reestablish the connection.
On-demand means that PPPBBS will not try to connect to the
Internet until there is an incoming call on one of your other
lines. When there is activity on one or more of the incoming
caller phone lines, PPPBBS will immediately attempt to
establish a connection to the Internet. When all of the
incoming callers have finished their work and logged off,
PPPBBS will wait until the Inactivity Timer expires before
disconnecting itself from the Internet. This allows you to
tweak the response of the router so that an incoming caller
who loses carrier and calls right back can enjoy faster access
without having to wait for PPPBBS to re-dial your ISP.
Disabled means that PPPBBS will not try to connect to
the Internet at all. This setting is useful if you want
to use PPPBBS without necessarily connecting to the
Internet. NOTE: In this mode, PPPBBS can still be used
as a "Intranet" TCP/IP router between the callers or computers
connected to it. See the section in ADVANCED OPTIONS & TIPS
for more information.
NOTE: When PPPBBS is set to On-demand, and the Router IP
is set to 0.0.0.0, PPPBBS will connect to your ISP right
away so that it can obtain a proper IP address from your ISP.
Once a valid address has been obtained, PPPBBS will begin
the Inactivity Countdown to disconnect -- unless of course
someone calls in on one of your incoming lines.
DialOut Configuration
---------------------
This section of the set-up screen lets you configure the
communications port that PPPBBS will use to dial out to your
Internet Service Provider.
Port #:
This specifies the FOSSIL port # to be used for dialing out.
FOSSIL port numbers usually start at 0 and go up from there:
0, 1, 2, 3, etc. Generally, you will want to use your FASTEST
port and/or modem for dialing up your ISP. If you own a
56k modem you may wish to see the section on 56k modems
at end of this documentation.
Init:
This input is for you to specify how you want the modem
initialized. The initialization string you put here will
vary with the manufacturer and type of modem. Note that
PPPBBS supports only modems capable of 9600 bps or FASTER.
In principle, you want to configure your modem for:
Description Modem Command
----------------------------- -------------
FIXED (or LOCKED) BAUD RATE Varies
between the computer and modem
HARDWARE HANDSHAKING Varies
CARRIER DETECTION &C1
HANG-UP WHEN DTR IS LOWERED &D2
You absolutely do NOT want:
SOFTWARE HANDSHAKING (also called XON/XOFF)
Many of you may be able to use the default setting of ATZ.
Users of US Robotics modems manufactured since 1994
can use the following init string for maximum performance:
AT&F1E0
Some users of modems based on the ROCKWELL chip manufactured
since 1995 can use:
AT&F2E0
If none of the examples listed here work for you, or
if you are unsure what to use, please consult the manual
that came with your modem.
Dial:
This input is for you to put the command needed to dial
the modem, INCLUDING the phone number that needs to be
dialed. For example, to use touch-tone dialing of
the phone number 555-1234 you would enter:
ATDT5551234
To use pulse dialing of 555-4321 you would enter:
ATDP5554321
Environment
-----------
Currently there is only one setting under this section,
which pertains to general computer set-up.
MultTask:
If you run your computer system under a multitasker
(such as Desqview) or multitasking operating system
(such as Windows or OS/2), then this setting can optionally
be used to make PPPBBS allow OTHER programs on your
system run faster.
NOTE that for maximum PPPBBS performance this setting
should be set to NONE. ALSO NOTE that PPPBBS will
perform at its best if it is run under straight single-
tasking DOS.
Since PPPBBS handles multiple ports WITHOUT multitasking,
it runs best without a multitasker and does NOT need one.
Security Configuration
----------------------
This section of the configuration screen is used to set general
security settings of your PPPBBS router, as they apply to
your incoming callers.
Inac Timer:
This setting allows you to control how long an incoming
caller can be idle before PPPBBS automatically logs them
off the system. A setting of 0 disables this feature,
and is not recommended unless you really want to disable
this feature. Some recommended example settings are:
300 seconds (5 minutes)
600 seconds (10 minutes)
900 seconds (15 minutes)
NOTE: This setting applies to callers using the PPP access
capability, and to text-mode callers using the PPPBBS mini-BBS.
Anon PPP? & Anon Limit:
These two settings control whether or not someone is allowed
to access your PPP router without having a valid user account.
If set to NO, then incoming callers must have a valid
account set-up for them on the system. When they access the
router, they must login (using PAP) with a valid username
and password.
If set to YES, then any username/password can be used to
gain access to the system, however they will be limited
to the amount of time you specify in ANON LIMIT.
NOTE that regardless of this setting, someone who logs
in with a valid user account will have a time limit as
configured for their valid user account.
New User SL:
This sets the security level which is assigned to new callers.
New User TL:
This sets the time limit which is assigned to new callers.
New User PPP:
This sets whether or not new callers can use PPP right away,
or if they must wait for the SysOp to validate them before
they can have PPP Internet access.
NOTE: When you (the SysOp) validate (ie verify) your new
callers accounts, you should use the user editor (PPPCFG.EXE)
to upgrade the user's security level, time limits, and
access to PPP.
Host Ports Configuration
------------------------
This part of the configuration screen defines how many ports
are to be used for incomnig calls, which port numbers are
to be used, and how you want the modems initialized. Up to
eight ports can be configured here, and for purposes of
identification, PPPBBS calls them Channel 1, Channel 2,
and so on up to Channel 8.
Port #
These inputs specify the FOSSIL port number assigned
to each channel. Note that each channel must be given
a unique FOSSIL port number, and that the FOSSIL port
number set-up for dialout (earlier section) cannot
be used here. Setting the port number to - (the minus
sign or dash) disables that channel entirely.
Initialization
These inputs specify the modem initialization string.
See the "DialOut" section described earlier for information
on setting the init string. The guidelines are the same.
Answer
These inputs allow you to set the modem command to make
the modem answer when an incoming call is received. This
should ALWAYS be set to ATA (the default), unless you have
some type of very unusual modem or some type of special
need.
EMAIL & BUILT-IN TCP/IP CLIENTS SET-UP
--------------------------------------
In addition to the main PPPCFG configuration screen, there
is also a screen devoted to email and the built-in TCP/IP clients
set-up. Pressing [F1] (function key #1) when you are at the main
PPPCFG configuration screen brings you to the TCP/IP configuration
screen.
The TCP/IP configuration screen is divided into 4 parts:
Mail Configuration
Built-In SMTP Client
Built-In POP3 Client
Built-In DYNDNS.COM Client
NOTE: You must have an account with DYNDNS.COM *before* you can
attempt to enable the built-in DYNDNS.COM client. For more
information about DYNDNS.COM, look in ADVANCED TOPICS & TIPS.
IMPORTANT: The Built-In SMTP Client, Built-In POP3 Client, and
Built-In DYNDNS.COM Client are DISABLED if your PPPBBS is
UNREGISTERED.
Mail Configuration
------------------
This section of the configuration provides PPPBBS with
specific information about YOUR site.
Pri Hostname:
Sec Hostname:
Ter Hostname:
These three settings specify your primary, secondary,
and tertiary hostnames, as they apply to networked email.
You can use one, two, or all three of these fields as
necessary, leaving unused fields blank. The Primary
Hostname is the one that will appear on outgoing email,
and in other areas of the program. The Secondary and
Tertiary Hostnames are provided for your convenience
in the event that you receive email at several different
site addresses (aliases).
When incoming mail enters the system, the hostname that
the email is addressed to is compared to these three settings.
Mail that matches any one of these is considered MAIL FOR
YOUR SITE. Mail that does NOT match ANY of these is
considered MAIL FOR OTHER SITES.
If you have a registered domain name:
Enter your primary registered domain name for Primary
Hostname. Enter any additional registered domain names
for Secondary Hostname and Tertiary Hostname.
If you also have a DYNDNS.COM hostname, enter that also
if you have room for it, in either the Secondary or
Tertiary positions.
If you do NOT have a registered domain name:
If you have a DYNDNS.COM hostname, enter that for
Primary Hostname, and enter your ISP's domain name
for Secondary Hostname.
If you do NOT have a DYNDNS.COM hostname, enter your
ISP's domain name for Primary Hostname.
It is very important that the hostname fields are configured
correctly for the SMTP, POP3, and Mail Processor to operate
smoothly.
NOTE: The special hostname "bbs" is always recognized as
refering to your site.
Built-In SMTP Client
--------------------
This section configures the built-in SMTP CLIENT.
SMTP Host:
The IP address of your ISP's SMTP SERVER should go here.
(This should be entered as an IP address, not a hostname.)
Built-In POP3 Client
--------------------
This section configures the built-in POP3 CLIENT.
POP3 Host:
The IP address of your ISP's POP3 SERVER should go here.
This will usually be the same the "SMTP Host:" setting.
(This should be entered as an IP address, not a hostname.)
POP3 Login:
POP3 Password:
The POP3 Login (username) and POP3 Password necessary to
access your mailbox at your ISP or other email provider.
If this is a mailbox at your ISP, then usually the POP3
Login and POP3 Password will be the same as your PPP
Account Login and Password. Note that upper/lower case
may be important!
POP3 Schedule:
This controls the automatic execution of the built-in
POP3 CLIENT. A setting of zero disables automatic
execution. A setting other than zero sets the time
between checking-for-new-mail, in minutes (minimum=5).
Built-In DYNDNS.COM Client
--------------------------
This section configures the built-in DYNDNS.COM CLIENT.
Username:
Password:
The username and password you used when you signed up for
DYNDNS.COM service. Note that these might be case-sensitive.
CREATING & EDITING USER ACCOUNTS
--------------------------------
From the PPPCFG configuration screen, pressing [F5] (function
key #5) brings you to the PPPBBS USER EDITOR. Once you are
in the USER EDITOR, you can edit user account information,
create new user accounts (Press [F1]), delete accounts (Press
[F10]), and go back to the configuration screen (Press [Esc]).
When editing user account information, you can use the arrow
keys to select the field to edit. Pressing [Enter], or typing
text or numbers initiates field input/editing. Press [Enter],
[Esc], or up/down arrow keys to signal that you are done editing
that field.
Note that fields listed in GREEN are REQUIRED inputs. Fields
that are YELLOW are OPTIONAL. GREY fields take no input at all
and are shown for your information.
The fields on the user editor screen should be self-explanatory,
and if you are (or were) a BBS System Operator, they should be
immediately recognizable to you.
A note about security level: Each user's account may be set to
a security level from 0 to 999. While this allows you a lot of
flexibility, it is recommended that you set a "regular" user's
security level to a relatively low value in the 1 to 250 range.
The SysOp account (and other acccounts to be used by the System
Operator) should be set at a security level of 900 or higher.
NOTE: Users logged in with a security level of 900 or higher are
immune to BLOCKED.CFG resrictions, and will not be disconnected due
to inactivity.
AUTOMATED NEW USER SIGN-UP
--------------------------
On a BBS, new users typically sign-up for an account by typing
NEW at the BBS's login prompt. PPPBBS is no exception. The
built-in PPPBBS mini-BBS new user questionaire supports the
creation of new user accounts automatically, with all information
supplied by the user, and hopefully, validated (examined for
accuracy) by the PPPBBS system operator. Once created, an account
(username and password) can be used to log into the PPP Internet
access or the text-based PPPBBS mini-BBS.
Whether you offer PPP access for FREE, or for a FEE, is up
to you to decide. You may decide to have two tiers of service;
FREE access limited to, for example, 30 minutes per day, and
PAID access where the user gets a larger time limit. PPPBBS
allows you to configure time limits per day, per month, and per
call, so you have a lot of flexibility. Whatever you decide,
make sure that your NEWUSER.BBS text file gives as much information
as possible up-front. Also, give yourself room to make "changes
without prior notice" so you don't lock yourself in.
NOTE: The security level, time limit, and PPP access control
assigned to new user's is configurable on the PPPCFG.EXE main
screen.
SETTING UP THE PPPBBS MINI-BBS
------------------------------
Customizing the PPPBBS built-in mini-BBS is not difficult. It
consists mainly of editing the following text files with a text editor:
WELCOME.BBS Displayed to non-PPP callers before the "login" prompt
NEWUSER.BBS Displayed to non-PPP callers who login as NEW
LOGGEDIN.BBS Displayed to non-PPP callers after successful login
MAINMENU.BBS The mini-BBS main menu
LOGOFF.BBS Displayed to non-PPP callers when logging off
You may edit these files to be plain ASCII text, or you may
wish to include ANSI color for a fancier design.
NOTE: You should limit the size of each .BBS file to 2048 bytes
or less.
There is also one CFG file that you can edit with a text editor:
PPPTEXT.CFG Text Strings (prompts, etc.) used by the mini-BBS
As with the *.BBS files, you may edit PPPTEXT.CFG to be plain
ASCII text, or you may choose to include ANSI color. Being able
to edit the text used by the mini-BBS, makes PPPBBS extremely
customizable.
NOTE: For PPPTEXT.CFG, the | (pipe character) is used to mean
a carriage return/linefeed combination. Hello|Roland|DeGraaf
would, for example, be displayed by the BBS as:
Hello
Roland
DeGraaf
The purpose of the built-in mini-BBS is to provide necessary
support functions to the PPP Internet access server aspect of PPPBBS.
The functions provided by the mini-BBS are:
Automated New User Sign-Up
-New callers can create accounts that will
allow them to use the same account for both
PPP Internet access, and text-mode mini-BBS logins.
Send Email, Read Email, & Feedback To SysOp
-Callers who may need assistance setting up PPP,
or who have questions about their account can
login text-mode and leave email to the SysOp
or to other users.
Account Settings
-Allow users to change their password or other
user-changable parameters.
Who's Online
-See who else is online at the moment.
BUILT-IN TCP/IP SERVER SET-UP
-----------------------------
By default, PPPBBS comes ready-configured for the following:
PPPBBS
Server TCP
Server Type # Port Additional Parameters
------------- ------ ---- ----------------------
Web Server 1 80 Root Directory = \PPPBBS\WWW
Telnet Server 2 23 (none)
Identification 3 113 (none)
SMTP Server 4 25 (none)
POP3 Server 5 110 (none)
FTP Server 6 21 Default Root Directory = \PPPBBS\FTP
This is set-up for you in the file SERVERS.CFG. The default
looks like this:
1,80,\PPPBBS\WWW
2,23
3,113
4,25
5,110
6,21,\PPPBBS\FTP
As you can see each line is in the format:
<server type>,<TCP port>,<optional additional parameter>
The default SERVERS.CFG file sets up the typical services on the
generally-accepted standard TCP ports. You do not need to edit
the file if this is what you want. If you have special needs,
you may reconfigure the SERVERS.CFG file by editing it with a
text editor, so long as you follow the format of the default file,
and limit the file to 16 entries maximum based on the 5 server types
currently supported:
1 - Web Server (http)
2 - Telnet Server
3 - Identification Server
4 - SMTP Server
5 - POP3 Server
6 - FTP Server
You may specify non-standard TCP ports if desired, so long as the
TCP port number is less than 256. Here is an example:
1,80,\PPPBBS\WWW
1,81,D:\WWW2
2,23
3,113
4,25
5,110
6,21,\PPPBBS\FTP
The above example would give you a web server on TCP port 80
using root directory \PPPBBS\WWW, a web server on TCP port 81
using root directory D:\WWW2, a telnet server on TCP port 23,
an identification server on TCP port 113, a SMTP server on TCP
port 25, and a POP3 server on TCP port 110.
NOTE: If you set the web server root directory to \PPPBBS\WWW,
then anyone can access files in directory \PPPBBS\WWW, and any
directory below that directory. So, do not put anything
private or confidential in those directories!
The above example also shows that you may set-up a server type
more than once, so long as each server is using a different
TCP port. The example shows two web servers, each listening
on a different TCP ports, with different root directories.
To illustrate how this might be useful, suppose you had a registered
domain name of "mypppbbs.com". Someone wanting to surf your web site
might ask their web browser to open URL:
http://mypppbbs.com/
They would be accessing the web server on TCP port 80, where the
web server root directory is WWW.
If they type:
http://mypppbbs.com:81/
They would be accessing the web server on TCP port 81, where the
web server root directory is WWW2.
Thus, you can effectively have a number of individual web sites
on your system, each using a different TCP port, and each using
a separate root directory. Because of the way PPPBBS is programmed,
and the high-level of integration between the TCP/IP stack and the
built-in TCP/IP applications, there is practically no performance
penalty for having multiple servers. A PPPBBS built-in server
application that has nothing to do at the moment gets zero CPU time.
NOTE: While you could also set-up the telnet, ident, smtp and pop3
servers multiply on alternate TCP ports also, like was shown for
the web server, there would be rarely an advantage to do so.
A few things you can do with multiple web servers:
-Keep the web server on standard TCP port 80 for your use as
System Operator, and set-up web servers on other TCP ports
for others (individuals, businesses, etc) in your area to put
up their own web sites, for free or possibly for a fee.
-Use the additional entries to access other drives on your system,
and other directories on the current drive which are not already
accessible through the WWW root directory.
IMPORTANT: Only the first line of SERVERS.CFG is recognized
if your PPPBBS is UNREGISTERED.
SETTING UP YOUR WEB SITE
------------------------
When you ran the SETUP.EXE program, it automatically created
the following directories for the web server defined in the
default SERVERS.CFG file:
Your Web Server's Root Directory: \PPPBBS\WWW
Your Web Server's CGI Directory: \PPPBBS\WWW\CGI
Your Web Server's Images Directory: \PPPBBS\WWW\IMAGES
The Root Directory: \PPPBBS\WWW
This is where you must place file INDEX.HTM, your HTML
"welcome" page. You may place additional .HTM files
in this directory, and you may also create new directories
below \PPPBBS\WWW to hold whatever you want.
SETUP.EXE copies an example INDEX.HTM to \PPPBBS\WWW
to get you started.
The CGI Directory: \PPPBBS\WWW\CGI
Unused for now. Leave empty.
The Images Directory: \PPPBBS\WWW\IMAGES
This directory is for the .GIFs and .JPGs you'll be using.
You could put your GIFs and JPGs in the \PPPBBS\WWW Root
Directory, or other directory you create below \PPPBBS\WWW,
there is nothing to stop you from doing that, but you will
have a more organized and maintainable web site if you
keep your graphics in one place, separated from your HTMs.
SETUP.EXE copies example PPPBBS1.GIF and PPPBBS2.GIF to
\PPPBBS\WWW\IMAGES to get you started.
Naturally, the PPPBBS web server is capable of functioning like
a conventional web site. You can make your web site look any way
that you want. In addition, you can also make the web site your
"graphical BBS." It has been said that telecommunications users
today want to have graphical interfaces, and they want them to be
based on open standards like http and HTML. PPPBBS gives you the
opportunity to have exactly that -- a graphical BBS based on
HTML/GIF/JPG, utilizing industry-standard, off-the-shelf TCP/IP
web browsers like NetScape Navigator, NetScape Communicator,
Microsoft Internet Explorer, and so on.
Web servers probabily spend most of their time transmitting
.HTMs (HTML files) and .GIFs and .JPGs. It should be pointed out
that any type of file can be transmitted over http (web server).
Users can also download EXEs, ZIPs, ARJs, etc over their web browser.
You could, for example, create HTMs that give the appearance and
functionality of a BBS File Download area.
THE PPPBBS TELNET SERVER
------------------------
The built-in telnet server makes the text-mode mini-BBS
accessible over TCP/IP to both your local callers, and Internet
users all over the globe. Why would someone want to use your
text-based mini-BBS instead of accessing your web site? The
mini-BBS requires users to login with a valid username and
password, so their identity is authenticated. This means they
can send/receive email using the mini-BBS, and change their
account password if they want to. It would also useful if
someone has access to Internet telnet, but don't have a web
browser, SMTP, or POP3 clients, on the machine they are
currently using.
There is nothing you need to set-up to make telnet work.
It has been set-up for you in the default SERVERS.CFG. Up to 4
telnet logins may be active at a time, and you may be able to see
telnet logins on the PPPBBS SysOp Screen, if there is room in the
window.
SETTING UP YOUR FTP SITE
------------------------
The ftp server is an important part of your system. Not only
does it allow you put up an unlimited amount of shareware or
freeware for download, but it is also the conduit which allows
your user's to have personal web pages and ftp file space on
your system.
To access your software library, users should login to
the ftp server ANONYMOUSLY. (This is the default for ftp
access through a web browser.) The ftp server accepts "ftp",
"anonymous", and "guest" as all meaning the same thing.
To access their personal web/ftp sites, users should login
to the ftp server using their system username and password.
NOTE: Before ftp login, the text file WELCOME.FTP is displayed.
You may customize WELCOME.FTP so long as you don't exceed
10 lines and 512 bytes.
FTPDIRS.CFG & YOUR SOFTWARE LIBRARY
-----------------------------------
When you ran the SETUP.EXE program, it automatically created
some default directories for the ftp server, as defined in the
default SERVERS.CFG and FTPDIRS.CFG file:
Your FTP Server's Default Root Directory: \PPPBBS\FTP
FTPDIRS.CFG is an ASCII file you edit with a text editor.
FTPDIRS.CFG may contain up to 20 entries; the default
FTPDIRS.CFG has only one entry to start you out and it
looks like this:
pub,\PPPBBS\FTP,0
--- --------- -
| | |
| | --- 0 = Hard Drive, 1 = CDROM drive or changer
| ----------- Actual Disk Directory Path
------------------ Directory Name That Appears To Users
Users accessing directory "pub" will actually be accessing
disk directory "\PPPBBS\FTP". You could put files in
\PPPBBS\FTP, and/or create new sub-directories below
\PPPBBS\FTP (for example, \PPPBBS\FTP\GAMES, \PPPBBS\FTP\WIN95,
and so on) and put files there.
NOTE: Given this configuration, users will be able to access
all files in \PPPBBS\FTP, and all subdirectories below
\PPPBBS\FTP, so be careful not to put any private
information there.
If you had files on another hard drive or in a different
path, then you could add those to FTPDIRS.CFG also.
More Examples:
pub2,C:\FILES,0
shareware,D:\DLOADS,0
If you had one or more shareware CDs in a normal CDROM drive
or CDROM changer:
cdrom1,D:\,1
cdrom2,E:\,1
Note: The "1" on the end in the above examples would tell PPPBBS
to "buffer" the file being downloaded. In other words,
instead of having the user download the file directly
from the CDROM drive or CDROM changer, the file requested
is automatically copied to \PPPBBS\CDTEMP on your hard disk
for the download.
PPPBBS checks \PPPBBS\CDTEMP once every 10 minutes, and if
there is no current download activity, the files there are
automatically deleted. \PPPBBS\CDTEMP is another directory
that was automatically created when you ran the SETUP.EXE.
If you want to be able to receive anonymous uploads, then
create directory C:\UPLOAD and add the following line to
FTPDIRS.CFG:
incoming,C:\UPLOAD,0
While FTPDIRS.CFG may limit you to 20 root directory entries,
there is NO LIMIT to the number of subdirectories which can
exist below those directories. FTPDIRS.CFG allows the ftp
server to give the appearance of a single, unix-like, unified
file system to the outside world, while allowing you to span
the actual sub-directories and files over several drives and/or
directories.
USER'S WEB/FTP SITES
--------------------
SETUP.EXE also created a directory for your user's personal
web and ftp sites:
Your User's Directory: \PPPBBS\USERS
(Additional directories will automatically be created under
\PPPBBS\USERS as needed, the first time a user logs into the
ftp server with a valid system username and handle.)
To access a user's web site from the "outside world" with
a web browser works like this: Suppose your site name is
"mybbs.com" and the user's username is "joe" then the
main URL for joe's home page would be:
http://mybbs.com/~joe/index.htm
To download filename.zip from joe's ftp site would take the URL:
ftp://mybbs.com/users/joe/filename.zip
NOTE: Anonymous users can download files from user's web/ftp
sites *only* if they have the full URL. They cannot, by default,
"browse" the directories to see what files are there.
You can open up the user's web and ftp directories for ftp
directory browsing, if you want to, by adding the following line
to FTPDIRS.CFG:
users,\PPPBBS\USERS,0
TCP/IP STACK
------------
The TCP/IP stack is the heart of the built-in Internet server
and client applications. It performs the "grunge" work of
establishing TCP "connections" with other computers, communicating
data between the two computers, and closing the TCP "connection"
when it is no longer needed.
A TCP "connection" is a virtual or logical connection, not
a physical one. Your SMTP client, for example, makes a TCP
connection to your ISP's SMTP server, sends mail, and then
closes the TCP connection. All TCP/IP applications work the
same way:
Establish TCP Connection
Do The Work To Be Done
Close TCP Connection
The PPPBBS TCP/IP stack handles up to 32 TCP connections
at a time. By pressing the (T)oggle on the PPPBBS SysOp Screen
you can see the TCP/IP Stack in motion. Although PPPBBS
supports up to 32 TCP connections at a time, you'll only
be able to see the first 9, due to screen limitations.
On the TCP/IP Stack window, you'll be able to see the IP
address of the remote system and the local TCP port they are
connected to. If they are downloading a file from your web
site, you'll also see the number of bytes sent so far, and
periodically the filename they are downloading will be
displayed where the IP address and local TCP port are usually
displayed, so you can see what they are downloading.
INTERNET/INTRANET EMAIL
-----------------------
PPPBBS is capable of both sending and receiving Internet
email, and it does it in a manner just like an ISP. Plus, there
are some additional features and enhancements that make PPPBBS
superior to conventional software in many ways.
The two main upper-level protocols used to move email around
on the Internet are:
SMTP Simple Mail Transfer Protocol
POP3 Post Office Protocol 3
SMTP and POP3 operate over TCP/IP (and of course PPP) links.
HOW ISPs HANDLE INTERNET MAIL
-----------------------------
The following diagram shows the typical mail set-up
as used by an Internet Service Provider:
------------------ -------------------------
| User's | | Other Internet Host's |
| SMTP CLIENT | | SMTP CLIENT |
------------------ -------------------------
| |
------------------ -----------------
. . . . . . . . . . . . . . . | . . | . . . . . . . . . . . . . . . .
. \|/ \|/ .
. ------------------- .
. ISP \ / .
. Mail \ SMTP / .
. System \ SERVER / .
. \ / .
. ---------------- ------------------- ------------------ .
. | | | | | | .
. | User |<-----| MAIL |----->| Outbound | .
. | Mailboxes | | PROCESSOR | | Mail | .
. | | | | | | .
. ---------------- ------------------- ------------------ .
. | | .
. \|/ \|/ .
. ---------------- ------------------ .
. | | | | .
. | POP3 | | SMTP | .
. | SERVER | | CLIENT | .
. | | | | .
. ---------------- ------------------ .
. | | .
. . . . . | . . . . . . . . . . . . . . . . . . . . . . | . . . . . .
| |
\|/ \|/
------------------- -------------------------
| User's | | Other Internet Host's |
| POP3 CLIENT | | SMTP SERVER |
------------------- -------------------------
SMTP SERVER: A "universal" in-box that receives mail from
SMTP CLIENTs. The server receives mail from
user's of the ISP and other ISPs (hosts) on
the Internet. An SMTP SERVER runs continuously,
24 hours a day, and therefore, typically requires
a dedicated connection to the Internet.
SMTP CLIENT: A client that sends email to an SMTP SERVER.
Unlike an SMTP SERVER, a SMTP CLIENT only runs
when there is something for it to do.
MAIL PROCESSOR: A mail-sorting routine. The MAIL PROCESSOR
examines each piece of email and routes it
accordingly. Mail for user's of the ISP is placed
into their mailboxes on the ISP's system. Mail
destined for other sites on the Internet is relayed
by the ISP's SMTP CLIENT.
POP3 SERVER: A server that allows the user's of the ISP to retrieve
email from their mailboxes on the ISP's system.
HOW PPPBBS HANDLES INTERNET MAIL
--------------------------------
The following diagram shows the typical mail set-up
for PPPBBS. You'll notice that it is identical to the
previous diagram, with a couple of additions:
------------------ -------------------------
| PPP Caller's | | Other Internet Host's |
| SMTP CLIENT | | SMTP CLIENT |
------------------ -------------------------
| |
------------------ -----------------
. . . . . . . . . . . . . . . | . . | . . . . . . . . . . . . . . . .
. \|/ \|/ .
. ------------------- .
. PPPBBS \ / .
. Mail \ SMTP / .
. System \ SERVER / .
. \ / .
. ---------------- ------------------- ------------------ .
. | | | | | | .
. | User |<-----| MAIL |----->| Outbound | .
. | Mailboxes | | PROCESSOR | | Mail | .
. | |--- | | | | .
. ---------------- | ------------------- ------------------ .
. | | /|\ /|\ | .
. \|/ | | | \|/ .
. ---------------- | --------- ---------- ------------------ .
. | | | | | | | | | .
. | POP3 | -->| Text | | POP3 | | SMTP | .
. | SERVER | | BBS | | CLIENT | | CLIENT | .
. | | | | | | | | .
. ---------------- --------- ---------- ------------------ .
. | /|\ | .
. . . . . | . . . . . . . . . . . . . | . . . . . . . | . . . . . .
| | |
\|/ | \|/
------------------- ------------------- -------------------------
| PPP Caller's | | Your ISP's | | Your ISP's |
| POP3 CLIENT | | POP3 SERVER | | SMTP SERVER |
------------------- ------------------- -------------------------
SMTP SERVER: A "universal" in-box that receives mail from
SMTP CLIENTs. The server can receive mail from
your PPP callers using your PPPBBS system, and
other hosts on the Internet. The server is available
automatically when you start PPPBBS, unless it has
been disabled.
SMTP SERVER Notes:
If you have a dedicated connection:
You may receive mail from your PPP callers,
and if it needs to be relayed to the Internet,
it will be relayed right away by the built-in
SMTP CLIENT.
If you have a static IP and registered domain
name, you may receive mail, directly, from
other Internet hosts. You will have to ask your
ISP to set-up your mail exchange record to indicate
that you'll be receiving your email directly.
If you have a DYNDNS.COM static hostname, you may
receive mail, directly, from other Internet hosts.
All they have to do is email you at the address
<yourhandle>@<dyndnsname>.dyndns.com
such as:
sysop@pppbbs.dyndns.com
and your SMTP SERVER will be active soon!
If you dial-on-demand:
You may receive mail from your PPP callers,
and if it needs to be relayed to the Internet,
it will be relayed the next time PPPBBS connects
to the Internet as triggered by usage.
If you don't connect to the Internet at all:
You can still use the SMTP SERVER to receive
email from your PPP callers. They will be able
to write email other users of your system.
SMTP CLIENT: A client that sends email to an SMTP SERVER.
Unlike an SMTP SERVER, a SMTP CLIENT only runs
when there is something for it to do. PPPBBS
has a built-in SMTP CLIENT that is called upon
automatically as needed.
NOTE: If there is no mail to go out, you can "force"
the SMTP CLIENT to go through the paces by
pressing "S" at the PPPBBS Main Screen. You
might find this useful during initial set-up.
MAIL PROCESSOR: A mail-sorting routine. The MAIL PROCESSOR
examines each piece of email and routes it
accordingly. Mail for user's of your system
is placed into their mailboxes. Mail destined
for other sites on the Internet is relayed
by the built-in SMTP CLIENT. The MAIL PROCESSOR
also handles AutoResponder and MailList Hosting
functions.
POP3 SERVER: A server that allows the user's of your system to
retrieve email from their mailboxes. The POP3 login
and password they should use is the same one they use
for logging into the system.
NOTE: Login and Password are CASE-SENSITIVE!
POP3 CLIENT: A client that retrieves email. PPPBBS has a built-in
POP3 CLIENT, and therefore, it has two different ways
that you can get mail into your system: POP3 CLIENT
and SMTP SERVER. The PPPBBS built-in POP3 CLIENT
will typically be used to get your email from a POP3
Mailbox on your ISP. It's execution can be scheduled
for every few minutes or disabled.
NOTE: You can "force" the POP3 CLIENT to check for new
mail by pressing "P" at the PPPBBS Main Screen.
SMTP SERVER vs POP3 CLIENT
--------------------------
At first glance, an SMTP SERVER and a POP3 CLIENT would seem
to have the same function: receiving email. But they are both
very different; each with its own unique application.
SMTP SERVER POP3 CLIENT
----------- -----------
Receives Email Receives Email
Runs Continuously Runs Only When Needed
Must Be Ready To Receive Mail Picks Up The Mail At
Anytime Its Own Leisure
Gets Mail Directly Gets Mail From A Mailbox
Knows "To:" and "From:" Knows "To:" and "From:"
Before Downloading Mail After Downloading Mail
Can Filter Before Download Cannot Filter Before Download
Requires Dedicated Connection No Dedicated Connection Required
To Receive Mail From Internet
You can use either one, or both, to get your email from the
Internet. Which one you'll have to use will most likely be
decided by your connection type. The SMTP SERVER is better,
because it allows for a greater degree of control over the
mail you download, but it is also requires that you be connected
continuously and ready to receive mail at anytime. If you can
get a dedicated connection, and either a registered domain name
or a DYNDNS.COM static hostname, then you may wish to try getting
your Internet mail via SMTP SERVER.
If you have a registered domain name, then you may need to contact
whoever provides DNS services for that domain name (typically
your ISP) and let them know you wish to have mail routed to you
directly via SMTP.
If you have a DYNDNS.COM static hostname mapped to either a static
or dynamic IP address, there doesn't appear to be any additional
action needed for you to receive Internet mail addressed to your
DYNDNS.COM static hostname with your SMTP SERVER.
If you do not have a dedicated connection, then you will have
to use the built-in POP3 CLIENT to retrieve the mail from your
mailbox at your ISP.
NOTE: Even if you don't have a dedicated connection, the SMTP SERVER
is still worth running; it is always available for your PPP
callers to use, no matter what type of connection you have
to the Internet.
SPECIAL NOTES ABOUT PPPBBS SMTP SERVER
--------------------------------------
SPAM-RELAY-PROTECTION
---------------------
Email can be described one of four ways:
1. Email from one of your users to another one of your users
2. Email from one of your users to a user on the Internet
3. Email from a user on the Internet to one of your users
4. Email from a user on the Internet to another user on the Internet
The PPPBBS SMTP SERVER will readily accept mail types 1, 2, and 3.
It is by deliberate design, however, that the 4th type is NOT accepted.
Users out on the Internet attempting to use your SMTP SERVER to relay
messages back out to other users out on the Internet, will be thwarted
with the message "No Relaying."
The reason for this is simple: Without this protection,
bulk-emailers and SPAMMERs would be able to use your SMTP SERVER
to send thousands or possibly millions of unwanted, bulk-emails
through your system and your ISP's system.
It is for your protection (and your good standing with your ISP)
that this feature has been implemented. It does NOT prevent
your users from sending mail to whomever they choose. It does
NOT prevent your users from receiving mail from other sites.
It merely prevents other outside Internet sites and outside,
unauthorized users from using your SMTP SERVER as a free email
relay.
CLOAK DETECTION
---------------
It is not unusual for SPAM (unwanted email, typically
advertising or asking for money), to arrive "cloaked."
A cloaked email typically has a bogus "From:" field, leaving
you with no idea who really sent the message, and no way
for you to tell them to stop SPAMMING you. SPAMMERs
cloak their email so that they don't get SPAMMED themselves.
Here are two examples. The first example cloaks only the
sender's handle:
From: 72462345@somewhere.com
The second example cloaks both handle and hostname:
From: 13456233@2783467.com
The PPPBBS SMTP SERVER will not accept cloaked email.
Since SMTP SERVERs know the To: and From: field before
ever downloading the message, they are able to make a
determination before any bandwidth is wasted. Any mail sender,
local or Internet, must provide a proper "From:" field.
If a proper "From:" field is not present, the mail is
rejected with the message "Mail Refused."
AUTORESPONDER
-------------
An autoresponder automatically sends mail when "triggered"
by a piece of incoming email addressed to it's name.
The file for the AutoResponder's configuration is AUTORESP.CFG,
and it is an ASCII text file you create with a text editor. The
general format is as follows:
[<name of autoresponder #1>]
<desired "From address" to be used for response>
<desired "Subject" to be used for response>
.
. Desired Text of Message
.
[<name of autoresponder #2>]
<desired "From address" to be used for response>
<desired "Subject" to be used for response>
.
. Desired Text of Message
.
There is no hard-limit to the size of the response or
the number of AutoResponders you can have, however a
larger AUTORESP.CFG will incur more processing time
when an AutoResponse is needed.
Additionally, all AutoResponder names must end in "-r".
MAIL LIST HOSTING
-----------------
A mail-list is more than just a list of email addresses,
that you can send email to by writing one piece of email.
A mail-list is more like a private conference area. Members
of the list who post to the list's address, will have their
messages automatically distributed to everyone on the list.
Mail-list configuration requires that you create ASCII file
MAILLIST.CFG. MAILLIST.CFG can hold the configuration for
multiple mail-lists. The general format is as follows:
[<name of mail-list #1>]
.
. Email Addresses of List Members, one per line
.
[<name of mail-list #2>]
.
. Email Addresses of List Members, one per line
.
Suppose you wanted to start out with a list called "test-l"
with just yourself and your cosysop as members, and your site's
Internet address is "mybbs.com"; you would type into MAILLIST.CFG
something like this:
[test-l]
sysop@mybbs.com
cosysop@mybbs.com
If you also wanted another list "test2-l" with just yourself
in it, you would put in:
[test-l]
sysop@mybbs.com
cosysop@mybbs.com
[test2-l]
sysop@mybbs.com
Notice that the list name always ends in "-l", and is put
into the MAILLIST.CFG file surrounded by brackets. There is
no hard-limit to the number of mail-lists that can be
supported, or the number of members that can be on each list.
Users (Local or Internet) can add themselves to the list
automatically by sending mail to the list's address
(test-l@mybbs.com or test2-l@mybbs.com in the examples)
with the SUBJECT "add". Users can remove themselves from
the list automatically by sending mail to the list's address
with the SUBJECT "remove". In the case of automated ADD or
REMOVE, PPPBBS updates MAILLIST.CFG automatically for you,
however, you are always free to make edits manually if necessary.
If you wanted to set-up the AutoResponder to deliver an
automated response to an ADD or REMOVE request to list
"test-l", you would add something like the following to
AUTORESP.CFG:
[test-l.add-r]
ListServer
ADD Request
Thank you for joining "test-l"
To remove yourself from this list, email test-l@mybbs.com,
with the subject REMOVE.
[test-l.remove-r]
ListServer
REMOVE Request
You have been removed from "test-l"
To re-join this list, email test-l@mybbs.com,
with the subject ADD.
UNIVERSAL MAILBOX
-----------------
When a user signs up on your PPPBBS, they automatically
get a mailbox for their personal use. The mailbox can
hold mail from other users of your system, and from users
on the Internet. The same mailbox is accessible for reading:
1) If they call your PPPBBS with PPP and use POP3 to retrieve
their email from your POP3 server, with software such as Microsoft
Internet Mail, or most any standard TCP/IP mail software.
2) If they call the PPPBBS mini-BBS and login via character-mode,
and use the main menu Read Email function.
3) If they are out-of-town and using another ISP, they can
use POP3 to get their email from your POP3 server, presuming
you are connected to the Internet at the time, and have static
IP or DYNDNS static hostname.
HOW YOUR USERS (PPP CALLERS) SHOULD CONFIGURE TCP/IP MAIL SOFTWARE
------------------------------------------------------------------
There is very little that they will need to configure.
Generally, TCP/IP mail software needs to know the address
of your SMTP SERVER, address of your POP3 SERVER, their
username and password (since that is needed for POP3
login), and the your primary hostname you've configured
with PPPCFG.EXE.
If they will always be using your system directly, they
can configure their mail software like this:
SMTP Server: bbs
POP3 Server: bbs
POP3 Login: <username>
POP3 Password: <password>
Email Address: <username>@<yourprimaryhostname>
(The Transparent DNS Selective Interceptor makes the easy "bbs"
entry possible.)
If they will be accessing their mail from another ISP, they can
configure their mail software like this:
SMTP Server: <otherispssmtpserver>
POP3 Server: <yourregistereddomainname-or-staticIP-or-dyndnsname>
POP3 Login: <username>
POP3 Password: <password>
Email Address: <username>@<yourprimaryhostname>
HOW YOUR USERS (NON PPP CALLERS) USE THE BBS TO SEND MAIL
---------------------------------------------------------
From the main menu, select (E) the normal email function.
At the "Write Email To?" prompt, users can send mail to other
users on the system by simply entering in the handle of the
user they want to email. An example:
sysop
To send mail to a user on the Internet, simply enter in that
user's email address in the typical <username>@<hostname>
format:
roland@degraaf.net
SETTING UP THE PPPBBS FRONT-END FEATURE
---------------------------------------
Setting up the front-end feature involves creating/editing
one batch file (.BAT), and optionally, one .BBS file.
FRONTEND.BAT
------------
The batch file needs to be called FRONTEND.BAT and should
contain the necessary commands applicable to your BBS software.
Obviously, FRONTEND.BAT will be different for each different type
of BBS software.
Example front-end set-up files for specific BBS softwares is
available for download from the official PPPBBS web site and BBS.
As of this writing, the following are available:
EXAMPLE1.ZIP Virtual Advanced BBS
More examples will be added as they are submitted by sysops.
When PPPBBS executes FRONTEND.BAT, it will pass the PPPBBS
channel number that the caller is using. If the caller is on
channel 1, then PPPBBS will pass a "1", if the caller is on
channel 2, then PPPBBS will pass a "2", and so on.
For BBS softwares that are already channel-oriented, such as
Virtual Advanced, this makes the batch file fairly straight-forward.
(One would simply set-up the Channels on Virtual Advanced to use
the same FOSSIL ports and baud rates as the Channels on PPPBBS.)
As a working example, the FRONTEND.BAT for Virtual Advanced BBS
looks like this:
c:
cd \vadv
bbs.exe %1 /AC /H /B57600
c:
cd \pppbbs
endrun.exe %1
exit
NOTE: ENDRUN.EXE is supplied with PPPBBS. Its function is to
safely notify PPPBBS that the BAT file is done executing.
FRONTEND.BBS
------------
The one, optional .BBS file that you can create is called
FRONTEND.BBS. If this file is not created, then PPPBBS will
execute FRONTEND.BAT as soon as PPPBBS detects that this is
not an incoming PPP caller. If FRONTEND.BBS does exist,
then it is displayed to the caller, and they are prompted to
press "1" to access your existing BBS (execute FRONTEND.BAT)
or press "0" to access the PPPBBS mini-BBS. FRONTEND.BBS
can be as plain or as fancy as you like, so long as it is
under 2048 bytes.
Here is where you have some control over the perception
of your BBS to the public. Here are four separate options:
1) If you want the PPPBBS mini-BBS to be disabled, then
do not create FRONTEND.BBS. This will also have the
side-effect of preventing callers from being able to
use the mini-BBS new user sign-up in order to gain a
PPP access account, so you'll have to use the user editor
to create accounts for them from their information
in their user accounts on your existing BBS.
2) If you want the PPPBBS mini-BBS to look like the main BBS,
with your existing BBS as secondary BBS, then create
FRONTEND.BBS to look something like:
0 - Main BBS & PPP Sign-Up
1 - Secondary BBS
3) If you want the existing BBS to look like the main BBS,
with your PPPBBS mini-BBS as secondary BBS, then create
FRONTEND.BBS to look something like:
1 - Main BBS
0 - Secondary BBS & PPP Sign-Up
4) If you want the existing BBS to be the only BBS, and have
the PPPBBS mini-BBS be available for new user PPP sign-up,
then create FRONTEND.BBS to look something like:
1 - The BBS
0 - Sign Up For PPP Access
And edit PPPTEXT.CFG to make the Login: prompt look like:
Enter NEW To Sign-Up For PPP Access:
ORDERING PPPBBS & LIMITATIONS TO THE UNREGISTERED VERSION
---------------------------------------------------------
Please see the accompanying text file ORDER.TXT for a mail-in
order form and instructions for ordering via mail, email, BBS,
or web site. Orders placed by mail, email, or web site are
shipped by FIRST CLASS MAIL. Orders placed by BBS online
ordering can be shipped by FIRST CLASS MAIL or DOWNLOADED
FROM THE BBS. UNDER NO CIRCUMSTANCES ARE ORDERS SENT VIA
NETWORKED OR INTERNET EMAIL.
PPPBBS REGISTRATION IS NON-TRANSFERRABLE, AND NON-REFUNDABLE.
If the shareware copy of PPPBBS you downloaded does not contain
ORDER.TXT, or if the ZIP does NOT say:
Authentic Files Verified! # ODO014
ROLAND DE GRAAF
You should access one of the official sites listed in this
documentation to download an OFFICIAL copy of the software.
When you register PPPBBS, you will receive a special file
called a KEYFILE which, when placed in the directory where you
run PPPBBS, will UNLOCK the program and provide you with its
full capabilities. The registration will also give you acess
to technical support direct from the program author.
In the UNREGISTERED state, the program will exhibit the
following artificial limitations:
Maximum Number Of Simultaneous Incoming Logins: 2
Maximum Time Per Incoming Login: 10 minutes
In addition, the UNREGISTERED version recognizes only the
first line of SERVERS.CFG, limiting you to one built-in TCP/IP
server application at a time, and the built-in TCP/IP client
applications are completely disabled.
The Ethernet support is also disabled in the UNREGISTERED
VERSION of PPPBBS.
The above UNREGISTERED limitations will make the program usable
enough for you to evaluate it, but not allow serious continued
usage. The maximum evaluation period is 30 days; after that time
you must either register the software or discontinue using it.
LOSS OF REGISTRATION
--------------------
Once received by the customer, the care and protection of
the KEYFILE is the customer's responsibility. THERE IS A
$10 FEE TO REPLACE OR RE-SHIP LOST PPPBBS REGISTRATION
KEYFILES.
OBTAINING TECHNICAL SUPPORT
---------------------------
Technical support is available to REGISTERED PPPBBS users.
Technical support is also available to UNREGISTERED users during
their 30-day evaluation period. Registered users please include
your registration number in your email for higher priority.
EMAIL: roland@degraaf.net
BBS: 616-399-4818 (or telnet://pppbbs.dyndns.com)
http://www.degraaf.net
http://www.ameritech.net/users/pppbbs/index.htm
http://pppbbs.dyndns.com
ftp://pppbbs.dyndns.com
The author will try to answer your email within 24 hours, but
a response may take longer if the author is inundated with email,
or is otherwise indisposed, or if your email requires an
extensive response.
The chance that you will need technical support is unlikely;
PPPBBS has been carefully crafted according to InterNIC
STDs (standards) and RFCs (request for comments) and in these
cases what works, works. There is not a whole lot of room
for misinterpretation.
The author has tested PPPBBS with numerous Internet Service
Providers (for the dial out) and Windows 95 Dial-Up Networking
(for the incoming PPP calls), and the program has passed all
tests with flying colors.
INTERNET TECHNICAL INFORMATION
------------------------------
PPPBBS is a true IP (Internet Protocol) router, that just
happens to have the PPP protocol, and some additional, unique
features built right into it. It is, essentially an
intelligent router. PPPBBS is NOT a proxy server, although
it does do a bit of "magic" to allow multi-user Internet
access without requiring a range of IP addresses.
From a purely technical standpoint, these are the protocols
supported, and how they are chained together:
PPP --- LCP --- IP --- TCP
PAP UDP
IPCP
Ethernet -- IP --- TCP
ARP UDP
Your callers will be able to use virtually all off-the-shelf
Internet client applications. This includes, but is not limited to,
the following:
Web Browsing (http) (ie NetScape, MS Internet Explorer, etc.)
Telnet
ftp
Internet Relay Chat
RealAudio
Gopher
SMTP/POP3
NNTP (Note 1)
...and many others.
Notes:
1. Your callers will need to have access to a public NNTP server.
For a list of public NNTP servers, http://altavista.digital.com
and search on "public NNTP server" (exactly as shown, including
the quotes).
FOSSIL HELP
-----------
PPPBBS requires that you have a FOSSIL driver, or equivalent,
installed on your computer before it will operate properly. A FOSSIL
driver is essentially a standardized set of routines for driving the
COM ports (serial ports) on your computer. A FOSSIL is a serial
port driver that can handle many ports.
DOS For PPPBBS under DOS 5.00 or higher, the X00 FOSSIL driver
ONLY by Ray Gwinn is recommended. X00150.ZIP is available from
www.degraaf.net web site and BBS as well as many other places.
Specific X00 for DOS set-up help is in the next section of this
documentation.
OS2 For PPPBBS under OS/2, the Ray Gwinn SIO package is recommended,
ONLY and you'll want to have your CONFIG.SYS install the special SIO
X00.SYS software interface that allows FOSSIL-programs to access
the OS/2 serial ports without virtualization. (ie faster!)
See the SIO documentation for more help setting up SIO and SIO's
version of X00.SYS.
WIN For PPPBBS under Windows95, you will probabily want to use
ONLY a very nice program called WinFossil. It is a FOSSIL driver
written specifically for Windows 95. It has the advantage
of making DOS communications programs which can do FOSSIL calls
(such as PPPBBS and Virtual Advanced BBS for DOS) run almost as
fast as native Windows applications. This is possible because
FOSSIL-based applications are given direct access to Windows
COMM support, eliminating the need for the operating system
to "virtualize" the COM port and thus eliminating a tremendous
amount of processor overhead. WinFossil has been tested by
the PPPBBS author.
SETTING UP X00 FOR DOS
----------------------
Configuring the computer to install the X00.SYS FOSSIL driver
at boot-up is done by editing the CONFIG.SYS file -- typically
this means adding one line of text.
A basic computer system with two COM ports at the standard COM1/COM2
locations might use the line:
DEVICE=C:\DOS\X00.SYS 0=3F8,4 1=2F8,3 B,0,57600 B,1,57600
The above example configures the FOSSIL driver so that FOSSIL
port 0 is at base address 3F8 and IRQ 4, and port 1 is at base
address 2F8 IRQ 3. The above example also shows using the B
option to lock the baud rate of both COM ports to 57600.
If the above example computer had two more ports at addresses
3E8 IRQ 5 and 2E8 IRQ 2, the line would be:
DEVICE=C:\DOS\X00.SYS 0=3F8,4 1=2F8,3 2=3E8,5 3=2E8,2 B,0,115200 B,1,57600 B,2,57600 B,3,57600
The above example would give you four FOSSIL ports: Port 0,
Port 1, Port 2, and Port 3. Note that FOSSIL ports begin at 0
(zero) not 1 (one). Port 0 would be locked at 115200 baud, and
Ports 1, 2, and 3 would be locked at 57600 baud.
There are many more examples and a complete explanation
in the docmentation that accompanies X00. This text is merely
intended to be a primer to help you get started quickly.
The X00 FOSSIL driver is quite versatile; it can control
standard and non-standard COM ports; it can also be used to
control some non-intelligent multiport serial boards.
SETTING UP DRIVERS THAT ACT LIKE FOSSILS
----------------------------------------
There are some hardware-specific drivers that "look-like"
FOSSIL drivers to application software. A couple of examples
are CFOS, a FOSSIL for driving older proprietary ISDN cards
found all over Europe, and G00, a driver for GTEK's intelligent
multiport serial boards, such as the SmartCard 8.
These types of drivers should also work well with PPPBBS.
Consult the manufacturers directions for driver installation.
SETTING UP WINFOSSIL UNDER WIN95
--------------------------------
WinFossil practically sets itself up for you. Once the
files are installed, you merely go to the Control Panel,
select the WinFossil icon, and use a nifty configuration
program to enable the ports you want WinFossil to service.
As a convenience, you may wish to put a Windows 95
shortcut to the WinFossil configuration wizard on your desktop,
should you need to make WinFossil configuration changes at
some point in the future.
After setting up WinFossil, don't forget to use the
WinFossil cofiguration wizard to:
1) Enable the COM ports to be serviced by WinFossil.
2) Set the Locked Baud Rate of each port to 57600 or higher,
depending on the type and age of the modem on each port.
3) Set the Rx buffer to at least 8192 and the Tx buffer
to at least 8192 for each port. You may experiment
with buffer settings for best program performance.
NOTE: You may wish to give the COM port which is to be used by
PPPBBS Channel 0 (the dial-out to your ISP) larger Rx and Tx
buffers.
USING 56K MODEMS
----------------
PPPBBS fully supports ALL high-speed AT-command set modems -
from 9600 to 56000 bps.
It would seem that many ISPs support the use of 56k modems
these days, and it would seem like a good idea to use a 56k
modem on your PPPBBS dialout line. Before you run out and get
one, make sure you get a good modem; and make sure you have
a clean phone line to use.
It has been the author's experience that a poorly-made 56k
modem and/or noisy phone line will actually give you less speed than
a regular 33.6 modem connection. If this happens, one of the
best solutions is to connect to your ISPs regular 33.6 dial-up
pool (many ISPs keep their 33.6 and 56k modems on separate
hunt-groups) instead of trying to use their 56k facilities,
OR, you can disable 56k by reconfiguring the modem itself.
See your modem manual for the correct AT command.
ADVANCED OPTIONS AND TIPS
-------------------------
This section describes advanced options; these options
are not required -- they are available to allow you to configure
PPPBBS to be as powerful as you need it to be.
TRANSPARENT DNS SELECTIVE INTERCEPTOR
-------------------------------------
When your PPP callers use the Internet to surf the web or
use other Internet services, such as FTP, telnet, SMTP, and so
on, they are using your ISP's DNS (domain name server) to
resolve hostnames to IP addresses. But what if the server
they want to access is running right on your PPPBBS itself?
The "Transparent DNS Selective Interceptor" is a mechanism
that gives each resolve request from your PPP callers a quick,
cursory examination, and if the hostname they want resolved
is "bbs" it intercepts the request and returns a reply giving
your current IP address. This permits SysOps using PPP accounts
with dynamic IP addressing to be able to run the built-in server
applications, and have them be easily accessible to PPP callers
logged into your PPPBBS.
To access your web server, for example, a PPP caller would
start up their web browser and enter the URL:
http://bbs/ (Some browsers may let them abbreviate to "bbs")
To access the Text BBS via your telnet server, a PPP caller
could type:
telnet bbs
This applies to any servers you have running on your PPPBBS site,
and is not limited to the web and telnet servers.
If the hostname that needs to be resolved is not "bbs" then
the resolve request is NOT intercepted and it is passed on
normally, to your ISP's DNS server(s).
There is nothing you need to set-up. The interceptor works
automatically, and transparently, and should not interfere
with normal operation.
BLOCKED.CFG
-----------
BLOCKED.CFG is an ASCII file you create with a text editor.
Its use is strictly optional. BLOCKED.CFG allows you to
block incoming-caller TCP/IP access to certain host TCP/IP
address/port combinations. Its possible applications include
blocking SPAMMERs from using your ISPs SMTP server, or blocking
under-age callers from accessing known adult web sites.
For example, the author's ISP SMTP server is at IP address
205.138.138.1, and all standard SMTP servers listen on port 25.
So the author's BLOCKED.CFG looks like:
205.138.138.1,25
This simple example shows only one line of data in the file.
BLOCKED.CFG may contain up to 100 lines (entries).
NOTE: BLOCKED.CFG does not apply to users logged in with
a security level of 900 or higher.
RESERVED.CFG
------------
RESERVED.CFG is an ASCII file you create with a text editor.
What it does is fairly technical; its use is strictly optional.
It allows you to "reserve" TCP or UDP ports to be automatically
assigned to a particular PPP user when they are logged into the
router.
Up to 100 entries (one entry per line) may be entered into this
file. For more information and examples, see the section
about running Internet Server Applications on Computers
Routed Through PPPBBS.
HOURLY.BAT & DAILY.BAT
----------------------
If created, these files are executed either hourly or daily
as applicable. These files allow you to customize PPPBBS
to automatically run external maintenance programs, such as
mail tossers, daily-processing for door games, and so on.
Especially useful for SysOps using the FRONTEND.BAT feature.
IMPORTANT NOTE: If the FRONTEND.BAT option is being used,
PPPBBS assumes you are running under Windows 95, and runs
HOURLY.BAT and DAILY.BAT in the background. This allows them
to run without disturbing PPPBBS -- even if they take a few
minutes to run.
If, however, you are NOT using the FRONTEND.BAT feature, then
PPPBBS assumes you are running under DOS or OS/2 and it must run
HOURLY.BAT or DAILY.BAT the old-fashioned way. Therefore,
if you are not using the FRONTEND feature, it is advised that
you not use the HOURLY.BAT or DAILY.BAT feature, unless you really
need it. If you do use it, you should limit HOURLY.BAT and/or
DAILY.BAT to quick operations.
USING PPPBBS WHERE NUMBER OF PHONE LINES IS RESTRICTED
------------------------------------------------------
Ideally, PPPBBS should be used with at least 3 phone
lines available for its use:
--------------------------
| Dedicated or On-Demand |------phone line 1-------->
| DialOut To ISP (Ch 0) |
--------------------------
| Incoming Line (Ch 1) |<-----phone line 2---------
| |
--------------------------
| Incoming Line (Ch 2) |<-----phone line 3---------
| |
--------------------------
.
.
.
What if you have only ONE or TWO PHONE LINES available?
Solution: If you don't get very many calls on your "voice"
phone line, then hook it up to Ch 0, set PPPBBS to On-Demand,
and use your voice line for the ISP dialout. Your voice line
will only be tied up while incoming callers are using PPP
Internet access. That leaves your ONE or TWO BBS PHONE
LINES available to be connected to Ch 1 (ONE LINE)
or connected to Ch 1 and Ch 2 (TWO LINES).
CONTROLLING THE NEW USER QUESTIONAIRE
-------------------------------------
By default, PPPBBS new user sign up asks for the typical
personal information: name, address, city, state, zip,
phone number, and so on. You can make PPPBBS skip certain
fields by simply editing PPPTEXT.CFG. If make the line blank
where it reads "Address:" then PPPBBS will not ask for
address. Important! Do NOT delete the line entirely.
The line should be blank (completely empty), but NOT deleted.
Backup your PPPTEXT.CFG before attempting this edit.
CHOOSING A MULTIPLE SERIAL CARD
-------------------------------
It is not the author's place or desire to suggest that you
go out and buy any one particular multiple serial board. There
are no doubt many serial boards which will work with PPPBBS,
so long as the FOSSIL driver has been set-up properly.
In the hope of providing some information so that you can make
your own decision, here is a list of multiple serial cards known to
work with PPPBBS:
Driver Support
Serial Card DOS OS2 Windows 95
------------------------- --- --- ----------
GTEK Blackboard-4L X00 SIO GTEK Driver + WinFossil
GTEK Blackboard-4 X00 SIO GTEK Driver + WinFossil
X00 = X00 FOSSIL DRIVER
SIO = SIO DRIVERS FOR OS2
The author welcomes user-submitted information to include in the
above list.
When purchasing a serial board you have to take into consideration
the operating system you will be using. If you are using DOS, then
your choice is much less critical. X00 can be made to function with
just about any non-intelligent serial card. If you will be using
Windows 95, then you may want to make certain that the board
comes with drivers for Windows 95 (or that the drivers can be
downloaded from their web site).
SETTING UP MULTIPLE SERIAL PORTS UNDER DOS
------------------------------------------
Setting up multiple serial ports under DOS is pretty
simple: configure the serial card so that it doesn't
conflict with any other hardware, then configure X00
to the port addresses and IRQ(s) you've set-up.
NOTE: It is possible for X00 to support multiple COM
ports using the same IRQ if certain conditions are met:
(1) All ports sharing the IRQ must be on the same card
(2) The card has been designed to allow ports to share
a single IRQ
Example:
2 COM ports on Motherboard
COM1 Base 3F8 IRQ 4
COM2 Base 2F8 IRQ 3
4 COM ports on GTEK BlackBoard-4
COM3 Base 100 IRQ 12
COM4 Base 108 IRQ 12
COM5 Base 110 IRQ 12
COM6 Base 118 IRQ 12
6 COM ports total
In CONFIG.SYS, the X00 line might look like:
DEVICE=C:\DOS\X00.SYS 0=3F8,4 1=2F8,3 2=100,12 3=108,12 4=110,12 5=118,12
SETTING UP MULTIPLE SERIAL PORTS UNDER WINDOWS 95
-------------------------------------------------
Setting up multiple serial port boards under Windows 95
can be a little more tricky. There is no one way to advise
how to set-up a multiple serial board since each one is bound
to be diffrerent.
If your serial board comes with drivers, then you may be
all set. Typically, you will run a SETUP.EXE which will copy
a few files, and update one or two .INF files, so that
Windows 95 can then "Plug&Play" the new serial board
("New Hardware Found") the next time you restart Windows 95.
There may or may not be more steps involved, depending on
the serial board.
If your serial board does not come with drivers, you may
still be able to "install" the card into Windows 95 manually
by using the "Add New Hardware" function from the "Control Panel."
Be prepared to manually configre the base address and IRQ for
each port, if that is what it takes.
NOTE: Once your serial ports are recognized by Windows 95,
don't forget to set-up WinFossil!
IMPORTANT NOTE: When Windows 95 boots, it checks each known
serial port on your system to see what is connected, mouse or
modem. If it finds a modem, it tries to figure out the type,
manufacturer, and Windows 95 "plugs and plays" the modem. If
you have many serial ports, this process can take longer.
If you have external modems with LED indicators, you can see
the process happening (the DTR line will light momentarily
and the Send Data and Receive Data lights will flash).
If you have a lot of serial ports, the modem-detection
process can still be in-progress even after the blue Windows 95
boot-up screen disappears, and your desktop appears, giving
the appearance that the computer is ready to use.
It is not recommended that you start-up any communications
software until Windows 95 has completely finished its
modem-detection process.
CONNECTING COMPUTERS VIA NULL MODEM
-----------------------------------
Suppose you have PPPBBS running on one computer, and you
have one or more other computers in the same room or office
that you want to connect to it directly. The solution is to
have enough serial ports on your PPPBBS computer, and to use
an adapter or adapter-combination called a NULL MODEM. The
null modem will allow you to connect computers to your
PPPBBS computer directly; you'll need one null modem
for each computer you want to directly connect.
When directly connected, you can typically use very high
baud rates (57600 or higher). Computers connected to PPPBBS
via null modem can make either PPP logins (and access the
Internet), or text-based BBS logins.
Special Note When Using Over Null Modem
---------------------------------------
Text-based BBS logins over the null modem should press ***
to start the text-mode session. This does NOT apply to PPP
logins over the null modem, which are completely automatic.
A null modem does not use a phone line; it is merely an
"adapter" that should ideally make the following connections:
Pin Pin
Chassis Gnd 1 -------------------- 1 Chassis Gnd
TX 2 -------------------- 3 RX
RX 3 -------------------- 2 TX
RTS 4 -------------------- 5 CTS
CTS 5 -------------------- 4 RTS
DSR & CD 6 & 8 ---------------- 20 DTR
Signal Gnd 7 -------------------- 7 Signal Gnd
DTR 20 ------------------- 6 & 8 DSR & CD
Radio Shack just happens to sell an ideally-wired null modem;
you'll need cat. no. 26-1495 (F/F Gender Changer) and cat. no.
26-1496 (Null Modem). As of this writing, the price for each
unit is $5.99 US. You'll also need a standard PC modem/serial
cable, so don't forget to buy one of those if you don't have a
spare one already laying around.
For purposes of this example, let's call the PPPBBS
system the "host" computer, and the other computer(s)
"guest" computers. The following example shows a PPPBBS
computer connected to 3 real modems, and connected to one
computer directly through a null modem:
------------- -------------
- Host - - Guest -
- - - -
- Ch0 COM1 - ---|modem| - -
- - - -
- Ch1 COM2 - ---|modem| - -
- - - -
- Ch2 COM3 - ---|modem| - -
- - - -
- Ch3 COM4 - -|F/F GC|-|MullModem|---serial-cable--- - -
------------- -------------
The above example could be easily expanded by having more
COM ports available on the host computer.
IMPORTANT NOTE: It is important that you lock the baud rate
PPPBBS COM port (from within your FOSSIL driver) to a proper
speed. For ports connected via NULL MODEM, it is especially
important to make sure both computers are using the SAME BAUD RATE.
Also, When you set-up a channel connected a null modem in PPPCFG,
you should set the Init: to the word NULL. This lets PPPBBS know
that this channel is not a real modem.
If the guest computer is running Windows 95 and would like
to use Windows 95 Dial-Up Networking to connect to the host
computer, here are the set-up steps:
FIRST SET-UP THE NULL MODEM IN WINDOWS 95
1) Open "Control Panel"
2) Open "Modems"
3) Click "Add..."
4) Click "Don't detect my modem..." (Check the Box)
5) Click "Next"
6) Click "Standard 28800 bps Modem"
7) Click "Next"
8) Select the Serial Port the null modem is connect to
9) Click "Next"
SECOND MAKE A NEW CONNECTION
1) Open "My Computer"
2) Open "Dial-Up Networking"
3) Open "Make New Connection"
4) Type a New Name for the Connection (example: NullModem)
5) For Modem, select "Standard 28800 bps Modem"
6) Click "Configure..."
7) Make sure that the baud rate is correct (matches host computer)
8) Click "OK"
9) For telephone number, put in any number (your BBS number will do)
10) Click "Next"
11) Click "Finish" to save the new connection
NOTE: It is possible to use the null modem concept to connect
two serial ports on the same (PPPBBS) computer. That way, if you
run PPPBBS under Windows 95, you could also run Winsock-based
Internet applications on your PPPBBS computer.
The following example shows a host computer connected
to itself:
-------------
- Host -
- -
- Ch0 COM1 - ---|modem|
- -
- Ch1 COM2 - ---|modem|
- -
- Ch2 COM3 - ---|modem|
- -
- Ch3 COM4 - -|F/F GC|-|MullModem|-|
- - |
- Ch4 COM5 - ---serial-cable-------|
-------------
This computer is now both a host and guest. Setting up the
Windows 95 Dial-Up Networking is the same as previously
described. One could say that a computer set-up in this
manner routes through itself.
RUNNING INTERNET SERVER APPLICATIONS
ON COMPUTERS ROUTING THROUGH PPPBBS
------------------------------------
Naturally, PPPBBS connects your over-the-phone-line callers
to the Internet; that is its main function. And as shown in
the previous section, it can also work over null modems.
While using the PPPBBS Internet router, connected computers
can use most any Internet client application (web browsing, telnet,
ftp, and so on). But what about server applications such as
web servers, telnet servers and so on?
It is possible, but because PPPBBS lets you run a multiuser
Internet Access Server using just one IP address, there is a
small amount of additional set-up required, mainly editing
RESERVED.CFG. Here are some examples:
Example 1:
A caller with an existing account with the username "Jim"
wishes to run a telnet server when he is connected to PPPBBS.
He wishes to use the standard telnet TCP port 23.
Create or edit file RESERVED.CFG and put in the line:
Jim=23
Example 2:
The SysOp wishes to connect a Windows 95-based computer
directly to PPPBBS, and run a web server on the standard
web server TCP port 80.
Connect the Windows 95 computer to the PPPBBS computer via
null modem as described in the previous section, and test
the set-up with a web browser to make sure the "basics"
are set-up correctly.
On the PPPBBS computer, use the user editor to create an
account for the other computer to use. You might set the
username to, for example, "webserve". Set the security
level for the account at 900.
Create or edit file RESERVED.CFG and put in the line:
webserve=80
Example 3:
PPPBBS is running under Windows 95. The SysOp wishes to
route the machine through itself, and run a web server on
port 80 and a telnet server on port 23.
Connect the machine to itself, as described in the previous
section, and test the set-up with a web browser to make sure
the "basics" are set-up correctly.
Use the PPPBBS user editor to create an account. You might
set the username to, for example, "pppbbs". Set the security
level for the account at 900.
Create or edit file RESERVED.CFG and put in the lines:
pppbbs=23
pppbbs=80
While logged on, the specified user will be able to run
Internet server applications on the TCP ports specified.
The server application will be accessible by both users on
the Internet, and users calling into PPPBBS.
Once logged off, the reserved TCP ports are freed.
It is possible to reserve the same TCP port for different
users, such as if two callers both wanted to run telnet servers.
This practice is NOT recommended, however; only one caller
at a time can "own" a particular TCP port.
IMPORTANT NOTE: TCP ports configured for use in SERVERS.CFG
and TCP ports 256 to 512 cannot be reserved in RESERVED.CFG.
USING PPPBBS WITHOUT CONNECTING TO THE INTERNET
-----------------------------------------------
Even if you've disabled dial-outs to the ISP, you can
still use PPPBBS for its built-in BBS, and as an Intranet
(or private network) router. You could, for example, still
run a private web server for use by the callers.
To use the router without connecting to the Internet, you'll
need to set the Router IP address to some "fake" fixed IP address.
Since you won't be connecting to the Internet anyway, it doesn't
matter what IP address you use.
You will be able to run server applications using the same
set-up method as if you were actually connecting to the
Internet. Server applications will be accessible at the
"fake" IP address you set for Router IP. Since this will
be a fixed address, it will be easy for users to access server
applications on your Intranet.
NOTE: To prevent Channel 0 (the dial-out channel) from
"taking up" a COM port, set the DialOut Configuration Port #
to some non-existant FOSSIL port number, such as 9.
Even if you are not connecting to the Internet, you can
still make use of the built-in TCP/IP stack and built-in TCP/IP
applications. The web server, telnet server, smtp server and
pop3 server are all still usable by callers logged in using
PPP to your PPPBBS. The web server let's you have your own
private web site or bbs-on-a-web-site. The telnet server
lets them log into the BBS character-style. The smtp server
and pop3 server will still let them exchange mail with
other users of your PPPBBS.
NOTE: If you are not going to connect to the Internet, you
should set the "Primary DNS" to be the same "fake" address
you set-up for Router IP. This will allow the transparent
DNS selective interceptor to function, and callers will be
able to access your server applications using the hostname
"bbs".
ABOUT DYNDNS.COM
----------------
DYNDNS.COM is a service that maps your dynamic IP address to
a static Internet hostname. You can look them up on the web at
www.dyndns.com. There is no affiliation between DYNDNS.COM and
the author of PPPBBS.
PPPBBS is designed to be compatible with a wide range of PPP
accounts to connect your site to the Internet. It can be used
with expensive, dedicated, static IP address accounts, or
considerably cheaper, non-dedicated, dynamic IP address accounts.
If having your TCP/IP server applications (web server, telnet
server, and so on) conveniently accessible to Internet users
all over the world is NOT important to you, then the type of
account you use is irrelevant. PPPBBS will still function as
a network access server for your callers just the same no matter
what type of PPP account you have.
If, however, having your TCP/IP server applications accessible
to Internet users all over the world IS important to you, then you
need either a static IP (from your ISP), or a dynamic IP to static
hostname mapping service like DYNDNS.COM. This is so that
Internet users all over the world will be able to "find" your
site consistently. If you consider that a dynamic IP address
is like having a phone line where your phone number changes
randomly, then you can see how hard it would be for your friends
to call you!
DYNDNS.COM allows you to use a cheap, dynamic IP Internet
account to connect PPPBBS to the Internet, with most of the
benefits of a static IP address. Those benefits being namely
the ability to make your server applications (web server, telnet
server, and so on) available to Internet users all over the world
at a hostname that is constant.
Whenever your IP address changes, PPPBBS uses its built-in
DYNDNS.COM client to notify the DYNDNS.COM server of your
current IP address.
POSSIBLE QUESTIONS AND ANSWERS
------------------------------
NOTE: For more POSSIBLE QUESTIONS AND ANSWERS, see the introduction.
---- * ----
Q: When I try to login text-mode via null modem, I get strange
characters on the screen, and nothing looks right.
A: The BAUD RATE between the two serial ports is mismatched.
Lock the baud rate of the serial port controlled by PPPBBS
by using the FOSSIL driver, to a value of 38400 or higher.
Set the baud rate used by the "Standard 28800 bps Modem"
to be the same baud rate as use by the PPPBBS serial port.
---- * ----
Q: When I try to login PPP-mode via null modem, it doesn't work.
A: Try it again. If it still doesn't work, then likely the
BAUD RATE between the two serial ports is mismatched.
Lock the baud rate of the serial port controlled by PPPBBS
by using the FOSSIL driver, to a value of 38400 or higher.
Set the baud rate used by the "Standard 28800 bps Modem"
to be the same baud rate as use by the PPPBBS serial port.
---- * ----
Q: PPP and the PPPBBS mini-BBS are working correctly.
But when callers try to access my other BBS through
FRONTEND.BAT, they get strange characters. What causes
this?
A: Baud rate mismatch.
Lock the baud rate of the serial port by using the FOSSIL
driver, to a value of 38400 or higher.
In the configuration for your other BBS software, configure
it to lock the baud rate at the same rate.
---- * ----
Q: Is PPPBBS year-2000 compatible?
A: Yes.
---- * ----