home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / sliphw.zip / config.txt < prev    next >
Text File  |  1995-10-02  |  9KB  |  243 lines

  1. Configuring the programs
  2. ========================
  3.  
  4. Here are all the files that need configuring, with notes on each. If you go
  5. through the configuration in the order the files are listed, you can get
  6. parts of the package working and test them separately.
  7.  
  8. All files are Rexx except the SLIP configuration files. I've put all the
  9. data that needs to be configured at the start of the Rexx files. Below is a
  10. list of all files that need configuration and the settings that must be made.
  11.  
  12. Some data has to be entered in several files. Ideally, there should be a
  13. file called \TCPIP\ETC\SLIPHW.INI which contains all the key data. Then I
  14. could make this package read all the data from there and you wouln't have
  15. to change the files. Maybe in a future version.
  16.  
  17. Required information for each PC
  18. --------------------------------
  19.  
  20. Get all this information before you start. You'll need it for both PCs.
  21.  
  22. COM port, speed
  23. Modem init string, reset string, hangup string,
  24.       strings to go into answer mode, and out of answer mode
  25.       string to hang up
  26.       string received on CONNECT
  27. Phone numbers of home and work PCs
  28. IP addresses of both PC's at each end of the slip interface. Note that a
  29.    PC on Ethernet must have two IP addresses, one for the Ethernet
  30.    interface and one for the slip interface. We only need the slip IP.
  31. Net mask (probably 255.255.255.0)
  32. Name of Ethernet interface of PC we connect to. (Machine name on the Internet)
  33.    Note that a PC with an Ethernet card will have two interfaces with two
  34.    machine names. We don't care about slip interfaces here, just Ethernet
  35.    interfaces.
  36. Ethernet card hardware (MAC) addresses for all Ethernet cards present
  37. User name for logging in remote PC
  38. Password for logging in remote PC
  39. If you want sounds, choose wav files to play on connect
  40.  
  41. ===========================================================================
  42. Configuring the HOME machine to dial out
  43. ========================================
  44.  
  45. HOMECLI.CFG
  46. -----------
  47. Near the end of this file the port is specified. Change it if necessary.
  48. device         = COM2
  49.  
  50. HOMECLI.CMD
  51. -----------
  52. /* Serial Port Configuration and modem strings */
  53. modeminit    ='AT&F2'          /* reset modem */
  54. modemsetparms='ATL1M'          /* set speaker volume for SupraFaxmodem */
  55. modemreset   ='ATZ'          /* modem reset string */
  56. phonenumber  ='4991111'       /* number of work SLIP server */
  57.  
  58. /* Internet addresses, machine names */
  59. ipaddress    = '199.99.99.99'      /* Home PC's IP address for sl0 interface */
  60. gateway      = '199.99.99.88'      /* Work PC's IP address for sl0 interfae  */
  61. netmask      = '255.255.255.0'
  62. /* The parms below are only used if the Home machine is on a Home Ethernet  */
  63. desthostname ='workmachine'       /* Work PC's name. */
  64. macaddress   ='00:00:c0:11:22:33:44' /* Home PC's hardware address */
  65.  
  66. /* Users */
  67. username     = 'yourname'          /* ID for logging into Work machine */
  68. password     = 'secret'      /* PW for logging into Work machine */
  69.  
  70. /* If have Home Ethernet, change to Ethercard='T'.*/
  71. Ethercard    = 'F'          /* NO Home Ethernet */
  72.  
  73. /* Sounds play when connect */
  74. playsounds   = '1'            /* set to '0' if no sound card  */
  75. wavdir         = 'k:\mm\wav\'         /* where *.WAV files are kept */
  76. wavconnect   = wavdir'wild4.wav'    /* wave file to play when connected */
  77. wavinit      = wavdir'drumroll.wav' /* wave file to play when starting */
  78.  
  79.  
  80. ===========================================================================
  81. Configuring the HOME machine as a SLIP server
  82. =============================================
  83.  
  84. HOMESERV.CMD
  85. ------------
  86. This file contains "start" command for other Rexx files and programs that
  87. start daemons. You should add or delete daemons according to what you have
  88. running and want to run.
  89.  
  90. HOMESRVD.CMD
  91. ------------
  92. modemspeed  = '115200'      /* Set the com port speed */
  93. modemhangup = 'ATH0S0=0'  /* Modem hangup command. Exit Answer mode */
  94.  
  95. HOMESRV.CFG
  96. -----------
  97. Near the end it sets the com port.
  98. device = COM2
  99.  
  100. HOMESRV.CMD
  101. -----------
  102. /* Serial Port Configuration and modem strings */
  103. comport       = 'COM2'
  104. comparms      = '115200,n,8,1' /* com port mode command parameters   */
  105. initcmd       = 'ATZ'           /* modem reset string             */
  106. anscmd          = 'ATS0=1'       /* set modem into autoanswer mode     */
  107. connectstring = 'CONNECT'      /* Adjust this to your brand of modem.*/
  108.  
  109. /* Internet addresses, machine names */
  110. ipaddress     = '199.99.99.99'   /* Home PC's IP address for sl0 interface */
  111. ipdest          = '199.99.99.88'   /* Work PC's IP address                       */
  112. netmask       = '255.255.255.0'
  113. /* The parms below are only used if you have a Home Ethernet          */
  114. desthostname  = 'workmachine'       /* Work PC's name. Must be known to DNS */
  115. macaddress    = '00:00:c0:55:66:77:88'/* Home PC's hardware address           */
  116.  
  117. /* Users */
  118. username      = 'yourname'        /* ID for logging into work machine */
  119. password      = 'secret'       /* Password for logging into work machine */
  120.  
  121. /* If you have a home Ethernet, change to Ethercard='T'.*/
  122. Ethercard     = 'F'
  123.  
  124.  
  125. ===========================================================================
  126. Configuring the WORK machine to dial out
  127. ========================================
  128.  
  129. WORKCLI.CFG
  130. -----------
  131. Near the end of this file the port is specified. Change it if necessary.
  132. device          = COM1
  133.  
  134. WORKCLI.CMD
  135. -----------
  136. /* Serial Port Configuration and modem strings              */
  137. modeminit     = 'AT&F2'     /* was AT&F1              */
  138. modemsetparms = 'ATL1M'     /* was ATM              */
  139. modemreset    = 'ATZ'        /* modem reset string          */
  140. phonenumber   = '9,4992222'    /* number of home SLIP server */
  141.  
  142. /* Internet addresses, machine names */
  143. ipaddress     = '199.99.99.88' /* Work PC's IP address for sl0 interface */
  144. gateway       = '199.99.99.99' /* Home PC's IP address for sl0 interface */
  145. netmask       = '255.255.255.0'
  146. /* The parms below are only used if the Work machine is on Ethernet    */
  147. desthostname  = 'homemachine'        /* Home PC's name. Must be known to DNS */
  148. macaddress    = '00:00:c0:55:66:77:88' /* Work PC's hardware address       */
  149.  
  150. /* Users */
  151. username      = 'yourname'     /* ID for logging into home machine      */
  152. password      = 'secret'    /* Password for logging into home machine */
  153.  
  154. /* If Work machine is not on Ethernet, change Ethercard='T' to Ethercard='F'.*/
  155. Ethercard     = 'T'        /* Ethernet at work */
  156.  
  157. /* Sounds play when connect */
  158. playsounds    = '0'            /* set to '0' if no sound card    */
  159. wavdir          = 'k:\mm\wav\'        /* where *.WAV files are kept       */
  160. wavconnect    = wavdir'wild4.wav'   /* wave file to play when connected */
  161. wavinit       = wavdir'drumroll.wav'/* wave file to play when starting    */
  162.  
  163.  
  164. ===========================================================================
  165. Configuring the WORK machine as a SLIP server
  166. =============================================
  167.  
  168. WORKSERV.CMD
  169. ------------
  170. No configuration is necessary unless some daemons are to be started when
  171. the slip server starts. Lines in the file that start daemons are commented
  172. out. Remove the comments.
  173.  
  174. WORKSRVD.CMD
  175. ------------
  176. modemspeed    = '57600'
  177. modemhangup   = 'ATH0S0=0'
  178.  
  179.  
  180. WORKSRV.CFG
  181. -----------
  182. Near the end of this file the port is specified. Change it if necessary.
  183. device          = COM1
  184.  
  185. WORKSRV.CMD
  186. -----------
  187. comport       = 'COM1'
  188. comparms      = '57600,n,8,1'  /* com port mode command parameters    */
  189. initcmd       = 'ATZ'           /* modem reset string              */
  190. anscmd          = 'ATS0=1'       /* set modem into autoanswer mode      */
  191. connectstring = 'CONNECT'      /* Adjust this to your brand of modem. */
  192.  
  193. /* Internet addresses, machine names */
  194. ipaddress     = '199.99.99.88' /* Work PC's IP address for sl0 interface */
  195. ipdest          = '199.99.99.99' /* Home PC's IP address for the sl0 interface */
  196. netmask       = '255.255.255.0'
  197. /* The parms below are only used if the Work machine is on Ethernet      */
  198. desthostname  = 'homemachine'            /* Home PC's name. Must be known to DNS */
  199. macaddress    = '00:00:c0:55:66:77:88' /* Work PC's hardware address */
  200.  
  201. /* Users */
  202. username      = 'yourname'        /* ID for logging into home machine */
  203. password      = 'secret'       /* Password for logging into home machine */
  204.  
  205. /* If the Work machine is not on Ethernet, change Ethercard='T' to Ethercard='F'.*/
  206. Ethercard     = 'T'
  207.  
  208.  
  209.  
  210. ===========================================================================
  211. Configuring the COM port
  212. ========================
  213.  
  214.  
  215. MODE115.CMD
  216. -----------
  217. This comes set up for COM2. This locks the serial port speed.
  218.  
  219.  
  220. MODE576.CMD
  221. -----------
  222. This comes set up for COM1. This doesn't lock the speed.
  223.  
  224. ===========================================================================
  225. Starting Daemons
  226. ================
  227.  
  228.  
  229. STAFTPD.CMD
  230. -----------
  231. The ftp daemon may have to be started from the drive and directory where it
  232. resides. I happen to have a copy of Warp Connect on drive L: so this file
  233. switches to the \TCPIP\BIN directory for Warp Connect and runs the FTP daemon
  234. that came with Warp Connect. If you don't use Warp Connect you might try
  235. the Penquin FTP daemon. This file must run whatever daemon you get.
  236.  
  237.  
  238. STAGOSRV.CMD
  239. ------------
  240.  
  241. I've got GoServ installed on drive K:. This switches to that drive and
  242. GoServ's home directory and runs it.
  243.