home *** CD-ROM | disk | FTP | other *** search
/ BURKS 2 / BURKS_AUG97.ISO / BURKS / LINUX / HOWTO / mini / netscape.txt < prev    next >
Text File  |  1997-07-07  |  37KB  |  931 lines

  1. Author: Sarma Seetamraju
  2. EMail: (sarma@usa.net)
  3. Date: During Oct.96
  4. Place: on the Amtrack and Path Trains on the way to Downtown Manhattan.
  5. Notepad Used: a 16-Mhz 386 SX circa 1991 Magnavox notebook running linux.
  6.     (Just to show that if you ever complain about linux not running AS IS
  7.      on your computer, I am going to shove that computer up your .... )
  8.  
  9.         Important: SOCKS is a FREE package for UNIX systems.
  10.                I doubt its available for OTHER platforms.
  11.                If you wish to influence NETSCAPE to keep
  12.                supporting SOCKS, email me with your supporting
  13.                statement (saying how you are using SOCKS).
  14.  
  15. //----------------------------------------------------------------------------
  16.  
  17. This document describes the procedure to set up a NETWORK (INTRANET)
  18. at your home.  Then we shall setup up the network such that NETSCAPE Clients
  19. can be used on ANY machine to access the internet...
  20.  
  21. The network we are talking about, 
  22.     has TWO or more computers...
  23.     wherein, there is ONE (ONLY ONE) linux machine
  24.     and     the rest are Win95 or WinNT machines.
  25.         (I doubt things will be any different for a MACintosh).
  26.  
  27.     Only the LINUX machine has PPP access to the internet.  The other
  28.     machines MAY have modems.  I shall ignore those modems.
  29.  
  30.         if ANY of your clients are UNIX machines, you are perhaps
  31.         better off reading the "sockd" package's documentation,
  32.         since you may be needing the use of "rlogin", "ftp" etc...
  33.         from within the UNIX CLIENTS.  This document will not
  34.         help you in that aspect.
  35.  
  36. The computer network is assumed to be TCP/IP over ethernet.  No netbeui, etc...
  37.  
  38. The "single linux"  machine will be referred to as the "LINUX SYSTEM". while
  39. all others are referred to as "OTHER MACHINES" or also as "CLIENT MACHINES".
  40. The linux machine is also referrred to as the "SERVER" sometimes.
  41.  
  42. //---------------------------------------------------------------------------
  43.  
  44.     If you do not understand the next para, then jump to the 
  45.     "FOR NETWORK NOVICES ONLY" section.  Then come back here...
  46.  
  47.  
  48.     All of the following assumes that there is an IP address
  49.     assigned (using "ifconfig") to the eth0 port of your LINUX
  50.     server.
  51.     Also, matter, this document does not restrict you
  52.     to PPP only (it could be SLIP, PPTP, etc...)
  53.     The IP address of the "ppp0" port is absolutely irrelevant.
  54.     This document assumes you have one such port, and that its UP.
  55.  
  56. //---------------------------------------------------------------------------
  57.  
  58.     WHY WE NEED SUCH AN ARRANGEMENT:
  59.     ===============================
  60.         The linux machine is to be used to connect to the world.
  61.         Only the linux machine has a REAL-WORLD IP address. (see below).
  62.                 (see "ON-LINE services" section below).
  63.         The linux machine has a non-persistent PPP link to the world.
  64.  
  65.         The other machines in the network have IP addresses that are
  66.         either invalid or are unknown to the world.
  67.  
  68.         You need to use the "Other Machines", and NOT the linux machine
  69.         to access the internet, VIA NETSCAPE ONLY.
  70.  
  71.         I have no need to "telnet" or FTP directly from the "other m/c"
  72.         to the world.  If I ever need to, I telnet manually into the
  73.         linux machine, and then into the world.
  74.  
  75. I did NOT want to spend much on a linux m/c that didn't run an X server (much
  76. less any X applications).  I bought a 486Dx/4 100 Mhz PCI board (since I didn't
  77. want to be stuck with plain ISA slots), with a $20 SVGA card and a $20
  78. NE2000 compatible card, and an extra 20$ for terminators+co-ax ('cos I didn't
  79. know how to convert a regular Ethernet Hub connecter into a pt-2-pt connector).
  80. And $90 worth of memory (it went all the way to $60 for 16megs) and I had a
  81. fully functional linux system for $270.  Don't intend to burden that system
  82. with NT or any other memory-disk-cpu hogging OSes.  Ofcourse, my client machine
  83. is a 32-meg P100 machine with two hard disks (one of which was transplanted
  84. as a linux machine's HD) and runs NT4.0 (official release).
  85.     The linux system is sitting on top of a clean PizzaHut pizza box.  I
  86. couldn't affort another $50 for a tower, since I was getting a power supply
  87. module from one of my friends.
  88.  
  89. //---------------------------------------------------------------------------
  90.  
  91. NETSCAPE:  The reason I chose netscape is that I no longer use FTP manually.
  92.        Its simply, out of fashion.  Every ftp site, worth its name
  93. and every company, has a web site that lets me use the Netscape browser to
  94. access their ftp site.  I do need to telnet frequently, but go thru the trouble
  95. of going from my win95/winNT4.0 machine to the linux machine, and from there...
  96.  
  97. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  98. Secondly, I am hooked to QuickTime and all those net audio sites.  And LINUX
  99. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  100. versions of those tools, do not exist.  So, I have to run stuff from Netscape
  101. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  102. ON windows platforms.  And my LINUX machine recvs EMail using sendmail...
  103. (remember, I have a fixed IP address.  Such fixed IP addresses are better
  104. ONLY for things like recving email.  Its no benefit for Surfing, Telnetting, etc...)
  105. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  106.  
  107. Lastly, we will never have a "Microsoft Explorer Browser" for linux, and hence
  108. I never even considered using Explorer.  Also something tells me that its NOT
  109. going to be this easy to configure the Explorer as it was to configure the
  110. NETSCAPE on the CLIENT machines (i.e., the other machines).
  111.  
  112. //---------------------------------------------------------------------------
  113.  
  114. PROXY SERVER:    I am not giving directions to installing a PROXY server.
  115.         This is about installing a "socks" facility on the LINUX
  116. machine, which NETSCAPE on the client machines can use to access the internet.
  117.  
  118. NETSCAPE (as far as I know) is the ONLY application that runs on NON-UNIX
  119. machines and is aware of the SOCKS facility.
  120.  
  121. //---------------------------------------------------------------------------
  122.  
  123. INTERNET Addresses:  If you have a TCP/IP network, then you MUST have ATLEAST
  124.             two IP addresses for the machines (one for the LINUX
  125. machine and another for the one of the Client Machines, and more IP addresses
  126. if you have more than one client machine).
  127.     Read the other HOW-TOs on how to assign IP addresses to ALL your
  128. machines on the TCP/IP network.  (ESPECIALLY IF YOU DO NOT have a REGISTERED
  129. internet domain).
  130.     I created a network 10.0.1.x out of the single LINUX machine and the
  131. single WinNT4.0 machine.  They were assigned 10.0.1.1 and 10.0.1.2 respectively.
  132. The 10.0.1.1 is the IP address of the ETHERNET port (eth0) of the LINUX machine.
  133. The ppp0 port has another IP (which [lucky me] has a fixed IP address).  That
  134. IP address is irrelevant to us, and also, being withheld for security reasons.
  135.  
  136. I also have a fixed domain name server on the other end of the PPP link.
  137. (University machine).
  138.  
  139. The linux machine  has a modem and CRONTAB entries, that automatically dial
  140. up to the internet at fixed times daily.  I also manually connect to the
  141. internet, when I want to go surfing.
  142.  
  143. If you connect to the internet via ON-LINE services, see below...
  144.  
  145. //----------------------------------------------------------------------------
  146.  
  147. ON-LINE services: If you connect to the world using ON-LINE services like
  148.           AOL, Compuserve, Sprynet, Netcom etc... then  you may NOT
  149. have a fixed IP address.  That is of little relevance in getting your intrAnet
  150. hooked up to the world.  If you do not believe that, I request you to read
  151. on... and become a believer...
  152.  
  153. //----------------------------------------------------------------------------
  154.  
  155. Some Refresher Courses (For those who are like me and want to know what the
  156.     hell is happening...).
  157. Others may skip this section....
  158.  
  159. Point # 1:  since you have ONLY one ethernet network, you do NOT need routing
  160.         within that network.  And you perhaps have manually hardcoded
  161. the IP addresses ( 10.0.1.1, 10.0.1.2 ) of ALL your machines in /etc/hosts.
  162. If you did that, you are smart person.  Using "named" for a two or three computer
  163. network at home, is like using the bulldozer instead of a spoon to eat.
  164.  
  165. Point # 2:  What we would ideally like, is for A