home *** CD-ROM | disk | FTP | other *** search
/ The Best Internet Programs / BESTINTERNET.bin / internet / lrn_inet / li_login.txt < prev    next >
Encoding:
Text File  |  1994-08-31  |  16.1 KB  |  452 lines

  1.  Getting A Connection
  2.  
  3. Direct TCP/IP - remote - SLIP - PPP - ethernet - parity -
  4. flow control - unix - VAX/VMS - AIX - % - : - > - $...
  5.  
  6. There is a bewildering technobabble when it comes to con-
  7. necting to the Internet.  This lesson attempts to simplify
  8. this complex issue.  It tries to keep the discussion 
  9. focused on just what you need to know and how to go about
  10. connecting.
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  Types Of Connections: Direct Or Remote 
  17.  
  18. The fastest Internet connection will be a direct one.  You
  19. have one of these if your computer is part of a network
  20. (usually an ethernet network) which is connected directly
  21. to a computer that is on the Internet.
  22.  
  23. If you do not have a direct connection you may connect to
  24. an Internet host via modem.  This is a remote connection.
  25. Remote connections may utilize a system called SLIP or 
  26. PPP (more later) which makes them seem to be attached dir-
  27. ectly.  Or they may simply be dialed in (through a remote
  28. terminal server) to a host Internet computer.  No special
  29. software is needed for this latter type of connection.
  30.  
  31.  SLIP Or PPP 
  32.  
  33. There are two types of modem connections.  One uses SLIP
  34. (Serial Line Internet Protocol) or PPP (Point to Point 
  35. Protocol) which are fairly complex and requires 1) SLIP
  36. or PPP software installed and running on your PC or Mac;
  37. 2) Connection to an Internet host computer running SLIP
  38. or PPP server software; 3) a high speed modem.  The advan-
  39. tage of SLIP or PPP are that your computer will act as
  40. if it is directly connected to the Internet as long as
  41. your telephone connection is maintained.  The disadvantages
  42. are that SLIP and PPP are difficult to install and config-
  43. ure, and if you are using them through a commercial provider
  44. they are more expensive than a simple modem connection.
  45.  
  46.  Common Modem Connections 
  47.  
  48. The most common remote connection is via a modem and commun-
  49. ications software in your own PC or Mac.  You must dial in
  50. to an Internet host computer.  Speeds can be no faster 
  51. than the speed of your modem and services can be no more
  52. than provided by your host.
  53.  
  54. Since this is the most common type of connection for the
  55. average user, this tutorial concentrates on it.  It's
  56. disadvantages are slower speeds, and the limitations of
  57. your host.  Advantages are ease of use and configuration.
  58.  
  59.  
  60.  
  61.  So How Do You Connect? 
  62.  
  63. If you are lucky enough to be a student or staff at a College
  64. or University, work for a somewhat large company or govern-
  65. ment agency, you are probably already on the Internet.  Your
  66. computer is probably connected to an ethernet network
  67. attached to a computer that is on the Internet.  Ask your
  68. network administrator how to get started.
  69.  
  70. If you are not so lucky you will need to get an account with
  71. an Internet provider.  A simple modem dial in connection 
  72. will probably cost about $20 per month plus phone charges
  73. (if it is a toll call to your provider).  A SLIP or PPP
  74. connection will cost more.
  75.  
  76.  How Do I Find A Provider? 
  77.  
  78. Of the large commercial providers only Delphi offers full
  79. Internet services.  America Online offers partial services
  80. and is rushing to go to full service.  The other large
  81. online companies offer only mail gateways, but look for
  82. this to change soon.
  83.  
  84. There are many companies, however, whose sole business is
  85. to be an Internet provider.  The "Internet Resources"
  86. section of this tutorial has a feature which allows you
  87. to enter an area code and it will return the name(s)
  88. of potential local providers.
  89.  
  90.  
  91.  Modems 
  92.  
  93. The world of modems (and the communications software that
  94. drives them) can be very confusing.  There's nothing like
  95. trying to install a modem in a computer that is already
  96. attached to several serial devices.  You may have to set
  97. jumpers on circuit boards, flip dip switches to assign port
  98. addresses, assign IRQs to competing devices, select the cor-
  99. rect cabling with the correct terminators, set up a cryptic
  100. "modem initialization string," learn the Hayes AT command
  101. set (at least part of it), and configure things like baud
  102. rate, parity, stop bits, data bits, duplex, compression,
  103. etc., etc.  If you are not discouraged yet, you should at
  104. least be wary.  Modems can drive you up a tree.
  105.  
  106.  Do It Yourself? 
  107.  
  108. You may be one of the few lucky souls who have no serial 
  109. devices attached to your computer, except perhaps a mouse.
  110. In this case, simply purchase your modem, plug it in to
  111. COM2 (or the port with the little picture of a phone on the
  112. Mac), follow the simple directions for installing your soft-
  113. ware, and dial in.  If, however, you have a mouse, a label
  114. printer, a scanner, a laser disc player, and a couple
  115. printers hanging off your computer, it's time to call for
  116. professional help.  You'll end up ahead in the long run.
  117. If your somewhere in between, you can do it yourself, but
  118. be prepared to read a couple of unintelligible manuals and
  119. have a bottle of tranquilizers nearby.
  120.  
  121.  Rules Of Thumb 
  122.  
  123. Here are some rules of thumb regarding modems:
  124.   1) External modems are better than internal modems, because
  125.      they have front panel lights that can tell you what is
  126.      going on, and they have an on/off switch which you can
  127.      use to reset the modem when things go wrong.
  128.   2) If you buy a modem, buy a high speed one--14,400 bps.
  129.      Accept nothing less.  Even if you are only planning to
  130.      use the Internet for email, you will appreciate the 
  131.      higher speed.
  132.   3) Don't worry about all the techno-weenie terms like 
  133.      V.32bis, MNP5, V.42, etc.
  134.   4) Buy a name brand modem which is fully Hayes compatible.
  135.  
  136.  Communications Software 
  137.  
  138. If you purchase a modem it will usually come packaged with
  139. communications software.  The best such package we have seen
  140. is the US Robotics 14,400 Sportster modem which comes with
  141. a DOS version of Crosstalk Communicator by DCA Corp.  There
  142. are many other excellent packages, but there are also far
  143. more inadequate, low-ball packages.  As a minimum be sure 
  144. the communications software you get supports the full Hayes
  145. AT command set and the Zmodem file transfer protocol.  Don't
  146. worry about all the fancy terminal emulations.  All you will
  147. need is VT100 (or one of it's later kin like VT102, 220, 320),
  148. and maybe an IBM 3270 emulation.  Initialization strings can
  149. be a big problem, so be sure there is a simple Hayes string.
  150.  
  151.  Pitfalls 
  152.  
  153. Be aware there may be alligators lurking in your modem waters.
  154. If you have call waiting, you will have to learn how to dis-
  155. able it.  If you already have a fax machine and answering
  156. machine on your phone line, you may need another phone line.
  157. If you have an especially "dirty" phone line you may have  to
  158. pay to get a "clean" data line.  Nevertheless, in spite of all
  159. the daunting things said so far, modems are essential unless
  160. your Internet connection is a hard wired one as part of an
  161. existing computer network.  Just don't underestimate the task
  162. of setting up your modem, regardless of what the salesman 
  163. tells you.  It's best to have a friend who knows modems.
  164.  
  165.  
  166.  Settings 
  167.  
  168. Let's assume you get your modem installed just fine.  Here
  169. are some settings that are pretty standard.
  170.   Speed (bps) = As high as your modem will support.
  171.                 Set it initially to 57,600, a good modem will
  172.                 take care of the details.  This speed usually
  173.                 refers to communications between the modem and
  174.                 it's serial port.  Reduce this number if you
  175.                 are having problems.
  176.   Parity      = None
  177.   Data Bits   = 8
  178.   Stop Bits   = 1
  179.   Duplex      = Full
  180.  
  181.  Final Advice 
  182.  
  183. If you have to dial out through a pbx, you will have to change
  184. your setup to allow your modem plenty of time to complete the
  185. call.  This may also involve some trial and error in inserting
  186. pause commands (commas) in the dialling string.  Choose Zmodem
  187. as your file transfer protocol, but be familiar with Kermit
  188. as well.  Sometimes it is the only thing that will work.
  189.  
  190. And one more thing...Good luck!
  191.  
  192.  
  193.          
  194.        
  195.  
  196.  Are We Having Fun Yet? 
  197.  
  198. Let's get down to business.  Is everything set up correctly?
  199.  
  200.      -- Computer working ok?                         √
  201.      -- Know your user ID and password?              √
  202.      -- Modem set up correctly?                      √
  203.      -- Communications software installed correctly? √
  204.      -- Full of optimism and boundless energy?       √
  205.  
  206. Let's Log In...
  207.  
  208.  
  209.  
  210.  
  211.  Ricky Don't Lost That Number 
  212.  
  213. Oh yeah.  You need one more thing.  A phone number.  Usually
  214. an internet provider has a range of numbers you may call. 
  215. If the first doesn't get through, the system cycles up to 
  216. the next.  Sometimes things get hung up, though, so it is
  217. a good idea to know the range of numbers and instruct your
  218. communications program to dial them sequentially until you
  219. make connections.
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  What's That? 
  227.  
  228. If you're a modem beginner, the first thing you'll notice is
  229. that modems make lots of sounds.  You'll hear the dial tone,
  230. the touch tone sounds, the office pbx (if you're in an
  231. office), the shush and high pitched syncronization tones, 
  232. and finally an alarm (usually) your communications software
  233. issues to let you know you're connected.  The lessons that
  234. follow imitate these sounds, but you can turn them off
  235. (if you're a killjoy) by pressing the F5 key when you see
  236. the F5 symbol at the bottom of the screen.
  237.  
  238. The screens you will see are from an actual internet source,
  239. so pay attention.  These are skills you will actually use.
  240.  
  241.  Dialling Speeds 
  242.  
  243. The first time you dial in, this program will simulate a
  244. modem attached at 2400 bps.  Later sessions, you will 
  245. notice, go a lot faster.  Your temporary password
  246. (unless you have already changed it using the Password
  247. lesson) is 99friday.  Better write it down.  Enter it
  248. when prompted.
  249.  
  250. Press D to dial in...
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  Points To Remember 
  257. Here are some things you should remember:
  258.  
  259.      -- Write down your user ID and keep it handy.  If you
  260.         haven't logged in in awhile you may forget it.
  261.  
  262.      -- This goes double for your password.  Except don't
  263.         keep it where anyone else will find it.  IF YOU
  264.         FORGET YOUR PASSWORD THERE IS NO HOPE FOR YOU.
  265.  
  266.      -- When you type your password it will not echo
  267.         to the screen (so someone can't peek over your
  268.         shoulder and gain access to all your darkest
  269.         secrets).
  270.  
  271.  Open Sesame 
  272.  
  273. So far we have logged in using a standard password.  Pass-
  274. words are very important in order to insure the privacy and
  275. security of your data.  One of the first things you should
  276. do after getting your Internet account is to change your
  277. login password.  In fact, some systems force you to change
  278. the password the first time you log in.
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  No Echo 
  287.  
  288. When you press a key on your keyboard, the corresponding 
  289. character appears on your screen.  In computerese we say
  290. the character "echos" to the screen.  You will notice 
  291. when typing your password, however, that the characters
  292. do NOT echo to the screen.  This is to keep your password
  293. secret, in case someone is peeking over your shoulder as
  294. you type.  The disadvantage is that you often cannot tell
  295. when you have made a typing error, so type carefully.
  296. If you don't enter your password just right, the system
  297. will tell you so.
  298.  
  299.  
  300.  
  301.  What Can Go Wrong? 
  302.  
  303. Remember, a secure password is the only thing that keeps your
  304. files private and safe.  If someone learns your password he/
  305. she can log in to your account, read your private mail, damage
  306. or destroy files, send bogus mail in your name, and do all
  307. sorts of mischief.  Therefore, it is a good idea to change 
  308. your password every few weeks, even if you are sure no one
  309. else has learned it.  Some people develop elaborate cycles
  310. of passwords that they use throughout the year.
  311.   
  312.  
  313.  
  314.  
  315.  
  316.  Password Suggestions 
  317.  
  318. On Unix systems you are encouraged to mix numbers with letters
  319. in creating a password that is not easily guessed.  A couple
  320. familiar numbers coupled with the name of an animal is a good
  321. formula, but do what is most easily remembered for yourself.
  322. Remember, Unix is case sensitive, so your password will also
  323. be case sensitive.  
  324.  
  325. We are going to practice changing your password now.  Remember
  326. the standard password for this program is 99friday.  If you
  327. change it now, you will have to use the new password for the
  328. duration of this session (unless you change it again).
  329.  
  330.  
  331.  Terminal Emulations 
  332.  
  333. When dialing in to an Internet host computer, the host treats
  334. your computer as a simple dumb terminal.  That is, your com-
  335. puter becomes a work station that has no intelligence of it's
  336. own but simply relays input from the user to the host and 
  337. output back from the host to the user.  In fact, your PC or
  338. Mac has lots of intelligence of it's own, but it's intelli-
  339. gence would only get in the way when it is required to act
  340. like a dumb terminal, so programs have been written to make
  341. your computer "emulate" a dumb terminal.  It is the job of
  342. your communications program to run this terminal emulation
  343. program so that you can talk back and forth with the host.
  344.  
  345.  
  346.  VT100 
  347.  
  348. There are a wide variety of terminals, and many host systems
  349. will give you a choice, but the standard is called VT100.
  350. Configure your communications program with VT100 when it
  351. asks you what terminal you wish to use when dialing in to
  352. your Internet host.  Vt100 emulates the VT100 terminal
  353. made by Digital Equipment Corp.  (Actually it is no longer
  354. made, but it's codes remain).  Your communications program 
  355. may give you choices like VT102, or VT320.  Choosing any
  356. of them is fine, just so they include all the VT100
  357. control codes.
  358.  
  359.  
  360.  
  361.  Initializing Terminal Type 
  362.  
  363. When you log in to an Internet host, you will need to init-
  364. ialize the terminal type for your session (unless the host
  365. does it automatically for you).  Depending on the Unix 
  366. shell you are using, you will need to type a command like
  367. "set term=vt100," or set TERM vt100.  If your screen looks
  368. scrambled when using a program like Pine or Gopher, it is
  369. because you have not initialized your Unix terminal 
  370. session to VT100 or you are not emulating VT100 in your
  371. communications program.The VT100 standard is so important
  372. to Internet communications that you should add a line to
  373. your login script which willautomatically initialize your
  374. session to VT100.
  375.  
  376.  Other Emulations? 
  377.  
  378. Even though your communications program will offer you a
  379. wide variety of terminal emulations, stick with VT100.
  380. Certain systems you telnet to may require you to emulate
  381. the IBM3270 terminal.  You do not have to actually change
  382. the emulation within your communications program to do so.
  383. Instead of using the telnet command use the Unix tn3270
  384. command instead, and everything will be ok.
  385.  
  386. Even though this sounds very confusing, keep it simple.
  387. Learn how to add a command to initialize your terminal
  388. session to vt100 when logging in and don't worry about
  389. it any more.
  390.  
  391.  Unix Shells And Prompts 
  392.  
  393. A Unix "shell" is the command processor that Unix runs
  394. which enables you to enter commands and execute programs
  395. from your terminal.  It is equivalent to command.com
  396. in DOS, and DOS's C:> prompt is replaced by a prompt in
  397. Unix which looks different depending on which Unix shell
  398. you are using:
  399.   %              if you are using the C-Shell
  400.   $              if you are using the Bourne Shell
  401.   [userid@host]  if you are using the K-Shell
  402.  
  403. When you see the Unix prompt, it means Unix is ready to
  404. receive your commands and act upon them.
  405.  
  406.  Other Prompts 
  407.  
  408. You will notice while using Unix that many programs have a
  409. prompt of their own.  When you use the telnet program it's
  410. prompt will look like this: telnet>.  Running ftp will change
  411. your prompt to:  ftp>.  If you start the Kermit program your
  412. prompt will change to: Kermit>.  When the prompt changes, the
  413. normal Unix commands no longer apply, and special commands
  414. understood only by that program may be used.  When you exit
  415. the program, the Unix prompt will return.
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  Get Used To It 
  422.  
  423. For those of us used to dealing with the DOS prompt, Unix is
  424. not that great a leap.  If you come from the Mac world,
  425. though, or use MS Windows exclusively, Unix will take some
  426. getting used to.  Remember, it's not difficult.  It just
  427. takes practice.
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.