home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / howslp.zip / SLIPCSN.TXT
Text File  |  1995-03-15  |  17KB  |  368 lines

  1. How to make an "Other Provider" connection using the OS/2 WARP 
  2. Internet Access Kit:
  3.  
  4. This note is a summary of my experience in establishing an "Other
  5. Provider" SLIP connection using the OS/2 WARP Internet Access Kit.  It
  6. contains the results of enough research so that I got the connection
  7. reliably working with Colorado Supernet (with a lot of thanks to Jim 
  8. Romary at CSN).  Other providers should be similar.  However, it has
  9. been my experience that there are a lot of understaffed providers
  10. attempting to support Internet connections without properly trained
  11. staff, so there is a real risk that you will know more than the
  12. provider's staff.
  13.  
  14. Recommendation: if you are not using Ray Gwinn's SIO communications 
  15. drivers, stop now and download them from Compuserv.  (Try OS2BVEN or 
  16. OS2USER. As of this writing the latest version was SIO145.ZIP, but
  17. Ray does an excellent support job and regularly enhances his code. 
  18. Please be a good global network citizen and send Ray the very few 
  19. dollars he asks for a license.  He has done a lot to stabilize OS/2 
  20. communications.  As a bonus, you will end up with VMODEM, which 
  21. allows you to connect to a rapidly expanding list of Bulletin Boards 
  22. using the Internet connection you are about to establish.)
  23.  
  24. In order to make the IAK "Other Provider" connection work you must 
  25. have a SLIP connection account established with the provider.  This is
  26. not the same as a regular dialin connection, so you must explicitly 
  27. request a SLIP (or PPP, see below) connection.  You will need several 
  28. other pieces of information, so read this whole document before 
  29. talking to your provider.
  30.  
  31. There seem to be two kinds of SLIP connections: static and dynamic. 
  32. The difference is whether you are assigned the same IP address 
  33. everytime you connect.  If you have your own domain name, then you 
  34. probably have a static SLIP connection.  (If you use PPP, then this 
  35. distinction is irrelevant.)  If you have a static connection, then you
  36. will need to know your assigned IP address.
  37.  
  38. If you provider supports a PPP connection, then you may want to use 
  39. that rather than SLIP.  However, you will first need to download the 
  40. PPP Beta support code (using "Retrieve Updates" from the IAK panel),
  41. which requires you to already have an Internet connection.  If you
  42. already have one, then why are you engaging in all this effort to
  43. establish another?  There are simpler forms of torture.
  44.  
  45. You will need to know your assigned Internet address, the phone number
  46. of the provider, the login sequence (see below), the address of a
  47. nameserver, and how to login to the POP Mail server.  The paragraphs
  48. below take you through each field on the setup screens.  [Items marked
  49. with an * below are required information that you should get from your
  50. provider before attempting configuration.  Otherwise, you will call
  51. them several times during this process and they real get real 
  52. annoyed.  You will get real irritated when they can't answer your 
  53. questions, so get all the questions out of the way before you start.]
  54.  
  55. Configuring the WARP "Other Providers" screens:
  56.  
  57. Open the Internet window and select "Dial Other Internet Providers." 
  58. You will see a connection screen (IBM Dial-Up for TCP/IP).  Select
  59. "Add Entry" and a 4-page dialog will open up.
  60.  
  61.                
  62.                Configuration Dialog Page 1 (Login Info):
  63.  
  64. Name:  Enter a name for this script.  This name appears on the
  65. connection screen as the name of this provider and has no other known 
  66. purpose.
  67.  
  68. Description:  Enter whatever you want.  Doesn't seem to affect 
  69. anything.  I put in the same thing I entered in the Name field.
  70.  
  71. *Login ID: You need to put your SLIP Login ID in the field.  Get this 
  72. from your provider.  It may be the same as the username part of your 
  73. Internet address, but it is often different.
  74.  
  75. *Password:  Put your SLIP password here.  Get this from your provider.
  76.  
  77. *Phone Number:  Enter the number the provider gave you for access. 
  78. You do not need to put a "9," in front of it if you need to access an 
  79. outside line.  There is a place to do that on the main Dial-Up screen.
  80. Note that a static SLIP account may be bound to a specific telephone 
  81. number.
  82.  
  83. *Login Sequence:  This is where all the fun begins.  If you do this
  84. right and your provider has reasonably normal equipment, then you do
  85. NOT have to fool around with a REXX command file.
  86.  
  87. The lines in this field are alternately sent by the connection program
  88. or it waits for the specified text before proceeding to send the 
  89. following line.  There is, however, no way to get the script to wait 
  90. first; this program expects to be the first to send.  You need to know
  91. what the "annex" you are connecting to expects.  The easiest way to 
  92. find this out is to dial in using a Terminal emulator, login, and 
  93. record each line of the dialog.  Otherwise, ask your provider to 
  94. supply documentation of the sequence.  (When we've all figured out how
  95. to do this most providers will finally develop a document telling you 
  96. how to do what you now already know how to do.  Do your friends a 
  97. favor.  When you get this working, write a note like this -- feel 
  98. free to plagarize this one -- and send it to the provider so that 
  99. they can handle the next request.)
  100.  
  101. [For more information on the script, click your mouse in the "Login 
  102. Sequence" field and then click Help.  The explanation is a little
  103. terse, but it's all there.]
  104.  
  105. There seem to be two popular connection scripts.  Depending on the 
  106. device you are calling, you will either need to start with a carriage 
  107. return (to wake the box up) or to immediately send your login id.
  108.  
  109. If your provider is expecting a carriage return, then use a script 
  110. like this (this script works with Colorado Supernet):
  111.  
  112.      \r
  113.      name:
  114.      [LOGINID]
  115.      word:
  116.      [PASSWORD]
  117.      nnex:
  118.      slip
  119.      address\sis\s[$IPDEST]\sYour\saddress\sis\[$IPADDR]
  120.  
  121. The first line of this script sends a carriage return.  Then it waits
  122. for the string "name:" to appear.  This is typically a prompt such as 
  123. "Username:", but it may come as "username:".  In order to avoid the 
  124. case sensitivity of this script, just use the last few characters, 
  125. which are enough to insure that you got the right prompt.
  126.  
  127. The third line, [LOGINID], send the login ID you entered in the 
  128. appropriate field above.  The script then waits for "word:" (from 
  129. "Password:") and sends the password you entered above.The script now
  130. waits for the "Annex:"  prompt, and sends the command to start SLIP. 
  131. (Put "PPP" here if you are making a PPP connection.)
  132.  
  133. Finally, the last line of this script is parsing the addresses that 
  134. the connection sends back.  NOTE: If you have a static IP address, 
  135. then omit this line.  Also omit the last line if you are using a PPP 
  136. connection.  (The "\s" in the script is a white space character.)
  137.  
  138. The other script form looks something like this:
  139.  
  140.      [LOGINID]
  141.      word:
  142.      [PASSWORD]
  143.      >
  144.      SLIP
  145.      IP\saddress\sis\s[$IPADDR]
  146.  
  147. This seems to be the common form with most Cisco routers, so ask your 
  148. provider what kind of an annex they are using.  This form is used when
  149. the connection is not expecting a carriage return to initiate the 
  150. conversation.
  151.  
  152. You are probably done with the Login Sequence field, so make sure you 
  153. have checked either SLIP or PPP and set the Inactivity Timeout to 
  154. whatever you prefer.  (It defaults to 15 minutes.)
  155.  
  156. Now turn the page.
  157.  
  158.                
  159.                Configuration Dialog Page 2 (Connect Info):
  160.  
  161. *Your IP Address: you need to enter this if you have a static SLIP
  162. address.  Get it from your provider.  Otherwise, leave it blank.
  163.  
  164. *Destination IP Address:  This address must be provided by your
  165. supplier.  It is the address of the system you are logging in to (the 
  166. controller).
  167.  
  168. *Netmask:  This information must be supplied by your provider.
  169. Typically, it is 255.255.255.0.
  170.  
  171. MTU Size: This is the size of the packet.  Leave it at the default 
  172. 1006.  If you later experience a lot of retries, change it down to 
  173. something like 512.
  174.  
  175. *VJ Compression:  Ask you supplier if they support VJ Compression,
  176. which reduces the packet transmission overhead slightly.  If they 
  177. don't (or don't know), leave this unchecked for now.  When you have
  178. everything working, come back and check this and see if everything
  179. still works.
  180.  
  181. *Domain Nameserver: You need to get the address of a nameserver from 
  182. your supplier.  This is the machine that is used to resolve any names 
  183. you enter, i.e., it translates something of the form 
  184.      "rloeb@martech.com" 
  185. into an ip address like 
  186.      192.94.50.133.
  187.  
  188. Your Host Name: I'm not sure what this field is actually used for, and
  189. it doesn't seem to matter what you put in here.  I put my username 
  190. (all of my Internet address before the @ symbol).
  191.  
  192. Your Domain Name:  This field is appended to any name you enter, such 
  193. as in Ultimail, that doesn't have a domain (the part of the address 
  194. with all the periods).  I enter my domain name, "martech.com," and you
  195. will probably want to enter the domain part of your Internet address.
  196.  
  197. You can now turn the page.  You're half way there, but the hard part 
  198. is over.
  199.  
  200.  
  201.                Configuration Dialog Page 3 (Server Information):
  202.  
  203. *News Server:  You need to get this address from your provider. 
  204. Actually, you can use any news server that will allow public access. 
  205. If you are not going to use the NewsReader, you can omit this field.
  206.  
  207. *Gopher Server:  If you want one, get this address from your 
  208. provider.  This is the address of the "home" machine that Gopher goes 
  209. to when it first starts up.
  210.  
  211. *WWW Server:  You can omit this field, or get an address from your 
  212. provider.  You really need to configure the Web Browser with a "home 
  213. page," so this entry is pretty useless.  The WARP Web Browser is 
  214. already configured to go to an IBM home page.
  215.  
  216. *POP Mail Server:  Your provider needs to supply the address (or name)
  217. of their POP Mail Server.  If they don't support POP Mail, then you 
  218. will not receive any mail!  Get another supplier.  (While you're at 
  219. it, ask how long they retain mail you haven't picked up.  This tells 
  220. you how often you need to check for mail.  Some of the very 
  221. inexpensive providers don't save mail for very long, so beware.  You 
  222. get what you pay for.)
  223.  
  224. Reply Domain:  This sets a return address that appears in the header 
  225. of the messages you send with Ultimail.  Put your assigned domain name
  226. here (all the part of your Internet address after the @ symbol).
  227.  
  228. Reply (Mail) ID:  Put your user name here (the part of your Internet 
  229. address before the @ symbol).
  230.  
  231. *POP Login ID: You need to get this from your provider.  It may be the
  232. same as your SLIP login ID, but it many cases it is different.  This 
  233. ID and the password in the next field are used to login to the POP 
  234. Mail server.
  235.  
  236. *POP Password:  You also need to get this from your provider.
  237.  
  238. You can now turn to the last page.
  239.  
  240.  
  241.                Configuration Dialog Page 4 (Modem Info):
  242.  
  243. Modem Type: Select the modem most like yours from the list.  If 
  244. nothing else works, try Hayes Compatible.  It seems to work in most 
  245. cases, although it will not activiate MNP5 or V.32.
  246.  
  247. Com Port:  You know what to do here.  If you don't know what port your
  248. modem is on, then you are probably real confused by this whole effort,
  249. but it's probably COM1.  However, if you have a serial mouse (don't 
  250. know what that means, either?  uh oh), then the modem is likely to be 
  251. on COM2 because the mouse is probably on COM1.
  252.  
  253. Speed (Baud):  This defaults to 9600.  If you have high speed ports
  254. (16550 chips), then change this to 38400 or 57600.  (On my machine, a 
  255. 486/50 running several background tasks, 57600 is too fast and causes 
  256. overruns.)  Ask your provider what the highest speed they support is. 
  257. If you have a provider supporting 28.8, you may want to invest in a 
  258. new modem.  The US Robotics Sportster is being sold at the time of 
  259. this writing for about $230.  The higher speed will make Web Browsing 
  260. almost pleasant.
  261.  
  262. Data Bits:  Leave this at 8.
  263.  
  264. Parity: Leave this at NONE.
  265.  
  266. Prefix:  If you selected a modem properly, above, then the Prefix and 
  267. the modem initialization fields have been filled in.  You shouldn't 
  268. need to change these, unless your modem wasn't in the list.  Even 
  269. then, try the "Hayes Compatible" setting before monkeying with these 
  270. fields.
  271.  
  272. On this same screen you can also disable the call-waiting beep, if you
  273. need to.  Leave Mode set to "Dial."
  274.  
  275. If you've follwed these instructions, you are now done and ready for 
  276. the final exam.  Click in the upper left corner of the "Modify 
  277. Entries" panel and close it.  You wil lbe asked if you want to save 
  278. your changes.  After all this effort, of course you do.
  279.  
  280. You are now back to the "IBM DialUp for TCP/IP" screen, where you 
  281. started.  You have added an entry in the list box in the middle of the
  282. screen.  If the entry you created is not highlighted, click on it with
  283. the mouse.  (You can change any of the entries in it by selecting 
  284. "Modify Entry" when it is highlighted.)
  285.  
  286. If you need to, check the "Line Out" box to get a '9' prefix on the 
  287. telephone number you entered earlier.
  288.  
  289. Now, cross your fingers and click on Dial.
  290.  
  291. In the Status box you should see the script execute.  A whole lot of 
  292. messages will go by.  The one that says something about "slattach" is 
  293. the actual script.  If something goes wrong, scroll back to that line 
  294. and inspect it to be sure it looks "right."
  295.  
  296. If everything works you should finally see a line that says:
  297.  
  298.      [MON] SLIP Driver Running.  Exit with Ctrl-C or ...
  299.  
  300. If you got this far, congratulations; you are now a full-fledged 
  301. TCP/IP guru, entitled to all the benefits bestowed upon you by the 
  302. loyal order of Unix bigots.  If you thought this was messy, wait until
  303. you try to configure Ultimail.
  304.  
  305. To see if everything is working, open an OS/2 window and PING 
  306. yourself:
  307.  
  308.      PING      (your Internet address)
  309.  
  310. You should see a series of messages about how long it takes for the 
  311. ping message to make the round trip to the connection host and back to
  312. you.
  313.  
  314. Next, start Ultimail and refresh your in-basket.  (Just click on the 
  315. in-basket icon in the Ultimail folder.)  After Ultimail starts, which 
  316. takes forever, you should see a dialog as it attempts to connect to 
  317. the POP Mail server and retrieve any mail waiting for you.  Watch to 
  318. make sure this works correctly.  You will probably also want to send 
  319. yourself a message, just to make sure it goes out and back.  Beware 
  320. that Ultimail queues the message and it takes a while for it to be 
  321. sent.  So, don't write a message and immediately disconnect.  Wait for
  322. the confirmation that the message was sent.  Then, re-open the 
  323. in-basket and choose "Refresh" from the File menu.
  324.  
  325. If it didn't work...
  326.  
  327. Take a look at the Status box (you can scroll it backwards to see what
  328. went by).  Did you get a connection?  (Maybe you didn't dial the
  329. correct number or the modems didn't connect.  In the "Current
  330. Connection" dialog near the top of the panel you should see the
  331. CONNECT message returned by the modem.  In some cases the script
  332. doesn't see this response from the modem and hangs.  Hang up and try
  333. again.)
  334.  
  335. Did the login work?  (Follow the dialog sequence and make sure that
  336. the two machines were on the same wavelength.  This is the place where
  337. you are most likely to have trouble, so make sure that your script
  338. correlates to what the annex connection is expecting.)
  339.  
  340. Check your CONFIG.SYS file to make sure there is an entry like
  341.  
  342.      SET ETC=C:\TCPIP\ETC
  343.  
  344. If you are using any DOS TCP/IP connections, then you also need a 
  345. similar line in AUTOEXEC.BAT:
  346.  
  347.      SET ETC=C:\TCPIP\DOS\ETC
  348.  
  349. If you get messages about "Unknown Hosts," check for a RESOLV file in
  350. the ETC directory.  It should have at least two lines in it, one that 
  351. lists a domain and the other that lists a nameserver, e.g,
  352.  
  353.      domain martech.com
  354.      nameserver 123.123.123.123
  355.  
  356. If you got this far, then you probably have a Web Browser working.  If
  357. you want more information on TCP/IP and the WARP IAK configuration, 
  358. open a document at http:/pclt.cis.yale.edu and follow the hyperlinks 
  359. to OS/2 WARP instructions, very competently written and illustrated by
  360. H. Gilbert and an excellent example of the type of resource that 
  361. the Internet can provide.
  362.  
  363. Best of luck SLIP sliding away...
  364.  
  365. Roger Loeb
  366. rloeb@martech.com
  367. March 15, 1995
  368.