===============================================================================
DIP-NETWORKING-GUIDE "Trust this and get connected." 
===============================================================================
Unknown server error, Network is unreachable, = Network not configured
correctly.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
(This Guide is Linux Specific, and Unix General.(By Kent Robotti) (7-8-96)>>>>>
===============================================================================
(Contents...> (1).>>> Important Network Files...<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
              (2).>>> DiP...<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
              (3).>>> PppD...<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
              (4).>>> NFS...<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
              (5).>>> Software Recommendations...<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
              (6).>>> SLIRP...<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
              (7).>>> Further Reading...<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
This guide's purpose is to show you how to configure your linux system, to
use slip/ppp. To use slip/ppp you have to have networking support compiled in
your kernel. In addition you'll need the particular protocols you want to
use i.e. slip, ppp, cslip, compiled in the kernel. Chances are you have this,
unless you compiled a kernel and answered no to the above.
(This guide is slackware specific, another linux distribution will most likely
have different names for some of these files, and be in different directories.)
===============================================================================
You'll also need to have installed, the (tcpip) networking programs, on
slackware 3.0.0, these programs are in.>      /cdrom/slakware/n4 (tcpip)
(Dip> Used to make slip/ppp connection.>     /cdrom/slakware/n1 (dip)
(pppd> Used to make ppp connection.>        /cdrom/slakware/n1 (ppp)
(Script> Used to configure network files.> /cdrom/slakware/n1 (netcfg)

(The (dip) included with slackware 3.0.0 is compiled aout, if you want to run 
it, you have to install /cdrom/slakware/d5 (libaout), there's a more recent
version of dip available, precompiled in the elf format.)

(ftp.sunsite.unc.edu) (/pub/Linux/system/Network/serial/dip) (dip337o-uri.tgz)

(dip-3.3.7o/skey# make install
     (dip-3.3.7o# mv dip /sbin
                # mv dip8 /usr/man/man8      <-~# man dip
                # mv samples /etc

(There's another version of dip337o-LCK-uri.tgz that doesn't create or check 
for lock files, it has no additional features over (dip337o-uri). 
If you have a problem with this version, just remove it from your hard drive 
and get (dip337o-uri.tgz).
(ftp.sunsite.unc.edu) (/pub/Linux/system/Network/serial/dip) 
(dip337o-LCK-uri.tgz)      <-Precompiled-elf.> dipLCK# INSTALL-DIP
(Or.> /pub/Linux/Incoming)
===============================================================================
#################   (Using pkgtool to install packages.)   ####################
~# mount -r -t iso9660 /dev/cdrom /cdrom   <-If not already mounted.)
~# pkgtool
(Other.> Install packages from some other directory.
(Select Source Directory.> /cdrom/slakware/n4
(Use \|/, down arrow key, for (Yes) (No) (Quit)
===============================================================================
This guide is far from the last word on this subject, so I'm including pointers
at the end to further writings in this area.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
~# netconfig
(You can run the shell script netcfg and answer the questions, then take a
look at the files below and make changes and or additions, if needed.)
===============================================================================
(1)...Files to be concerned with, /etc/HOSTNAME, hosts, resolv.conf, /etc/rc.d/
rc.M, rc.inet1, rc.inet2, rc.S?<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
~# vi /etc/HOSTNAME  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

darkstar.ios.com         <-Just one line, the name you give Your Network =
                           Your Computer = (darkstar) and Your ISP = Internet
                           Service Provider's Name = (ios.com)

darkstar:~# vi /etc/hosts   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

127.0.0.1       localhost
198.4.75.44     darkstar.ios.com darkstar   <-198.4.75.44 = (Your IP Address)
                                              Your service provider assigns
                                              you one, either statically (it's
                                              the same every time) or dynamic-
                                              ally (it's different every time.)
                                              (If you are using slirp, the
                                               slip/ppp emulator, you would
                                               put 10.0.2.15 here...........)
===============================================================================
Even if you're assigned an IP address dynamically, you may notice that it's the
same every time. In this case you can put it in /etc/hosts. If it's not the 
same every time use 0.0.0.0 as your IP address. Either way dip will get an IP
address for you.
===============================================================================
darkstar:~# vi /etc/resolv.conf   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

domain ios.com                   <-Your service provider's domain name.)
nameserver 198.4.75.45           <-Your service provider's IP address,
nameserver 198.4.75.46             if more than one, include them all...)
nameserver 198.4.75.44

darkstar:~# vi /etc/rc.d/rc.inet1   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

HOSTNAME='hostname'

#Attach the loopback device.
/sbin/ifconfig lo 127.0.0.1          <-Configure loopback, so you can ping
/sbin/route add -net 127.0.0.0         yourself ~/# ping 127.0.0.1)
#
#
#
#                                    <-If you just have a slip/ppp connection,
#                                      You can comment # out the rest of this
#                                      file #################################)

darkstar:~# vi /etc/rc.d/rc.inet2   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

# Constants
NET="/usr/bin"
IN_SERV="lpd"
LPSPOOL="/var/spool/lpd"
#
#
echo -n "Starting daemons:"
#
#
# Start the SUN RPC Portmaper           <-If you want to use (NFS) to mount
if [ -f{NET}/rpc.portmap ]; then          remote filesystems, include these
   echo -n " portmap"                     lines, The rest of this file can
   ${NET}/rpc.portmap                     be commented out #################
fi                                        Unless you're acting as a server..?)
echo
#
#
#
#

darkstar:~# vi etc/rc.d/rc.M   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

# Tell the viewers what's going to happen...
echo "going multiuser..."
# Screen blanks after 15 minutes idle time.
/bin/setterm -blank 15                              <- 0 = No Blanking...)
# Look for CD-ROM...........................
# Comment # this, Put this line in /etc/fstab
# /dev/cdrom  /cdrom  iso9660  noauto,ro  0 0
#  Now -> ~/# mount /cdrom  ~/# umount /cdrom
# Set the hostname..............................
/bin/hostname `cat /etc/HOSTNAME | cut -f1 -d .`      (If you just have a slip/
#Initialize the NET subsystem.                         ppp connection, anything
if [ -x /etc/rc.d/rc.inet1 ]; then                     not listed here, can be
. /etc/rc.d/rc.inet1                                   commented out ##########
. /etc/rc.d/rc.inet2                                   #######################)
 else                                       
  /usr/sbin/syslogd          <-Syslogd & Klogd /cdrom/slakware/a3/(syslogd)  
  /usr/sbin/klogd              
  /usr/sbin/lpd              <-Don't # this line if you have a printer.)
fi
# Remove stale locks.........
Yes! leave this in...(No ###)
# Remove stale hunt sockets..
#
#Update all the shared library links automatically.
/sbin/ldconfig
#
#
#
# Start the local setup procedure.
. /etc/rc.d/rc.local
# All done.
===============================================================================
You may also want to look at /etc/rc.d/(rc.S) there's a line at the end.>>>>>>
/bin/sh /etc/rc.d/rc.serial   <-Remove # if there, so that rc.serial is run.
                                This may help if you're having trouble getting
                                your modem detected...........................)

(If you don't have a /dev/file for your modem, do this to create one.>
/dev# MAKEDEV ttyS1   <-ttyS0 = cua0 = com1 | ttyS1 = cua1 = com2 etc...)
(Or.> ~# mknod -m 660 /dev/cua1 c 5 65   <-cua0 = com1 cua1 = com2 etc...)
===============================================================================
(2)...(Manual login, using  DiP.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
darkstar:~# dip -t -v

DIP: host=darkstar.ios.com IP=198.4.75.44 (Or.> 0.0.0.0

(This reflects what you put in /etc/hosts, if you don't know your IP address,
because it's assigned dynamically it's not the same eveytime, you should
put 0.0.0.0 in /etc/hosts as your IP address.)
 
DIP> port cua1          <-cua0=com1, cua1=com2, cua2=com3, etc. or port modem)
DIP> reset              <-Reset the modem = ATZ)                
DIP> term                (If speed is set to high.> [DIP> speed 19200 (Etc...)
AT&F%C0W2               <-Enter] [The modem init string...)
ATDT2956700             <-The phone number...)
..............................................................................
Login: Password: Your IP address is 198.4.75.44 - My IP address is 198.4.75.45
..............................................................................
If you are using (SLIRP) the slip/ppp emulator, it would go like this.>>>>>>
/user/home/jerry% slirp -P   <-Start slirp after login: in PPP mode...)
(IP address of slirp host: 198.4.75.45) <-Slirp allows you to have a slip/ppp
(Your address is 10.0.2.15)               connection with just a shell account,
(or anything else you want)               you upload the slirp program to your
(Type five zeros (0) to exit.)            home dir. on your service providers
(Talking PPP, 115200 baud)                system, and start slirp after you
(Slirp Ready...)                          login:)...see below for details.)

############   To exit DIP term mode, press the keys [Ctrl] ]   ###############

DIP> get $rmtip 198.4.75.45      <-Your service provider's IP address..)
DIP> default                     <-Important...........................)
DIP> mode ppp                    <-Or slip, cslip)

darkstar:~# ping 198.4.75.45     <-To see if you're connected...)
(Press the keys...) [Ctrl] Z or [Ctrl] C to exit ping, or anything...)
If connected, then...darkstar:~# lynx, ftp, telnet, etc...
darkstar:~# dip -k   <-To kill dip...)
===============================================================================
~# find / -name LCK*   <-To find lock files.)  /var/spool/uucp/LCK..cua1
Every time dip is run, it creates lock files, /usr/spool/uucp/LCK..cua1,
/etc/dip.pid, if you Quit dip properly, (DIP> quit (or reboot, these should be
removed, otherwise you can't use dip again, until you remove them.
===============================================================================
(Sample DiP Script.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
darkstar:~# vi ppp.dip
===============================================================================
port /dev/cua1                         <-Where's the modem ?)
speed 38400                            <-38400=28.8 modem, 19200=14.4 modem.)
reset                                  <-Reset the Modem = ATZ)
send AT&F%C0W2\r                       <-Modem init string.)
wait OK 3                              <-Wait for OK response, from the modem.)
if $errlvl != 0 goto OK                <-If not found, say so.)
send ATDT 295-6700\r                   <-Dial the Phone number.)
wait BUSY 10                           <-Wait 10 sec...)
if $errlvl != 3 goto LINE_BUSY         <-If Line is BUSY, say so...)
wait CONNECT 35                        <-You have 35 sec. to connect.)
if $errlvl != 0 goto CAN'T_CONNECT     <-If CAN'T CONNECT, say so.)
wait annex: 5                  <-Some logins, require the annex: step, as well
if $errlvl != 0 goto annex:      as others, if not skip to, wait login: 15.)
send 3\r                       <-annex: number 3 and \r <Enter>
wait login: 15                 <-Wait for login: prompt, for 15 seconds.)
if $errlvl != 0 goto login:    <-If login: prompt is not found say so.)
send jerry\r                   <-Login name, (jerry) and \r = <Enter>)
wait Password: 10              <-P or p ?, assword: if not sure.)
if $errlvl != 0 goto Password: <-If Password: prompt is not found, say so.)
send secret\r                     <-Password and  \r <Enter>)
get $remote remote 5              <-Get your service provider's IP address.)
if $errlvl != 0 REMOTE_IP_?       <-If IP address is not found, say so.)
default                              <-Use Default Route = Important.)
print PPP CONNECTED: $rmtip          <-Print to screen Remote IP address.)
mode ppp                               <-Or> (mode slip) (mode cslip)
exit                                   <-Exit Return Me To.>~# lynx, ftp, etc.)
===============================================================================
darkstar:~# chmod u+x ppp.dip    <-Make ppp.dip executable...)
darkstar:~# dip ppp.dip          <-Execute ppp.dip...)
(Look for this and that...not found) This will pinpoint the problem,
not enough time, misspellings, etc...)
darkstar:~# dip -v ppp.dip       <-To run the script in verbose mode...)
===============================================================================
(Putting it all together.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
darkstar:~# vi ppp   <-Create a script to remove lock files, and start dip...)
===============================================================================
rm /usr/spool/uucp/LCK*       
rm /var/spool/uucp/LCK*
rm /var/lock/LCK*
rm /etc/dip.pid
dip ppp.dip
===============================================================================
darkstar:~# chmod u+x ppp
darkstar:~# ppp    <-Removes lock files, and starts dip to execute script...)
===============================================================================
(3)...(Compiling ppp-2.2.0f...) ~/ppp-2.2.0f# configure       <<<<<<<<<<<<<<<<<
============================================# make kernel
                                            # make
                                            # make install

(PPP-2.2.0f, requires linux kernel 1.3.85 or latter ?, the latter the better.
(The author of ppp writes, "That it will work with kernels 1.2.13 & 1.3.85."
I have kernel 20001, so I can't test this:-)

(If ppp doesn't install the scripts...) ~/ppp-2.2.0f# mv scripts /etc/ppp
/etc/ppp/scripts# cp ppp* /usr/sbin   <-Copy ppp-off, ppp-on, & ppp-dialer to  
                                        /usr/sbin, so they'll be in your path.)   
                                        ~# ppp-off   <-Kill ppp...)

(Where to Get...(ppp-2.2.0f.tar.gz) You should have no trouble compiling this,
if you have a recent kernel...[ncftp> open [to> sunsite.unc.edu
(Or through a Browser, Lynx, Netscape, Mosaic, etc.>>>>>>>>>>>>>>>>>>>>>>>>>>>
(ftp://sunsite.unc.edu/pub/Linux/system/Network/serial/ppp<<<<<<<<<<<<<<<<<<<<<

(PPP scripts, to be concerned with, (ppp-on) defines some parameters, and
calls the program /usr/sbin/chat, to execute the chat script (ppp-on-dialer)
(ppp-off) exits ppp<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(The use of a ppp chat script to establish a ppp connection is not discussed
in this guide, due to my ignorance in this area, please refer to the PPP-HOWTO
and ppp-2.2.0f documentation for guidance in how to create a chat script, or
use the shell script (pppsetup) to create a chat script. (See below for details.)

(If you have slip/ppp compiled as modules, you can load them this way, or if
you have (kerneld) support compiled in the kernel, they will be loaded
automatically when they are needed...see below...)

~# depmod -a            <-To create.> /lib/modules/?/modules.dep file.)
 # modprobe bsd_comp                      <-Load slhc, ppp & bsd_comp.)
 # modprope slip                          <-Load slhc & slip.)
 # modprobe ppp                           <-Load slhc & ppp, no bsd_comp.)
 # rmmod -r bsd_comp                      <-To unload bsd_comp, ppp, & slhc.)
 # rmmod -r slip                          <-To unload slhc & slip.)
 # rmmod -r ppp                           <-To unload slhc & ppp.) 

(If a module refuses to load, use the -f switch...~# insmod -f /path/module.o)

(Never strip a module.-> ~# strip module   <-Don't do this...)

(If you have /sbin/(kerneld) support compiled in the kernel, and you have this
line in /etc/rc.d/rc.S, all your modules will be loaded automatically when 
they are needed, and automatically unloaded if they are not being used for  
a period of time.

/sbin/swapon -a              <-Add this line to rc.S, don't replace rc.S
/sbin/update &                 with the (rc.hints) file that comes with
/sbin/kerneld                  modules-2.0.0, just keep rc.hints as a 
                               reference.)

(http://www.pi.se/blox/modules) (modules-2.0.0.tar.gz) # make # make install)
===============================================================================
(There's a little shell script you might want to get called (pppsetup)
this will ask you questions and output the answers to a couple of files,
(~ppp-go) -> & -> (~.pppscript) this chat script will connect you, based on the
answers you gave (PPPSETUP) and start ppp.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
(ftp.cc.gatech.edu)
(pub/Linux/system/Network/serial/ppp (pppsetup)

(Remove those ^M (Carriage Returns)...(~# fromdos <pppsetup> PPPSETUP
(Make PPPSETUP Executable............(~# chmod u+x PPPSETUP
~# PPPSETUP   <-Start Script...)
(Phone number : ? Baud rate : ? Nameserver IP : 198.4.75.45)   <-Your service
Dialup server says : login:                                      provider's IP
    ...and you say : jerry                                       address.....)
Dialup server says : Password:
    ...and you say : secret
Dialup server says : ***      <-To End PPPSETUP.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
~# ppp-go   <-To start the ~.pppscript you just created to connect to your ISP.)
===============================================================================
(Your /etc/ppp/options file should look something like this, if not exactly..)
===============================================================================
lock
/dev/cua1
38400
modem
noipdefault
defaultroute
crtscts
mru 1500
mtu 1500
passive
bsdcomp 15,15   <-Add this line for bsd compression, if the module /lib/modules
                  /?/net/bsd_comp.o is installed, and it can be loaded........)
===============================================================================
(Manual login: using minicom.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
First change the default help key setup to make it less awkward...............)
~# minicom -s (Screen and keyboard) Press the A key, then the [Esc] key,
then <Enter> (Now (Save setup as dfl)<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
After you login: and SLIP/PPP is started, Your IP Address is 198.4.75.44,
My IP Address is 198.4.75.45, You can (Suspend Minicom) (Press the keys,
[Alt] J (To suspend minicom.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

 ~# pppd /dev/cua1 &                     <-Start ppp...)
  # ifconfig lo 198.4.75.44              <-Your IP address...)
  # route add -net 198.4.75.45           <-Your service provider's IP address..)
  # netstat -rn (Or # ping 198.4.75.45)  <-To see if you're connected...)
  # fg minicom -s                        <-To get back to minicom...)

  # slattach -s 38400 -p slip /dev/cua1 &        <-Start slip.................)
  # ifconfig lo & route add -net, same as above...............................)

(If # fg minicom -s doesn't work. (Do this.> # jobs   <-To list suspended jobs.)
[4] Stopped   minicom -s   # fg 4   <-Put job # 4 in the (f)ore(g)round...)
===============================================================================
(4)...NFS...(NETWORK FILE SYSTEM)...........................................(4)
===============================================================================
(To mount a remote filesystem over an ethernet or slip/ppp connection..........)

(You need to have (NFS) FILESYSTEM SUPPORT compiled in your kernel............)
~/# cat /proc/filesystems    <-To see a listing of supported filesystems......)
      ext2
      msdos
nodev proc
nodev nfs       <-Eureka!!!)
      iso9660
===============================================================================
(Put the name's of the remote hosts you want to mount, in /etc/fstab..........)
darkstar~/# vi /etc/fstab   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
/dev/hda1      /        ext2         defaults   0 1
/dev/hda2    swap     swap    defaults  0 0
none         /proc        proc      defaults  0 0
/dev/hda3    /dos      msdos    defaults  0 2
/dev/cdrom      /cdrom      iso9660    noauto,ro  0 0
wuarchive.wustl.edu:/archive/.archive01   /mnt  nfs   ro,soft  0 0
nfs.diaspar.com:/slackware   /mnt   nfs   ro,soft  0 0

(After your connected, ethernet or slip/ppp, mount the remote host............)
   darkstar:~# mount nfs.diaspar.com:/slackware /mnt
   darkstar:~# cd /mnt
darkstar:/mnt# ls
===============================================================================
 WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
===============================================================================
(Stopping, SLIP/PPP, could leave your system in a state of shock, which might
make your console behave erratically. If this happens...~# reset (Or>>>>> Change
consoles...(Press the keys, [Alt] F2, F3, F4, etc. <-To change consoles......)
Then login: and either continue in the new console...(Or>>>>>>>>>>>>>>>>>>>>>>>
~# halt  ~# reboot ~# shutdown -r now   < -r If you want to reboot...........)
===============================================================================
(5)...Software Recommendations.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
(When you enter (sunsite) or its mirror (gatech), you should look in
(/pub/Linux/Incoming) first; there may be a more recent version of the
program you're looking for there...............................................)

(If you want to find a mirror of (sunsite) that's closer to you, get the file.>
/pub/Linux/(MIRRORS) (Or.> http://sunsite.unc.edu/pub/Linux/MIRRORS.html

(1). [archie & gopher...] (Archie FTP & Gopher Search Programs...) 
                          (ftp.cc.gatech.edu)
                          (pub/Linux/system/Network/info-systems)
                          (archie-1.4.ELF.tar.gz) <-precompiled-elf.)
                          (gopher2.016.tar.gz)    <-# make client)

(2). [arena...] (Graphical WWW. Browser, precompiled-elf-version available.)
                (http://www.w3.org/pub/WWW/Arena/Dist-beta2)
                (arena-beta-2b-linux.gz) (Or>
                (http://www.w3.org/pub/WWW/Arena)
   
(3). [ircii...] (I)nternet (R)elay (C)hat) (Client & Server.)
                (ftp.funet.fi) (/pub/unix/irc/ircII)
                (ircii-2.9-base?.tar.gz)   <-Get the latest ?)
                (ircii-2.9# make # make install) (~# man ircII   <-Man page.)
                (~# irc    <-After you're connected slip/ppp etc.)
                 >/server irc.cerf.net    <-Connect to irc server)
                 >/nick linuts            <-Give yourself a nickname.)
                 >/join #linux            <-Join channel #linux)
                 >/signoff                <-When your done...)

(4). [kermit...] (Modem Terminal Program....................................)

(ftp.kermit.columbia.edu) (/kermit/test/tar) (cku192.tar.gz)

(kermit# make linux "KFLAGS=-DNODEBUG -DNOOLDMODEMS"         <-To Compile with 
       # mv ckuker.nr /usr/man/man1/kermit.1   <-Man page.)    tcp/ip support.)
       # strip wermit                                                   
       # mv wermit /usr/bin/kermit
       # vi /root/.kermrc   <-Create .kermrc file.)

(Kermit uses /lib/libcurses.so, unless you compile it without -DCK_CURSES -> 
kermit# vi makefile (Press the keys.-> H2634 <-To goto line 2634, Remove.>
CFLAGS = -??? -??? -DCK_CURSES -??? -??? \  <-Remove.> -DCK_CURSES  
"LIBS = -ltermcap"   (Remove.> -lcurses (Keep.> -ltermcap)

(Curses makes kermit bigger, and doesn't really add anything significant to it.)

(There's plenty of documentation. You might want to keep any files with a
.ini, .doc, .hlp, .bwr, & .upd extension.)

(Sample ~.kermrc file.......................|~# kermit   (Some Kermit Commands.)
 
set line /dev/cua1                          |Linux Kermit> dial 2409600
set speed 115200                            |Connected...................)
set modem type hayes-high-speed             |Kermit Ready To Send...
set file download-directory /download       |Press the keys.> [Ctrl] \ C
show comm                                   |Linux Kermit> receive
set dial timeout 35                         |Linux Kermit> c /q
set file type binary                        |Zmodem Ready To Send...  
set flow rts/cts                            |Press the keys.> [Ctrl] \ C
set modem speed-matching off                |Linux Kermit> rz
set dial display on                         |Linux Kermit> suspend
set file name literal                       |~# Do Something else...
set rec pack 4096                           |~# fg kermit
set send pack 4096                          |Linux Kermit> hangup             
set window 5                                |Linux Kermit> quit             
set prompt Linux Kermit>                    |~# reset   <-If console acts
set dial retries 3                          |weird, after quitting kermit.) 
set dial interval 2                         |~# kermit              
set dial confirmation on                    |Linux Kermit> dial
set modem autoanswer on ATS0=1              |dial sorry, you must SET LINE
set receive timeout 60                      |or set HOST first = You have
set send timeout 60                         |to remove lock file first...
define rz !rz < /dev/cua1 > /dev/cua1       |~# rm /var/lock/LCK*      
define sz !sz \%0 > /dev/cua1 < /dev/cua1   |~# kermit
set block-check 3                           |
set file incomplete keep                    <-Linux Kermit> reget
set file display fullscreen                 <-If you leave -DCK_CURSES in
                                              when you compile kermit...)

(5). [knews...] (X Windows Newsreader....................................)
                (ncftp> open (to> ftp.nada.kth.se (/home/su95-kjo/knews)
                (knews-0.9.7?.tar.gz) (If you have sendmail installed.->
                (knews-0.9.7/configure.h <-Remove /* */ from the line that
                 points to it.> #define MAIL_COMMAND "/usr/sbin/sendmail -t"
                (knews-0.9.7# xmkmf
                            # make Makefiles
                            # make clean
                            # make all
                            # make install
 
(6). [lynx...] (Fast Non-Graphical, WWW. Browser...Compile with slang = color.)
               (http://www.wfbr.edu/dir/lynx)
               (lynx2-5fm.zip)   <-Latest Source.)
               (ftp.more.net) (/pub/mirrors/lynx)
               (lynx2-5FM.tar.gz)   <-Latest Source.)
               (~# unzip lynx2-5fm.zip) (Or.> ~# tar xzvf lynx2-5FM.tar.gz)
               (~/lynx2-5FM# vi Makefile   <-Edit...)
               (In vi press the keys.> H77 <Enter> <-To goto line 77)
               (About 77 lines from the top, remove # # from these 2 lines.>>>
                SLANGINC = -l../../slang/src#   <-Remove # from the beginning,
                SLANGLIB = -L../../slang/src$(ARCH)objs#       <-not the end.)
               (~/slang   <-Slang should be here, already compiled.)
               (~/lynx2-5FM# make linux-slang
                           # make install
                           # man lynx              <-Man page.)
               (# make linux = Plain lynx # make linux-ncurses = Must have
                ncurses installed /cdrom/slakware/d7/(ncurses)
               (Or.> (ftp.sunsite.unc.edu)
               (/pub/Linux/system/Network/info-systems/www)
               (lynx2-5FM.color.ELF.tgz) <-Precompiled-elf, with slang-color.)

(Add this line for lynx to recognize (.tgz). -> /usr/local/lib/(lynx.cfg)
SUFFIX:.tgz:application/octet-stream   <-Put this line anywhere in (lynx.cfg)  

(7). [mc...] (Midnight Commander, The File Manager, by which all
              others are judged, also does ftp.)
             (http://stekt.oulu.fi/~jtklehto/mc)
             (Uncompiled source, to compile.>>>
             (mc-3.1.21?# configure # make # make install)

(8). [mosaic...] (Another equally popular, Graphical WWW. Browser.)
                 (Precompiled elf, and aout, versions available.)
                 (to> ftp.ncsa.uiuc.edu)
                 (Mosaic/Unix/binaries/2.7b)
                 (Mosaic-linux-static-2.7b4.gz)   <-BEST-BET-GET-IT.)
                 (Mosaic-linux-dynamic-2.7b4.gz)  <-???)
                 (Static = ELF + AOUT) (Dynamic = Just ELF)

(9). [ncftp...] (Has -C -R Options, so you can resume a download that was
                 interrupted, and retrieve entire directories...)
                (ftp.cc.gatech.edu)
                (pub/Linux/system/Network/file-transfer)
                (ncftp-2.3.0-ELF-bin.tar.gz) <-Precompiled-elf+Source.)

(10). [netscape...] (The Most Popular, Graphical WWW. Browser...) 
                    (ncftp> open (to> ftp2.netscape.com
                    (ncftp> cd pub/navigator/3.0/current/unix)
                    (netscape-v30b5-export.x86-unknown-linux-elf.tar.gz)
                  
(11). [nn-tk...] (Excellent Newsreader if you have a ethernet connection; not
                  recommended for a slip/ppp connection. (Two versions (nn) &
                  (nn-tk) [nn-tk = requires X Windows & tk, tcl, to run...]
                  (On slackware 3.0, /cdrom/slakware/tcl1 <-tk4.0 & tcl7.4)
                  (Or get the latest tcl & tk...see below [surfit...]
                  (ncftp> open (to> sunsite.unc.edu (Precompiled-elf.)
                  (/pub/Linux/system/News/readers) (nn-tk.13.1.bin.tar.gz)
                  (/# tar xzvf nn-tk.13.1.bin.tar.gz   <-It's installed)

(12). [peruser...] (Offline Newsreader...) Will post, download, thread,  
                    and read Newsgroups offline, requires X Windows and   
                    regex-0.12, libforms.so.0.81, to compile & run........)
                   (ftp.sunsite.unc.edu) (/pub/Linux/system/News/readers)
                   (peruser1.4.4.tgz)
                   (ncftp> open (to> laue.phys.uwm.edu)
                   (/pub/xforms/test/)(bxform-linuxELF.tgz) <-libforms.so.0.81)
                   (~/xforms# make install    <-Install /usr/lib/libforms.so)
                   (ncftp> (to> prep.ai.mit.edu (/pub/gnu) (regex-0.12.tar.gz) 
                   (regex-0.12# configure
                              # make
                   (You'll get some errors at the end if you don't have tex)
                    installed; don't worry all you need is regex.o)
                   (~/regex-0.12# mkdir /usr/local/src/regex-0.12
                                # mv regex.o /usr/local/src/regex-0.12
                   (~/news-peruser# make      <-Compile & Read INSTALL.)
                   (~# mkdir .peruser_spool 
                   (~# vi .peruser-newsrc     <-Create file...)
                    alt.os.linux:             <-Groups you want to download.)
                    comp.os.linux.misc:         
                   (~# startx (Then.> ~/news-peruser# peruser <-Start peruser.)
                   (Configure...) (Click on [Hear] after you're connected
                    slip/ppp, and peruser will download the newsgroups in
                    ~.peruser-newsrc and put them in ~.peruser_spool)
                   (After the newsgroups are downloaded, click on a
                    newsgroup to read it.)
 
(13). [screen...] (Terminal Multiplexer....................................)
                  (ftp.sunsite.unc.edu) (/pub/Linux/utils/terminal or console)
                  (screen-3.7.1.ELF.tgz)   <-Precompiled-elf.)
                  (/# tar xzvf screen-3.7.1.ELF.tgz   <-It's installed.)
                  (ftp.prep.ai.mit.edu) (/pub/gnu)
                  (screen-3.7.1.tar.gz)   <-Uncompiled Source.)
                  (screen# configure
                  (Edit.> screen/(Makefile) at line 25, to read.>
                   LIBS = -lcurses -ltermcap          
                  (screen# make
                         # make install
                  (screen# cp etc/screenrc /root/.screenrc
                         # man screen      <-Man page.)
                  (If you don't have /lib/libcurses.so, just use.>
                   LIBS = -ltermcap (I don't think screen will work 
                   with /lib/libncurses.so, no -lncurses)
(~# screen 
(~# Do something...ftp? in Window 0 (Then.> Press the keys [Ctrl] A C 
(~# Do something...lynx? in Window 1 (Then.> Press the keys [Ctrl] A 0
(~# Back to Window 0 (Then.> Press the keys [Ctrl] A 1   
(~# Back to Window 1 (Then.> Press the keys [Ctrl] A \   <-Quit all screens.)
(Screen also works in X Windows, in a xterm................................)
(Screen can create at least 10 Windows [Ctrl] A C   <-Create Window Command.)

(14). [skim...] (Offline Newsreader.........................................)
                (ftp.sunsite.unc.edu) (/pub/Linux/system/News/readers)
                (skim-0.8.4.tgz)
                (skim# make;make depend;make all;make test   <-README)
                     # chmod u+x skim
                     # chmod u+x xskim
                     # make install
(Two versions (skim) & (xskim), xskim requires X Windows & tcl/tk to run,
see below...[surfit...]
                                       
(15). [slrn...] (Fast Newsreader, First choice for a slip/ppp connection...)
                (ncftp> open (to> space.mit.edu (/pub/davis/slrn)(latest ?)

     [slang...] (Required by slrn, to compile...)
                (/pub/davis/slang)(latest ?)
                (~# tar xzvf slang?.tar.gz)
                (~# tar xzvf slrn?.tar.gz)
                (First.> ~/slang# configure # make 
                (Second.> ~/slrn# configure # make  
                (Put ~/slrn/(slrn.rc) in /root/(slrn.rc)
                (~# touch .jnewsrc    <-Create empty file in /root)
                (~# vi /etc/profile   <-Add line below and then.> ~# reboot)
                 export NNTPSERVER="news.ios.com"   <-="Your.news.server")
                (~/slrn/src/objs# slrn -C -n  <-After your connected.)
                (You can keep ~/slang where it is for [lynx...]...see above...)
                (Or> (ncftp> open (to> sunsite.unc.edu
                (/pub/Linux/system/News/readers)
                (slrn-0.8.8.3.ELF.tgz) <-Precompiled-linux-elf-version.)

(16). [surfit...] (X Windows WWW. Browser................................)
                  (ftp.pastime.anu.edu.au) (/pub/SurfIt/surfit-0.5.tar.gz)
                  (Doesn't need to be compiled, just requires tcl7.5 &
                   tk4.1 or later to run. (Install tcl & tk first, see below.)
                  (surfit-0.5# configure  
                  (surfit-0.5# chmod u+x surfit   <-Make executable.)
                  (Make sure this line in surfit looks like this.>>>>>
                   exec /usr/local/bin/wish "$0" "$@"
                  (~# startx (Then.> ~/surfit-0.5 surfit   <-Start surfit.)

(ftp.smli.com) (/pub/tcl) (TCL & TK,~# rm -r tcl & tk after both are installed.)
(tcl7.5.tar.gz)           (First)~/tcl7.5# configure # make # make install
(tk4.1.tar.gz)            (Second)~/tk4.1# configure # make # make install
                          (/usr/local/bin# ln -s wish4.1 wish   <-Create link.)
                  
(17). [tin...] (The Newsreader, by which all others are judged; first choice
                for a ethernet connection, not first choice for a slip/ppp
                connection at this time.) (~# tin -r -q -n <-Start tin...)
               (ftp.sunsite.unc.edu) (/pub/Linux/system/News/readers)
               (tin-1.3beta-16colors.tgz) (tin/src# make linux # make install)
               (tin-1.3beta.binelf.tgz) <-Precompiled-linux-elf-color-version.)

(When tin is run for the first time, it creates.-> ~/.tin/(tinrc), you can
change various tin defaults in (tinrc).

(18). [tinyfugue...] (M)ulti (U)ser (D)ungeons (MUD CLIENT...?...?...?...)
                     (ftp.tf.tcp.com) (/pub/tinyfugue) (tf-35a19?.tar.gz)
                     (tf-35a19# unixmake   <-Will compile & install...)
                        
(19). [w3...] (W3-LineMode WWW. Browser, (Non-Graphical) lynx like browser.
              (ftp.sunsite.unc.edu) (/pub/Linux/system/Network/info-systems)
              (W3.WWW.4.0D.binelf.tgz) <-Precompiled-linux-elf-version.)

(20). [xIrc...] (X) Windows (I)nternet (R)elay (C)hat
                (ftp.sunsite.unc.edu) (/pub/Linux/system/Network/chat)
                (xIrc-1.16?.tar.gz) <-Precompiled-elf + source.)
                (Just put *xIrc in /usr/X11/bin/(*xIrc) & keep xIrc.doc)
                (/pub/Linux/devel/c++) (qt-0.97?-bin-linux.tar.gz) 
                (Put qt in /   <-Required by xIrc to run.)
                (/# tar xzvf qt-0.97-bin-linux.tar.gz   <-It's installed.)
                (~# startx (Then.> ~# xIrc   <-Start xIrc.)

(21). [xrn...] (X Windows Newsreader (New, Reported to be fast...)
               (ftp.cam.ov.com) (/pub/xrn) (xrn-linux.tgz) <-Precompiled-elf.)
               (/# tar xzvf xrn-linux.tgz  <-It's installed.) (~# man xrn)

(22). [zircon...] (X Windows Interface to (I)nternet (R)elay (C)hat
                  (Just requires a little compiling; also requires tcl7.5 &
                   tk4.1 or later to run...see above [surfit...]
 (Through a browser.> (ftp://catless.ncl.ac.uk/pub) (zircon-1.17p1min.tar.gz)
                      (~# startx (Then.> ~/zircon-1.17p1min# installZircon)
                      (System Type?-> Linux <-Answer.)
                      (Click on [Install] button.) <-To compile & install.)
 
(A lot of these are precompiled.linux.elf; some of them have source available,
which you can compile in the aout format if you have an aout system.)
(Graphical = Requires X Windows to run) (Non-Graphical or Text Based =
Doesn't require X Windows to run.)
===============================================================================
(6)...SLIRP, THE SLIP/PPP EMULATOR............................................)
===============================================================================
Everything that you have to do to establish a regular slip/ppp connection,
you have to do to use slirp, everything you can do with a regular slip/ppp
connection, you can do with slirp.

There are a number of precompiled binaries for different (O)perating (S)ystems,
if your service provider has a SUN system you need a SUN binary, a LINUX
system a LINUX binary etc...

/usr/home/jerry% uname -a   <-To find out your service providers OS.)

If you can't find a precompiled binary that matches your service provider's
operating system, your only option is to get the slirp source and upload it
to your /home/ directory and try to compile it.

               /user/home/jerry% tar xzvf slirp-10c.tar.gz   <-Unpack slirp.)
                               % cd slirp-10c/src
/user/home/jerry/slirp-1.0c/src% configure
                               % make                  <-Compile slirp.)
                               % strip slirp           <-Make slirp leaner.)
                               % mv slirp /user/home/jerry
                               % cd /user/home/jerry
               /user/home/jerry% rm -rf slirp-10c    <-Remove compiled source.)
                               % chmod u+x slirp     <-Make slirp executable.)
                               % slirp  (Or.> % ./slirp   <-Start slirp.)
(Slirp will shutdown when you close the program you used to make the
connection e.g. dip, pppd, minicom.)

(Where to get SLIRP...>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(ftp.blitzen.canberra.edu.au) (http://www.blitzen.canberra.edu.au)<Home Page.)
(/pub/slirp)   <-The slirp source, slirp-10c.tar.gz)
(/pub/slirp/binaries/1.0c)   <-Precompiled slirp binaries for different OS.)

(ncftp> open (to> sunsite.unc.edu)
(/pub/Linux/system/Network/serial)
(slirp-10c.ELF+SOURCE.tgz)   <-Linux elf-binary + complete slirp source.)

(alt.dcom.slip-emulators)    <-The slirp, tia, twinsock, etc. Newsgroup.)
===============================================================================
(7)...Further Reading...<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
===============================================================================
(ftp.cc.gatech.edu)
(pub/Linux/docs/HOWTO)
PPP-HOWTO                      (plain/text)
NET-2-HOWTO                    (plain/text)
ISP-HOOKUP-HOWTO               (plain/text)
DNS-HOWTO                      (plain/text)
SERIAL-HOWTO                   (plain/text)
NETWORK-ADMINISTRATORS-GUIDE 
(/pub/Linux/docs/LDP/network-guide) (nag-1.0.ascii.tar.gz) (plain/text)  
 
[Copyright 7-8-96 by Kent Robotti] "I command thee to spam, go forth and
multiply:-)" "Spam no more, your sins are forgiven."
===============================================================================
# finger kent robotii@soho.ios.com > guides.uue   <-"robotii" is correct.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(Finger me to get The DIP, GCC, & KERNEL-GUIDES.)
~# uudecode guides.uue
 # tar xzvf guides.tgz
===============================================================================
