home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 2 / amigaformatcd02.iso / comms / netsoftware / amitcpdial10.lha / AmiTCP_dialup / AmiTCP_dialup10.doc < prev    next >
Encoding:
Text File  |  1994-01-13  |  5.5 KB  |  125 lines

  1. AmiTCP_Dialup version 1.0
  2. Date 1/12/94
  3.  
  4.     This series of AmigaDOS and ARexx scripts are designed to automate much
  5. of the call in procedure for AmiTCP.  It can be used for SLIP & CSLIP and
  6. supports dynamicly assigned addressing for the Annex III Terminal Server
  7. from Xylogics.  This package probably will support PPP, it is not yet
  8. available for the Amiga, to my knowledge.
  9.     This is based on a script from P. Josh Rovero, which was modified from
  10. Dave Bolen's Rexx script for OS/2.  This original script is in the main
  11. directory, called "SLIPUP.REXX" and is included for historical information
  12. only.  It maybe deleted as you desire.
  13.  
  14.     These scripts can be found on AmiNET & "ftp.hawaii.edu" and can be
  15. distributed as needed.  They may also show up on the InterNet new's groups
  16. comp.sys.amiga.datacomm and comp.sys.amiga.sources as people request (who
  17. may not have FTP access).
  18.  
  19.     Installation is simple.  Copy the "bin" scripts to "AmiTCP:bin". Copy
  20. the "db/pearl/netdb-myhost" template file to "AmiTCP:bin/pearl".  Copy the
  21. "Ami" and "Ami.Info" files to anyplace that is suitable if you desire the
  22. Icon automation.  By the way, I installed AmiTCP in the following directory
  23. "Devs:Networks/AmiTCP-2.2" so that it is close to what it is, a networking
  24. package.
  25.     You may safely ignore the "AmiTCP:db/netdb-myhost" file, as it is
  26. created at run time from the "AmiTCP:db/pearl/netdb-myhost" template file.
  27. I included it as an example of the behaviour of these scripts.
  28.     The ARexx part of these scripts, writes configuration data to ENV
  29. variables HOSTNAME, Sana2/slip0.config (or whatever your's is called) and
  30. the ENVARC master copies.  This means a AmiTCP dialup session can survive 
  31. a re-boot.  However, you should keep a copy of your old setup just in case
  32. you need to go back to it until these dial up scripts do what you need
  33. them to do.  Don't forget to use your "AmiTCP:db/netdb-myhost" file as the
  34. base for the "AmiTCP:db/pearl/netdb-myhost" template file.
  35.  
  36.     Next, you must have ARexx properly installed and working.
  37.  
  38.     I make use of the following AmigaOS libraries and the have to be
  39. installed.  I found them on AmiNET, so you should beable to also.
  40.  
  41.          RexxSupport.Library  version 34.9 (or greater?)
  42.          RexxArpLib.Library   version 3.0  (or greater?)
  43.          RexxSerDev.Library   version 5.01 (or greater?)
  44.  
  45.  
  46.     I also have install the "APIPE:" device that AmiTCP wants for the
  47. "fingerd" daemon.  You can remove the 3 lines in
  48. "AmiTCP:bin/startnet_pearl.rexx" that deals with this if you want.  But I
  49. have written the script to attempt mounting the "APIPE:" device, if it is
  50. available, or continue on anyway, even if it is already mounted.
  51.  
  52.     The "TCP:" device is not mounted as I do use it.  A line in the
  53. "AmiTCP:bin/startnet_pearl.rexx" file details this, but I have commented
  54. it out.
  55.  
  56.     These scripts  will have to be modified for each user.  The following
  57. things need to be changed at the very least.  Others as needed.
  58.  
  59. AmiTCP:bin/startnet_pearl.rexx
  60.  
  61.     Phone number
  62.     (C)SLIP command
  63.     User name prompt
  64.     User name for login
  65.     Password prompt
  66.     Password for user
  67.     IP address format
  68.     Serial port name, bit rate, and other stuff.  Note this is in 2
  69. locations.  First in the beginning for the "RexxSerDev.Library" openning
  70. and second for "ENV:Sana2/slip.config" file.
  71.     Name of SLIP/CSLIP (or PPP if available) configuration file.  This is
  72. in 2 places, as I copy the "ENV:Sana2/slip0.config" file to "ENVARC:Sana2"
  73. so that it can survive re-boots.
  74.     Parameters for the "ENV:Sana2/slip0.config" file need to be set
  75. according to your device driver.
  76.  
  77.  
  78.  
  79. AmiTCP:bin/hangup.rexx
  80.  
  81.     Serial port name, bit rate and other stuff.
  82.  
  83.  
  84. AmiTCP:db/pearl/netdb-myhost
  85.  
  86.     DOMAIN should be modified for yours
  87.     NAMESERVER same here
  88.  
  89.  
  90.     Now you are ready to try it.  Likely you will have to debug it, and I
  91. have left in and installed many of my own monitoring messages.  Note, the
  92. serial device should be unused, but as I recall the "RexxSerDev.Library"
  93. opens it in shared mode.  However, this does NOT help me because my AmiTCP
  94. CSLIP device driver requires exclusive access and will come up offline.
  95.     Try clicking on the Icon to start it.  This Icon section wants to
  96. change directory to "SYS:t", but you can change it to anything you want. I
  97. also did not want a close gadget, because as long as AmiTCP is running, I
  98. want a SHELL active.  I even left the Icon out on WorkBench.
  99.  
  100.  
  101.     Included in this package is a nifty feature that I call re-boot
  102. survivability.  Assuming "AmiTCP:bin" is in your path, then you can re-boot
  103. your Amiga while the MODEM still has a carrier.  Needless to say, you lose
  104. any connections you have made, and even some subtle things can work against
  105. you.  I once re-booted while I had a "rlogin" session which was running a
  106. mail program.  After reboot, I could not use the mail program until I used
  107. "kill xxx" on that Unix process.
  108.     To use this feature, open up a shell and type "startnet_pearl.cont".
  109. Thats it.  Machine name, HOST and SLIP addresses, ENV variables and the
  110. like should be setup already.
  111.     Needless to say, my Amiga is pretty stable, and any re-booting that I
  112. do, is likely to be my fault, not the programs I use or the hardware.
  113. Sometimes my MODEM will lock up (or is it the HOST?), maybe due to power
  114. problems and re-booting does not help.  I have to hangup and call again.
  115.  
  116.  
  117.     Corrections or modifications can be sent to me at the address below.
  118. Complements are always welcome, flames to should be redirected to /dev/null
  119. or NIL: as you desire.
  120.  
  121.  
  122.                              K. Raquel Sanborn
  123.                              raquels@uhunix.uhcc.hawaii.edu
  124.  
  125.