Basic Setup of LXTCP/PNR Using a PCMCIA Modem in the 200LX Card Slot
====================================================================

1. Gather this information ahead of time (from your ISP):

 * the names of the servers for POP, SMTP, and NNTP
 * the IP numbers for the primary domain name server (DNS)
    (a second number is good, but not required)
 * your username and password (if they are different for connecting
    and for getting mail, you'll need both sets)
 * you may need IP numbers for the gateway and the netmask to get LXTELNET
    to work, but try using just BOOTP first


2. Assemble the following minimum files (all available via SUPER).  Put
   them in some directory (e.g., C:\example\path).

 filename     source                       function
 --------     ------                       --------
 chat.exe     (from DOSPPP)                dial phone & connect to ISP modem
 epppd.exe    (from DOSPPP)                load packet driver
 termin.com   (from DOSPPP)                terminate packet driver (when done)
 pppd.cfg     (from DOSPPP, edit as below) configuration for epppd (& chat)
 lxmta.exe    (from LXTCP)                 message transfer agent, mail & news
 lxtelnet.exe (from LXTCP)                 telnet client
 tcp.cfg      (from LXTCP, edit as below)  configuration for LXTCP clients
 pnrti.exe    (from PNR)                   message threader
 pnr.exm      (from PNR)                   message reader, mail & news
 pnr.cfg*     (from PNR - edit as below)   configuration for PNR
 
   *must be located in C:\_DAT

Optional files (there are others such as ping, finger, and so on).

 lxftp.exe    (from LXTCP)                 ftp client
 lxGftp.exe   (from SUPER)                 graphical ftp client
 ntime.exe    (from WATTCP)                synch 200LX clock with NTP server
 chat.scr     (from DOSPPP)                script for chat dialer


3. Edit the configuration files.

[pppd.cfg]
com2
38400
crtscts
connect "chat REPORT CONNECT ABORT BUSY '' AT&F OK ATDT77570009 CONNECT"
user "xxx"
passwd "yyy"
namsrv 206.64.96.2
namsrv 206.64.96.3

 Notes:
 *if you need a special initialization string for your modem, edit the AT&F
 *put your own dialup number in place of 7757000
 *if using a modem with the 200LX serial port, use com1 instead of com2
 *replace the xxx with your login username and yyy with your login password
 *put the IP numbers for your ISP's DNS in for the namsrv numbers 
  (you don't have to have two different numbers, but it can help)

[tcp.cfg]
my_ip=bootp
smtp.server=smtp.yourhost.domain
pop.server=pop3.yourhost.domain
pop.username=username
pop.password="password"
imap.server=yourhost.domain
imap.username="heise"
imap.password=""
lxmta.nntp.server=news.yourhost.domain
lxmta.spooldir=c:\example\path\mailbox
lxmta.newsrc=incoming.jn

 Notes:
 *The list above contains just the basic parameters that need to be edited.
  If you have NNTP authentication, you'll need to edit those lines.  There
  are also quite a few additional parameters, but the documentation is
  pretty good for most of it, and they are not included here.
 *bootp lets LXTCP get the IP number from the server (for use with dynamic
  IP assignment).  The gateway and netmask are probably not needed, you
  can omit those lines.
 *Replace yourhost.domain as appropriate, with the names of your ISP's
  servers for each of these services.
 *Replace username and password with the names you use to get mail
 *Rename lxmta.spooldir=c:\example\path\mailbox and lxmta.newsrc=incoming.jn
  to match the directory names you chose.

[pnr.cfg]  (must be in c:\dat directory)  The following lines must be in it:

[PNR]
user=username
host=yourhost.domain
name=Firstname Lastname
folder=c:\example\path\filed
spool=c:\example\path\mailbox
timezone=-0500

 Notes:
 *The user, host, and name can be whatever you want--they will be used to
  form the From: headers of outgoing messages as in:
    From: Firstname Lastname 
 *The folder and spool must match the directory names you picked above. 
 *Timezone is relative to GMT, (the -0500 is applicable for Eastern
  Standard Time (U.S.).


4. If you've followed the steps to here, you should be ready to go online.

   You'll need to run the programs in DOS, probably with the 200LX System
   Manager terminated, or with MAXDOS.  The following command should get
   your PPP connection up:

   epppd file pppd.cfg 

   You actually don't need the "file pppd.cfg" part unless your're using
   some other name for the config file.

   Once the packet driver is loaded, you can fire up your TCP applications
   by calling them from the command line.  For example, "lxmta"
   by itself will automatically send e-mail and new posts, and download 
   mail and posts.  The documentation is pretty good on using it once
   you've got the packet driver loaded.

   Once you are done online, call termin.com to terminate the packet
   driver and hang up the modem.

5. Use PNRTI to thread the news, and then PNR to read it.  PNR is a
   System Manager compliant program, so you'll need to install it there
   before using it.

Hope this helps.  Feel free to e-mail me privately if you have questions.


-- 
Theodore W. Heise       West Lafayette, IN, USA
PGP fingerprint = 5B C5 B4 54 3C 30 E3 2C  A2 FA 81 1C 39 06 B8 25