home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / warpst04.zip / WarpCon.txt < prev    next >
Text File  |  1995-09-15  |  51KB  |  1,240 lines

  1. OS/2 Warp Connect Tips and Tricks
  2. with CID Samples
  3.  
  4. by Timothy F. Sipples
  5. IBM Personal Software
  6. Chicago, Illinois
  7. Internet: tsipple@vnet.ibm.com
  8.  
  9. Updated September 14, 1995
  10.  
  11. OS/2 Warp has many new features, making it the easiest way to connect your PC to practically any 
  12. network.  I've spent some time with OS/2 Warp Connect, as have many of my colleagues, and I'd like to 
  13. share some bits of advice on moving to OS/2 Warp Connect.  This information will be incorporated into a 
  14. future release of the OS/2 Warp Frequently Asked Questions (FAQ) List.
  15.  
  16. Q:  What does OS/2 Warp Connect include?
  17.  
  18. A:  OS/2 Warp Connect includes everything now found in OS/2 Warp plus:
  19.  
  20. - Multiprotocol Transport Services (MPTS)
  21. - IBM OS/2 Peer Version 1
  22. - IBM OS/2 LAN Requester Version 4
  23. - Novell NetWare requester Version 2.11
  24. - IBM LAN Distance client Version 1.11
  25. - IBM TCP/IP Version 3
  26. - Network SignON Coordinator (client/server)
  27. - First Failure Support Technology/2
  28. - Lotus Notes Express "Plus 2"
  29. - AskPSP
  30.  
  31. Most of these products (exceptions: Notes Express, AskPSP) are installed using a single, unified 
  32. installation program which is part of the main OS/2 Warp installation routine.  There are also options to 
  33. install networking software atop an existing OS/2 Warp installation, to install only base OS/2 Warp 
  34. (without networking software), and to use individual installation programs provided with each separate 
  35. networking component.
  36.  
  37. Q:  Is OS/2 Warp Connect available on diskettes?
  38.  
  39. A:  No, OS/2 Warp Connect is available only on CD-ROM.  However, there are at least two ways to install 
  40. OS/2 Warp Connect on a PC without a CD-ROM drive.  The first is to create the diskette version of OS/2 
  41. Warp from any CD-ROM-equipped PC.  (Diskette images are provided.)  This method is not 
  42. recommended since it is rather time consuming.  The second method is to install OS/2 Warp Connect 
  43. onto one PC with a CD-ROM drive that is connected to your network.  Then, using a simple application 
  44. provided, you can create a pair of "bootstrap" diskettes and use these diskettes to "pull" OS/2 Warp 
  45. Connect across the network.  In other words, you can remotely install OS/2 Warp Connect from any PC 
  46. on the network from a "code server."
  47.  
  48. To start remote installation, just double click on the new "OS/2 Warp Connect Remote Installation" 
  49. program object.  Everything is menu-driven and easy-to-use.
  50.  
  51. Q:  Is OS/2 Warp Connect available with and without Win-OS/2?
  52.  
  53. A:  Yes.  Both "flavors" are now available, as with base OS/2 Warp.
  54.  
  55. Q:  If I have OS/2 Warp without Win-OS/2 ("for Windows"), the so-called "red box," can I install OS/2 
  56. Warp Connect with Win-OS/2?
  57.  
  58. A:  IBM changed OS/2 Warp Connect so that the installation program will warn you that you are about to 
  59. install a "with Win-OS/2" version on top of a "without Win-OS/2" version, something which is not 
  60. recommended.  To force installation in this case, you must delete the SYSLEVEL.* files in the 
  61. \OS2\INSTALL directory before starting.
  62.  
  63. Q:  What is the price of OS/2 Warp Connect?
  64.  
  65. A:  The price will vary by dealer, but the non-upgrade price is approximately $155-170 in the United 
  66. States (street price), according to reports on the Internet.
  67.  
  68. Q:  Are upgrades available?
  69.  
  70. A:  Yes.  IBM is offering discounted upgrades from base OS/2 Warp and OS/2 2.1x to OS/2 Warp 
  71. Connect.  You save more if you are upgrading from OS/2 Warp.  Street pricing, according to Internet 
  72. reports, ranges from about $89 (upgrade from OS/2 Warp) to about $120 (upgrade from OS/2 2.1x).  This 
  73. discount may take the form of a rebate; some dealers may handle the rebate for you.
  74.  
  75. Q:  Is IBM TCP/IP Version 3 available separately?
  76.  
  77. A:  No.  TCP/IP Version 3 is only available with OS/2 Warp Connect.
  78.  
  79. Q:  What happens to IBM TCP/IP Version 2?
  80.  
  81. A:  It will continue to be sold and serviced as long as demand warrants.
  82.  
  83. Q:  Is NFS or X Window Server (PMX) included with OS/2 Warp Connect?
  84.  
  85. A:  No, but...
  86.  
  87. Q:  Will the add-on kits (like NFS and X Window Server/PMX) for IBM TCP/IP Version 2 work with OS/2 
  88. Warp Connect's TCP/IP Version 3?
  89.  
  90. A:  Yes, although IBM recommends you install the latest Service Paks for these add-on kits.  Future 
  91. updates to these add-on kits will be tested and certified for OS/2 Warp Connect.  Also, according to 
  92. reports on the Internet, pricing on these kits has fallen recently at many dealers, so the add-on kits are 
  93. more affordable.
  94.  
  95. Q:  Can IBM TCP/IP Version 3 maintain a dial-up Internet connection and a network card connection at 
  96. the same time?
  97.  
  98. A:  Yes!
  99.  
  100. Q:  Does IBM TCP/IP Version 3 include ftp and telnet server software?
  101.  
  102. A:  Yes.  In fact, OS/2 Warp Connect is an excellent foundation for other TCP/IP software, such as the 
  103. freely available World Wide Web server software.
  104.  
  105. Q:  Does IBM TCP/IP Version 3 include updates to the Internet Connection software (such as Web 
  106. Explorer Version 1.01 and Ultimail Version 2.1.1)?
  107.  
  108. A:  Yes.
  109.  
  110. Q:  What else does IBM TCP/IP Version 3 include?
  111.  
  112. A:  Quite a lot is new, including integrated REXX FTP and REXXSock capabilities, a revamped 
  113. configuration notebook, and faster transports.
  114.  
  115. Q:  My shareware IRC/2 and NCFTP programs no longer work with OS/2 Warp Connect's TCP/IP when I 
  116. am dialed into my Internet provider.  How can I fix this?
  117.  
  118. A:  You need an updated AFINET.SYS file.  The update is available from technical support services.
  119.  
  120. This new AFINET.SYS file also fixes certain SENDMAIL problems over a dial-up Internet connection.  It 
  121. will be incorporated into a future OS/2 Warp Connect FixPak.
  122.  
  123. Q:  Can I use OS/2 Warp Connect as a router, say, for TCP/IP?
  124.  
  125. A:  Yes.
  126.  
  127. Q:  What is IBM LAN Distance?
  128.  
  129. A:  LAN Distance provides the ability to use any network protocol over a dial-up or other asynchronous 
  130. connection (like a modem).  This connection is secure (featuring login encryption and password 
  131. protection, if desired).  The client software is used to connect to the IBM LAN Distance Connection Server 
  132. (usually running on a PC back in the office).  The Connection Server is an OS/2 application and is 
  133. available in 8-port and unlimited port versions.
  134.  
  135. Q:  Do I need the IBM LAN Distance Connection Server to use the LAN Distance client?
  136.  
  137. A:  No.  First, the IBM LAN Distance client includes a "shuttle" feature which automatically reconfigures 
  138. your PC (such as a notebook computer) for either in-office (network card attached) or out-of-office 
  139. (modem attached) operation.  Even if you don't use LAN Distance, you can still use its shuttle feature.  
  140. Also, if you are using OS/2 Peer, you can establish a single connection to another OS/2 Warp Connect 
  141. system running the IBM LAN Distance client to communicate between them, single PC to single PC.
  142.  
  143. Q:  What is the LAN Distance shuttle feature, and how do I activate it?
  144.  
  145. A:  The shuttle feature in LAN Distance allows you to quickly switch between LAN-attached (with network 
  146. adapter drivers in CONFIG.SYS, for example) and modem-attached (where you can dial into your office 
  147. network using LAN Distance or not dial in at all).  The shuttle feature is particularly useful for notebook 
  148. computers, for example, which are carried in and out of the office.  When you're on the road, you don't 
  149. want the network adapter drivers to load.
  150.  
  151. To activate the LAN Distance shuttle feature, simply install LAN Distance and run LDSHUTTL.EXE.  You 
  152. can set up a program object on your desktop to run the LAN Distance Shuttle more easily.
  153.  
  154. Q:  Do I need a network card to use OS/2 Warp Connect?
  155.  
  156. A:  No, not at all.  First of all, you can install base OS/2 Warp (without any networking software) from the 
  157. OS/2 Warp Connect CD (either locally or remotely, over the network) if you wish.  You can also use LAN 
  158. Distance to dial back into your office for a network connection.  Moreover, there is an IBM Parallel Port 
  159. driver which, when used with a LinkRight/LinkWiz/LapLink-style cable, can be used in place of a network 
  160. card.  This parallel port connection can be used to link two PCs.  (It may also be possible to "daisy chain" 
  161. network connections, using a desktop PC with a network card and a parallel port, for example, to provide 
  162. network access to another system without a network card.)  Consult the file 
  163. \IBMCOM\MACS\PRNANDIS.TXT for more information on the IBM Parallel Port driver; this file is installed 
  164. when you install OS/2 Warp Connect.
  165.  
  166. Q:  Does the networking software require space on my main OS/2 Warp drive?
  167.  
  168. A:  Some.  The OS/2 Warp Connect installation program and core networking components expect to be 
  169. on the same drive as OS/2 Warp itself, but the bulk of OS/2 Warp Connect's networking software can be 
  170. placed on other drives.
  171.  
  172. Q:  Are there any special tips for installation?
  173.  
  174. A:  Not really.  Installation is quite easy.  More device drivers have been provided, the latest fixes have 
  175. been applied -- in short, it has never been easier to install and configure a fully networked PC.
  176.  
  177. For example, a new device driver, DETNE2.SYS, is included in OS/2 Warp Connect to detect the clone 
  178. NE2000 network cards which can cause problems in previous OS/2 Warp releases.  Also, OS/2 Warp 
  179. Connect will attempt to autodetect your network card (to the extent possible).  You may still wish to 
  180. confirm, using the settings options provided, that OS/2 Warp is configuring your network card for the 
  181. correct interrupt, addresses, etc.
  182.  
  183. Make sure you have sufficient disk space on your system prior to installating OS/2 Warp Connect.  If you 
  184. do not have enough space, you will be given the opportunity to exit the installation program to correct the 
  185. problem.
  186.  
  187. In the new, unified network configuration notebook, note that there are multiple pages for some of the 
  188. notebook tabs.  Please be sure to fill out the correct information on all pages.  You will not be allowed to 
  189. proceed if you miss a vital setting.  (This unified notebook appears during the Advanced Installation.)
  190.  
  191. After you install, you may see two or even three icons on your desktop labeled "MPTS."  MPTS is 
  192. important, but you can safely drag any duplicates to the shredder.
  193.  
  194. If you ever wish to reinstall all or part of the networking software included with OS/2 Warp Connect, make 
  195. sure you run the uninstall utilities provided for each component.  Doing so will free up disk space.
  196.  
  197. Q:  I can't get OS/2 Warp Connect working with my NE2000 compatible network card.  How can I fix it?
  198.  
  199. A:  OS/2 Warp Connect includes a driver for the Eagle NE2000plus network adapter, which is the most 
  200. popular NE2000 adapter.  Unfortunately many NE2000 adapters are not quite compatible with the Eagle.
  201.  
  202. A "generic" NE2000 driver package has been created and is available for retrieval from the Internet via 
  203. anonymous ftp from ftp-os2.nmsu.edu.  Look for filename ne2000wc.zip, most likely located in the 
  204. /os2/drivers directory.  Instructions are included.
  205.  
  206. Q:  Is 3270 or 5250 terminal emulation included with OS/2 Warp Connect?
  207.  
  208. A:  Only for TCP/IP connections to a mainframe or midrange system.  For SNA connections you may 
  209. wish to add one of the following products:
  210.  
  211. -  IBM Personal Communications 3270 for OS/2
  212. -  IBM Personal Communications AS/400 for OS/2
  213. -  IBM Personal Communications 3270 and AS/400 for OS/2
  214. -  IBM Communications Manager for OS/2
  215. -  Third party products (such as Rumba for OS/2 or Attachmate for OS/2)
  216. -  "Attach Pak" planned as an OS/2 Warp Connect add-on later this year
  217.  
  218. You need not install NTS/2, LAPS, MPTS, or any other network transport software when you install these 
  219. products.  The SNA/802.2 protocol is provided with OS/2 Warp Connect.
  220.  
  221. Q:  Will OS/2 Peer connect to other systems?
  222.  
  223. A:  OS/2 Peer will connect to any of the following systems:
  224.  
  225. - Other OS/2 Peers (OS/2 Warp Connect)
  226. - IBM LAN Server Version 4
  227. - IBM LAN Server (previous releases)
  228. - IBM LAN Server for AIX
  229. - IBM LAN Server for AS/400
  230. - IBM LAN Server for VM
  231. - IBM LAN Server for MVS
  232. - IBM PC LAN Program
  233. - Artisoft's LANtastic for OS/2 (*)
  234. - Artisoft's LANtastic for DOS or Windows (*)
  235. - Artisoft's LANtastic for Macintosh (*)
  236. - Microsoft LAN Manager
  237. - Microsoft Windows for Workgroups
  238. - Microsoft Windows NT
  239. - PowerLAN
  240. - SAMBA (Unix/Linux)
  241. - Any other SMB-based networking software
  242.  
  243. (*) Providing server only to LANtastic clients in SMB mode, at least with LANtastic Version 1 for OS/2.
  244.  
  245. Q:  If OS/2 Peer can connect to IBM LAN Server Version 4, why would I install the OS/2 LAN Requester 
  246. in OS/2 Warp Connect?
  247.  
  248. A:  OS/2 Peer is a superset of the IBM OS/2 LAN Requester, with one exception:  to manage IBM LAN 
  249. Server resources graphically, you must use the OS/2 LAN Requester rather than OS/2 Peer.  (OS/2 Peer 
  250. can administer LAN Server user IDs and groups through User Profile Management.  Command line and 
  251. REXX API administration facilities for resources are still available.)  Also, OS/2 Peer requires slightly 
  252. more memory than the OS/2 LAN Requester.
  253.  
  254. Q:  Can I install both OS/2 Peer and LAN Requester on the same PC?
  255.  
  256. A:  Yes, although this procedure has not been extensively tested and is recommended only if you 
  257. absolutely need the graphical LAN Server Administration capability.  Here are the steps you must follow 
  258. (courtesy Mark Neumann, IBM Personal Software):
  259.  
  260. 1.  Install OS/2 Warp Connect with LAN Requester first.
  261. 2.  Make a copy of the IBM LAN Services folder and rename it to Temp LAN Services.
  262. 3.  Copy the contents of the directories \IBMLAN\NETPROG and \IBMLAN\NETLIB to 
  263. \TEMPLAN\NETPROG and \TEMPLAN\NETLIB, respectively.
  264. 4.  Install OS/2 Peer on top of LAN Requester (using the PRODINST program included with OS/2 Warp 
  265. Connect).
  266. 5.  Copy the files in \TEMPLAN\NETPROG to \IBMLAN\NETPROG.  You can use the Drives object in 
  267. your OS/2 System folder.  Find and open the \TEMPLAN\NETPROG folder, select all files in the folder, 
  268. and copy them to \IBMLAN\NETPROG.  Do NOT replace any duplicate files in \IBMLAN\NETPROG (click 
  269. on Cancel when prompted).  You should only copy those files in \TEMPLAN\NETPROG which are not 
  270. already in \IBMLAN\NETPROG.
  271. 6.  Repeat Step 5 for the \TEMPLAN\NETLIB and \IBMLAN\NETLIB directories.
  272. 7.  Rename the Temp LAN Services folder back to IBM LAN Services.
  273. 8.  Restart your OS/2 Warp PC for changes to take effect.
  274.  
  275. Q:  What devices on my PC can I allow access to over the network with OS/2 Peer?
  276.  
  277. A:  Other OS/2 Peer users can access directories (folders), drives (including diskette drives, CD-ROM 
  278. drives, optical drives, etc.), printers (the actual print queue), and ports (both parallel and serial).  
  279. Non-OS/2 Peer users (such as LANtastic clients) can access printers, drives, and directories only.
  280.  
  281. The ability to share CD-ROM drives and COM ports (modems, for example) over the network is rare or 
  282. even unique to OS/2 Peer.
  283.  
  284. Q:  Tell me more about COM port sharing...
  285.  
  286. A:  Sure.  Suppose you have a high speed modem attached to one OS/2 Warp Connect PC.  You can 
  287. share out that fancy V.34 modem to other PCs running OS/2 Peer so that they can use standard 
  288. communications software (not necessarily network-aware communications software) to dial-out with that 
  289. modem and communicate with other systems.  Some communications software (such as HyperAccess/5 
  290. for OS/2) can open the COM port in "shared mode," which means that you can have other 
  291. communications software monitoring and displaying the traffic being passed to/from that COM port, even 
  292. from somewhere else on the network!
  293.  
  294. IBM LAN Server 4 also supports this feature with OS/2 Warp clients.
  295.  
  296. The NET COMM and NET USE commands facilitate modem sharing (by allowing you to assign the 
  297. network shared COM port to a local "real" COM port, for example COM3).
  298.  
  299. Q:  Why isn't COM port sharing supported with DOS or Windows clients?
  300.  
  301. A:  Why do DOS and Windows lack true preemptive multitasking?  Why are DOS and Windows still 
  302. limited to 640K of memory?  Why do DOS and Windows lack Crash Protection?  Why...
  303.  
  304. Seriously, DOS and Windows do not provide the ability for COM port redirection, and, if attempted, 
  305. redirection would likely be unreliable.
  306.  
  307. Q:  Is there any limit to the number of client connections OS/2 Peer supports?
  308.  
  309. A:  There's no intrinsic limit (none reachable, anyway).  You can have as many users accessing a 
  310. resource on your OS/2 Peer PC as you wish, up to the performance limits of your PC.  You can also limit 
  311. the number of simultaneous connections to any resource (quite useful for limiting the load on your PC or 
  312. for enforcing software licensing).
  313.  
  314. Q:  If I have the Novell NetWare requester in OS/2 Warp Connect loaded, can I reshare those devices 
  315. (such as printers) out to other clients using OS/2 Peer?
  316.  
  317. A:  Yes.  Resharing works for TCP/IP resources as well (such as printers).
  318.  
  319. Q:  Why should I buy IBM LAN Server 4?  Why not use OS/2 Peer for everything?
  320.  
  321. A:  For smaller sized networks (typically 10 or fewer PCs), or for a decentralized campus environment 
  322. (such as a university), OS/2 Warp Connect's OS/2 Peer is ideal.  However, IBM LAN Server 4 has 
  323. several advantages when your network begins to grow.  LAN Server 4 resources can be centrally 
  324. managed, and security is implemented through the domain controller concept.  (OS/2 Peer cannot be a 
  325. domain controller, but it does not require a domain controller to establish connections with other peers.)  
  326. Also, LAN Server 4 will outperform OS/2 Peer as your network grows (especially LAN Server 4 
  327. Advanced).
  328.  
  329. IBM LAN Server 4 also has a unique feature for OS/2 Warp clients called the Network Applications folder. 
  330. Without touching (electronically, humanly, or otherwise) any OS/2 Warp clients, a network administrator 
  331. can create icons for applications stored on the server.  These icons automatically appear in the Network 
  332. Applications folder when an OS/2 Warp user logs in, complete with any special settings required.  This 
  333. feature makes deploying a new network application much easier.
  334.  
  335. As a rule of thumb, OS/2 Peer works well with networks of 10 or fewer PCs.  Beyond 8 PCs, start 
  336. considering IBM LAN Server 4 Entry.  Beyond about 40 PCs, start considering IBM LAN Server 4 
  337. Advanced.  There's significant overlap in these rules of thumb, depending on what you need out of your 
  338. network.  There are no hard and fast rules.
  339.  
  340. Q:  Can I manage OS/2 Peer from somewhere else on the network?
  341.  
  342. A:  For user IDs, groups, and passwords (User Profile Management), yes, you can.  However, without 
  343. some remote control software (such as IBM's DCAF, KopyKat, Poly/PM, etc.) you cannot manage OS/2 
  344. Peer shared resources remotely using the graphical application, "Sharing and Connecting."  You can, 
  345. however, use the command NET ADMIN (from the command line) to remotely administer OS/2 Peer 
  346. shared resources.
  347.  
  348. Q:  Other people on my network are using Windows for Workgroups or Windows NT.  How do I browse 
  349. the "workgroups" or "domains" these people use?
  350.  
  351. A:  You can define up to four domains (or workgroups) which can be browsed by using a command such 
  352. as:
  353.  
  354.    NET CONFIG REQ /OTH:dom1,dom2,dom3,dom4
  355.  
  356. where dom1, dom2, dom3, and dom4 are the names of the four domains.  However, you must know the 
  357. names of these domains in advance.  (This answer courtesy Charlie Brown, IBM Austin.)
  358.  
  359. Q:  Are there any "gee whiz" features in OS/2 Peer?
  360.  
  361. A:  You bet.  To amaze and impress your friends, try the following:
  362.  
  363. - With two OS/2 Peer PCs, try "crossplaying" of multimedia files.  One OS/2 Peer delivers audio or video 
  364. to the other (and vice versa) for playback at the same time (using shared drives or directories).  See how 
  365. far you can push your PCs.
  366.  
  367. - Set up an OS/2 Peer server on the Internet!  OS/2 Peer can work with NetBIOS over TCP/IP, so you 
  368. can share out a drive or directory (read-only access recommended!) to other OS/2 Peer users on the 
  369. Internet.  Use the MPTS program to set up.
  370.  
  371. - Drag and drop printers and folders (directories) to create a new shared resource using the Sharing and 
  372. Connecting application.
  373.  
  374. - OS/2 Peer has auditing/logging and REXX interface capabilities.  You can monitor access to your OS/2 
  375. Peer resources, and you can write REXX scripts to automate routine tasks.
  376.  
  377. - Use the new Network Clipboard/DDE program to cut/paste across the network (or, if using NetBIOS 
  378. over TCP/IP, even the Internet).  Network Messaging can be used to send alerts (such as, "I'm turning off 
  379. my PC now") and other messages to other users across the network.
  380.  
  381. Q:  What exactly is the Lotus Notes Express "Plus 2"?
  382.  
  383. A:  Regular Lotus Notes Express includes only five application templates.  The Lotus Notes Express 
  384. software includes two extra application templates as a bonus.  Lotus considers OS/2 Warp Connect as a 
  385. full Lotus Notes Express client so, if you ever need to upgrade to the standard Lotus Notes client software 
  386. for OS/2 Warp, you can do so for an upgrade price (not full price).
  387.  
  388. Note that the capabilities of a Lotus Notes client are determined at the server.  You need not reinstall your 
  389. Lotus Notes software if you upgrade to the full client capabilities -- Lotus Notes Express "Plus 2" provided 
  390. with OS/2 Warp Connect is the full software with a license for Express "Plus 2" function.
  391.  
  392. Q:  I've installed Lotus Notes, provided with OS/2 Warp Connect, but it doesn't want to start when I 
  393. double click on the icon.  What should I do?
  394.  
  395. A:  Try running $LNOTES.EXE directly (instead of through NOTES.EXE).  You can change the settings of 
  396. the Lotus Notes program object to run this executable file instead.
  397.  
  398. Q:  What is AskPSP?
  399.  
  400. A:  AskPSP is a technical support database shipped on CD-ROM, based on IBM's own technical support 
  401. services.  It includes answers to frequently (and less than frequently) asked OS/2 Warp questions.  A 
  402. friendly front-end application, an expert system tool which accepts plain English questions, facilitates 
  403. access to this support database.
  404.  
  405. Q:  What is First Failure Support Technology/2?
  406.  
  407. A:  FFST/2 is software which allows network administrators (mainly at large corporate sites) to monitor 
  408. and respond to errors which occur on OS/2 Warp PCs, over the network.
  409.  
  410. Q:  What is Network SignON Coordinator?
  411.  
  412. A:  NSC is software which allows single sign-on to a variety of systems on your network.
  413.  
  414. Q:  When I use the Remote Installation program in OS/2 Warp Connect, to install OS/2 Warp Connect 
  415. across a network, only one PC can "pull" the code at a time.  Can I raise this limit?
  416.  
  417. A:  Yes.  By default, only one remote PC can install OS/2 Warp Connect from the PC where the Remote 
  418. Installation program is running.  This limit is enforced to avoid network congestion and "thrashing" of the 
  419. CD-ROM (where OS/2 Warp Connect code is usually obtained).  However, you can increase this limit by 
  420. editing the \GRPWARE\CLIENTS\GRPWARE.INI file so that
  421.  
  422. MAXCLIENTS=1
  423.  
  424. is changed to the number of simultaneous connections allowed, for example
  425.  
  426. MAXCLIENTS=5
  427.  
  428. Other changes are recommended as well (see the next question).
  429.  
  430. Q:  Is there a way to start the Remote Install "code server" without having to answer all those questions 
  431. every time?  I just want the code server to be running whenever I start up my OS/2 Warp Connect PC.
  432.  
  433. A:  Yes.  However, if you are using your OS/2 Warp Connect system for other things while other PCs on 
  434. the network are trying to install OS/2 Warp Connect from your PC, you must make some other changes 
  435. as well to increase the tolerance of NetBIOS to retries.
  436.  
  437. To start the Remote Install server by itself, without answering any questions about building diskettes, use 
  438. the following commands (in a .CMD batch file):
  439.  
  440. C:
  441. CD \GRPWARE\CLIENTS
  442. START E:\CID\SRVIFS\SERVICE /INI=GRPWARE.INI
  443.  
  444. where E: is the CD-ROM drive containing the OS/2 Warp Connect CD and C: is the drive containing the 
  445. OS/2 Warp Connect installation program (and the \GRPWARE directory).  Change these drive letters in 
  446. the above example if necessary.
  447.  
  448. If you do any multitasking whatsoever, you should also make the following changes to two files, 
  449. PROTOCOL.INI and IBMLAN.INI.  PROTOCOL.INI is located in the \IBMCOM directory (or in the root 
  450. directory of Remote Installation Diskette 1 created for the target system, where you must also make these 
  451. changes) and IBMLAN.INI is located in \IBMLAN.
  452.  
  453. PROTOCOL.INI:
  454.  
  455. In the [netbeui_nif] section of the file:
  456.    ADAPTRATE=0
  457.    TI=60000
  458.    T1=10000
  459.    T2=2000
  460.    NETBIOSTIMEOUT=2000
  461.  
  462. IBMLAN.INI:
  463.  
  464.    SESSTIMEOUT=300
  465. and in the peer section of the file:
  466.    SRVHEURISTICS (bit 15 set to 8)
  467.  
  468. These changes and/or additions are quite similar to those recommended in the 
  469. \IBMCOM\MACS\PRNANDIS.TXT file.
  470.  
  471. Remember, you must make these additions to the PROTOCOL.INI file on Diskette 1 for each set of 
  472. Remote Install diskettes you create.
  473.  
  474. IBM recommends NetView/DM for OS/2 for "heavy duty" software distribution, but these methods may be 
  475. sufficient, depending on your needs.
  476.  
  477. Q:  What protocols can I use for OS/2 Warp Connect Remote Installation?
  478.  
  479. A:  The simplified Remote Installation program bundled with OS/2 Warp Connect is designed to use 
  480. NetBIOS connections only.  It is possible to install OS/2 Warp Connect over the network using other 
  481. protocols with add-on software (such as IBM's NetView/DM for OS/2).
  482.  
  483. Q:  Can I copy some files from the OS/2 Warp Connect CD to my hard disk to speed up Remote 
  484. Installation?
  485.  
  486. A:  Yes.  You will need enough disk space, certainly, to store OS/2 Warp Connect components required 
  487. by Remote Install.  You will need to edit GRPWARE.INI and LANSTART.INI files to redirect to the hard 
  488. disk.
  489.  
  490. Q:  The Remote Installation diskettes I build for a ThinkPad 701 with IBM PCMCIA Token Ring don't 
  491. seem to work right.  What should I do?
  492.  
  493. A:  Modify the PROTOCOL.INI file on Diskette 1 so that the following changes are made:
  494.  
  495. MMIO=0xD400
  496. RAM=0xD800
  497.  
  498. and that semicolons are removed in front of each of these parameters.  You can also use the Settings 
  499. button to make these changes at the time you create the two Remote Installation diskettes.
  500.  
  501. Q:  If I use Remote Installation, how do I add additional networking software later that I didn't install the 
  502. first time?
  503.  
  504. A:  Activate the Remote Installation server and start your PC from the Remote Installation diskettes.  
  505. Follow the instructions until you see a menu asking if you wish to install all of OS/2 Warp Connect or just 
  506. Networking.  Select Networking only, and proceed as directed.  (See below for a second method.)
  507.  
  508. Q:  How do I install the OS/2 Warp BonusPak, AskPSP, and Lotus Notes client software using Remote 
  509. Installation?
  510.  
  511. A:  The built-in Remote Installation software is simplified and designed to get base OS/2 Warp Connect 
  512. networking function installed quickly and easily.
  513.  
  514. If you provide access to the AskPSP and Lotus Notes CD-ROMs somewhere on your network, they can 
  515. be installed across the network (using OS/2 Peer logins, for example).  AskPSP can be installed using 
  516. the INSTASKP.EXE program (located in the AskPSP directory).  Lotus Notes can be installed using the 
  517. INSTPM.EXE program.
  518.  
  519. The BonusPak expects to be installed from a particular drive (such as a CD-ROM) which has a drive 
  520. letter assigned to it.  Still, you can install the BonusPak across the network.  Assume, for example, that all 
  521. the BonusPak files have been copied to a directory on an OS/2 Peer system called SMITH, and that the 
  522. directory containing the BonusPak has been given a resource name of BONUSPAK.  The resource 
  523. BONUSPAK has been defined as read-only to every user on the network.  (In fact, this resource can be 
  524. the BonusPak CD-ROM.)  The following OS/2 batch file will allow you to install the BonusPak across the 
  525. network, assuming you are logged on the network.
  526.  
  527.    @echo off
  528.    echo Installing BonusPak...
  529.    NET USE Y: /DELETE
  530.    NET USE Y: \\SMITH\BONUSPAK
  531.    Y:
  532.    CD \US
  533.    CALL INSTALL.CMD
  534.    C:
  535.    NET USE Y: /DELETE
  536.  
  537. In other words, by using the NET USE command to assign drive letter Y: to the network directory 
  538. \\SMITH\BONUSPAK, the OS/2 Warp BonusPak will install correctly.  Note that you should not install the 
  539. Internet Connection from the BonusPak on top of OS/2 Warp Connect.  TCP/IP Version 3, part of the 
  540. main installation, should be used instead.
  541.  
  542. Q:  I've used Remote Install to install OS/2 Warp Connect.  Now I want to add a printer or some other 
  543. feature.  How do I tell Selective Install to retrieve code across the network?
  544.  
  545. A:  The answer to this question is similar to the last, namely that you can place the OS/2 Warp Connect 
  546. CD-ROM (or a copy of it) somewhere on your network as a shared resource.  Using the NET USE 
  547. command, you can assign a drive letter to this shared resource.  An OS/2 batch (.CMD) file can automate 
  548. the process, and it would look something like this:
  549.  
  550.    @echo off
  551.    echo Starting Selective Install...
  552.    NET USE Y: /DELETE
  553.    NET USE Y: \\SMITH\CD-ROM
  554.    INSTALL
  555.    NET USE Y: /DELETE
  556.  
  557. assuming the OS/2 Warp Connect CD-ROM was placed on the machine SMITH and given a resource 
  558. name of CD-ROM, and that a proper logon was in effect.  The source directory for Selective Install 
  559. becomes Y:\OS2IMAGE (or possibly \\SMITH\CD-ROM\OS2IMAGE if you wish to use Universal Naming
  560. Convention).  Similar methods would be used for Novell NetWare servers.
  561.  
  562. Q:  Is it possible to have some sort of custom routine (such as installing applications) run automatically at 
  563. the end of OS/2 Warp Connect's Remote Installation?
  564.  
  565. A:  Yes indeed.  First, create a file called USER.CMD with the OS/2 batch commands (or REXX program) 
  566. you wish to run at the conclusion of OS/2 Warp Connect's installation.  Then copy this file to the
  567. \GRPWARE\CLIENTS\LADCLT directory on the OS/2 Warp Connect "code server."  On the second 
  568. diskette (Diskette 1) created for remote installation, modify CONFIG.SYS and add the following line 
  569. (assuming Drive W as the source):
  570.  
  571. CALL=\OS2\CMD.EXE /Q /C DETACH COPY W:\USER.CMD \GRPWARE\CLIENTS\LADCLT > NUL
  572.  
  573. When the second phase of OS/2 Warp Connect installation starts, the USER.CMD file should be copied 
  574. correctly to the remote (target) PC's hard disk.  At the end of installation, USER.CMD will be run.  One of 
  575. the tasks USER.CMD should probably perform is to remove the above line from the PC's CONFIG.SYS, 
  576. to prevent any error messages at bootup.
  577.  
  578. In any event, any file by the name of USER.CMD in the \GRPWARE\CLIENTS\LADCLT directory on the 
  579. target PC will be run at the conclusion of OS/2 Warp Connect installation.  You can use any method you
  580. wish to move USER.CMD to this directory.  (This answer courtesy Matt Hickmann, Chevron.)
  581.  
  582. Q:  Do I have to reinstall the base OS/2 Warp when upgrading to OS/2 Warp Connect, or should I just 
  583. install the networking software?
  584.  
  585. A:  IBM recommends that you reinstall the base operating system at the same time you install OS/2 Warp 
  586. Connect's networking components.  The base operating system included with OS/2 Warp Connect 
  587. contains the latest fix paks (up until the date it was sent to manufacturing).
  588.  
  589. Your desktop and other customizations will be preserved.  If you are upgrading from OS/2 2.1x, be sure 
  590. to run the SCHEME program after installation of OS/2 Warp to create the new Scheme Palette.
  591.  
  592. Q:  Should I install the Internet Connection from the BonusPak on OS/2 Warp Connect?
  593.  
  594. A:  Unless you are NOT installing any networking software, no, you should not install the Internet 
  595. Connection from the BonusPak on OS/2 Warp Connect.  Installing TCP/IP Version 3 (part of the 
  596. networking software included with OS/2 Warp Connect) gives you all the function (and more) of the 
  597. dial-up Internet Connection (including dial-up capabilities).
  598.  
  599. All other BonusPak applications may be safely installed on top of OS/2 Warp Connect regardless of 
  600. configuration.  However, Person to Person may require additional NetBIOS resources when installed 
  601. alongside OS/2 Peer, and it may require the above mentioned AFINET.SYS file for TCP/IP connections.
  602.  
  603. Q:  I get some error messages about LOG.SYS when I boot into OS/2 Warp Connect.  What can I do?
  604.  
  605. A:  Use OS/2 Warp's Selective Install program to install Serviceability and Diagnostic Aids (one of the 
  606. selections on the second panel).  LOG.SYS (and other key files for FFST/2) are included with the base 
  607. OS/2 Warp software.  Or you can simply REM out these lines if you do not wish to use FFST/2.
  608.  
  609. Q:  Are any of the regular OS/2 Warp BonusPak applications enhanced or improved as a result of OS/2 
  610. Warp Connect?
  611.  
  612. A:  Yes.  The OS/2 Chess application can be used to play chess across a network (NetBIOS, NetBIOS 
  613. over TCP/IP, or NetBIOS over IPX protocols).  Also, IBM's Person to Person can be used across a 
  614. network for workgroup and video conferencing.
  615.  
  616. Q:  Can I uninstall all or part of OS/2 Warp Connect?
  617.  
  618. A:  You bet.  Uninstall programs are supplied for each individual networking component and for OS/2 
  619. Warp itself.  In fact, you should use these uninstall programs if for whatever reason you wish to reinstall 
  620. any OS/2 Warp Connect networking component.
  621.  
  622. Q:  Where can I get additional information on OS/2 Warp Connect?
  623.  
  624. A:  The printed manuals included with OS/2 Warp Connect include basic installation, setup, and operation 
  625. instructions.  For more detailed instructions, be sure to consult the various pieces of online documentation
  626. located on the OS/2 Warp Connect CD-ROM.  Also, additional printed publications are available from IBM 
  627. if you need hardcopy.  The IBM part numbers for extra hardcopy manuals are included in the OS/2 Warp 
  628. Connect announcement letter.
  629.  
  630. One of the best places now to obtain information on OS/2 Warp Connect and other IBM products is the 
  631. Internet.  (The Internet Connection software comes with every copy of OS/2 Warp.)  Using the IBM Web 
  632. Explorer, you can access the following URLs (Universal Resource Locators) on the Internet:
  633.  
  634. http://www.ibm.com                      Main IBM "homepage"
  635. http://www.austin.ibm.com/pspinfo       IBM Personal Software information (incl. OS/2 Warp)
  636. http://www.teamos2.org                  Team OS/2 "homepage" (with links to several other sites)
  637.  
  638. IBM's OS/2 Warp Hotline can be reached at (800) 3-IBM-OS2, and the software order center is at (800) 
  639. IBM-CALL.  You can request catalogs, product literature, and other information from these hotlines.  You 
  640. may also wish to use the fax-back service at (800) IBM-4-FAX and the IBM BBS at (919) 517-0001.
  641.  
  642. Locally the Greater Chicago ONLINE!! BBS serves OS/2 Warp users in Chicagoland and can be reached 
  643. at (708) 895-4042.  Information on OS/2 Warp user groups is available through this service.
  644.  
  645. Q:  Are there any samples for CID (Configuration/Installation/Distribution) installation?
  646.  
  647. A:  Here are some sample files.  For more information on CID installation, please consult IBM publication 
  648. GG24-4295 (OS/2 Installation Techniques: The CID Guide).  You can order IBM publications by calling 
  649. (800) 879-2755.
  650.  
  651. The sample files, below, are designed to install OS/2 Warp Connect with MPTS, NetWare client, and 
  652. TCP/IP components from a Novell NetWare server.  They assume Token-Ring.  Use them as guides for 
  653. your own installation environment.
  654.  
  655. There are two special features of note.  One is that the NetWare client software is not CID enabled 
  656. (cannot ordinarily be installed with a response file, unattended).  NWINST.CM1 is actually a REXX 
  657. program which mimics the behavior of Novell's own installation program.  The second key feature is in 
  658. START1.CM1 and uses NetWare's USERLIST command to determine a network adapter's universally 
  659. administered address.  (In an IBM LAN Server environment, these workarounds are not required.  Every 
  660. component is CID enabled for that environment, and the universal address is determined automatically by 
  661. MPTS.)
  662.  
  663. Here is a directory of the files attached:
  664.  
  665. NWINST1.CM1             NetWare client "response file"
  666. START1.CM1              Initial startup after NetWare client is installed
  667. MPTS.RSP        Response file for MPTS component
  668. TCPIP.RSP               Response file for TCP/IP component
  669.  
  670. The following section notes the required changes and/or additions to the regular OS/2 Warp response file 
  671. for installation of the base software.  It assumes network drive O ("Oh") is the source for installation files.
  672.  
  673. **************************************************************
  674. *                                                            *
  675. * UserExit                                                   *
  676. *                                                            *
  677. *    Specifies the name of a program that Install will       *
  678. *    DosExec before exiting memory.  Install waits for the   *
  679. *    program to return.  This keyword may occur more than    *
  680. *    once.  Each will be executed in the order that they     *
  681. *    appear at the end of OS/2 Install.                      *
  682. *                                                            *
  683. *    Valid Parms:                                            *
  684. *                                                            *
  685. *       KEYVALUE=user exit program name (DEFAULT=none)       *
  686. *                                                            *
  687. **************************************************************
  688. UserExit=O:\CMD.EXE /C COPY O:\NWINST.CM1 C:\NWINST.CMD
  689. UserExit=C:\NWINST.CMD
  690. UserExit=O:\CMD.EXE /C COPY O:\START1.CM1 C:\STARTUP.CMD
  691.  
  692.  
  693. -- NWINST.CM1 --
  694.  
  695. /* Licensed materials - Property of IBM */
  696. /* (c) Copyright IBM Corp 1995.  All rights reserved. */
  697. /* Sample Netware Requester Install Command File */
  698. /* Takes three parameters: logname, CIDPath, and TargDrv */
  699.  
  700. /* First get addressability to the required source directories and */
  701. /* target workstation */
  702.  
  703. Parse upper arg logname CIDPath TargDrv
  704.  
  705. msgfile = 'OSCINST.MSG'
  706.  
  707. if CIDPath = '' then CIDPath = 'O:\CID\'
  708. os2drv = 'c:'
  709. ''os2drv
  710. CFG_SYS = os2drv'\CONFIG.SYS'
  711.  
  712. call RxFuncAdd 'SysLoadFuncs','RexxUtil','SysLoadFuncs'
  713. call SysLoadFuncs
  714.  
  715. A=0
  716. do until lines(CFG_SYS) = 0
  717.   A = A+1
  718.   CFG_SYS.A = LineIn(CFG_SYS)
  719.   end
  720. call stream CFG_SYS,'C','CLOSE'
  721.  
  722. /* Scan for Netware indicator in config.sys */
  723. nwpath = ''
  724. do i = 1 to A
  725.    parse upper var CFG_SYS.i kw'='kwval
  726.    if kw='DEVICE' & pos('\LSL.SYS',kwval) > 0 then do     /* Netware found */
  727.       nwpath = strip(left(kwval,pos('\LSL.SYS',kwval)-1)) /* Install here */
  728.       nwdrv = left(nwpath,2)                             /* even if different */
  729.                                                          /* from user select */
  730.       end
  731. end
  732.  
  733. /* For now do not try to upgrade existing installed NetWare */
  734. if nwpath \= '' then do
  735.     err1.1 = SysGetMessage(209,msgfile)
  736.     err1.2 = ""
  737.     call errout 209
  738.     end
  739.  
  740. /* Setup NetWare drive and path */
  741. if nwpath = '' then do
  742. /* Netware not installed here */
  743.      if TargDrv = '' then TargDrv = 'C'
  744.      nwdrv = TargDrv
  745.      nwdrv = strip(nwdrv)||':'
  746.      nwpath = nwdrv||'\NETWARE'
  747.      end
  748.  
  749. /* Save the user's CONFIG.SYS and load the NetWare image on */
  750. /* workstation. */
  751.  
  752. "copy" CFG_SYS os2drv'\CONFIG.NVL 1>nul 2>nul'
  753. 'xcopy 'CIDPath'IMG\NWREQ\NETWARE 'nwpath'\ /s/e/v'
  754.  
  755. /* Check for NET.CFG file, Don't change an existing one */
  756. net_cfg = SysSearchPath('DPATH','NET.CFG')
  757. if net_cfg = '' then do
  758.   'copy 'CIDPath'IMG\NWREQ\NET.CFG 'os2drv'\NET.CFG 1>nul 2>nul'
  759.   end
  760.  
  761. /* See if WINOS2 is installed */
  762. winpath = os2drv||'\OS2\MDOS\WINOS2'
  763. wininst = 'NO'
  764. if stream(winpath'\WIN.COM','C','query exists') \= '' then wininst = 'YES'
  765.  
  766. /* Get the additional NetWare config.sys statements */
  767. b=0
  768. NVL_SYS = CIDPath'IMG\NWREQ\NETWARE.DAT'
  769. do until lines(NVL_SYS) = 0
  770.    B = B+1
  771.    NVL_SYS.B = LineIn(NVL_SYS)
  772.    end
  773. call stream NVL_SYS,'C','CLOSE'
  774.  
  775. /* Substitute real drives for parameterized drives in NetWare statements */
  776. do i = 1 to b
  777.    if lastpos('&NWPath',NVL_SYS.i) \= 0 then do
  778.       t1 = NVL_SYS.i
  779.       parse var t1 f1'&NWPath'l1
  780.       NVL_SYS.i = f1||nwpath||l1
  781.    end
  782.    else if lastpos('&OS2Drv',NVL_SYS.i) \= 0 then do
  783.       t1 = NVL_SYS.i
  784.       parse var t1 f1'&OS2Drv'l1
  785.       NVL_SYS.i = f1||os2drv||l1
  786.    end
  787. end
  788.  
  789. /* Modify the CONFIG.SYS file with the NetWare statements */
  790. c=0
  791. VemmFound = 'NO'
  792. BindFound = 'NO'
  793. Do i = 1 to a
  794.    c = c+1
  795.    CFG_SYS.i = strip(CFG_SYS.i,t)
  796.    parse var CFG_SYS.i CFG_Stmt '=' MIDDLE 'OS2\' STMT
  797.  
  798.    if strip(CFG_Stmt) = 'LIBPATH' then do
  799.       if right(CFG_SYS.i,1) \== ';' then CFG_SYS.i = CFG_SYS.i || ';'
  800.       CFG_SYS.i = CFG_SYS.i ||nwpath';'nwpath'\NLS\ENGLISH;L:\OS2;P:\OS2;'
  801.       end
  802.    if strip(CFG_Stmt) = 'SET PATH' then do
  803.       if right(CFG_SYS.i,1) \== ';' then CFG_SYS.i = CFG_SYS.i || ';'
  804.       CFG_SYS.i = CFG_SYS.i ||nwpath';L:\OS2;P:\OS2;'
  805.       end
  806.    if strip(CFG_Stmt) = 'SET DPATH' then do
  807.       if right(CFG_SYS.i,1) \== ';' then CFG_SYS.i = CFG_SYS.i || ';'
  808. CFG_SYS.i = CFG_SYS.i ||nwpath';'nwpath'\NLS;'nwpath'\NLS\ENGLISH;L:\NLS;P:\NLS'
  809.       end
  810.    if strip(CFG_Stmt) = 'SET HELP' then do
  811.       if right(CFG_SYS.i,1) \== ';' then CFG_SYS.i = CFG_SYS.i || ';'
  812.       CFG_SYS.i = CFG_SYS.i ||nwpath'\NLS\ENGLISH;'
  813.       end
  814.    if lastpos('VEMM.SYS',STMT) \= 0 & VemmFound = 'NO' & wininst = 'YES' then do
  815.       VemmFound = 'YES'
  816.       do j = 1 to 2
  817.          New_CFG.c = NVL_SYS.j
  818.          c = c+1
  819.       end
  820.       end
  821.    if strip(CFG_Stmt) = 'RMSIZE' & BindFound = 'NO' then do
  822.        /* Insert the NetWare CONFIG.SYS statements ahead of the */
  823.        /* RMSIZE statement. */
  824.       BindFound = 'YES'
  825.       do j = 4 to b
  826.          New_CFG.c = NVL_SYS.j
  827.          c=c+1
  828.       end
  829.       end
  830.    New_CFG.c = CFG_SYS.i
  831. end
  832.  
  833. /* Write out the new CONFIG.SYS */
  834. k=1
  835. call lineout CFG_SYS,,1
  836. do until New_CFG.k = 'NEW_CFG.'||k
  837.     call lineout CFG_SYS,New_CFG.k
  838.     k=k+1
  839.     end
  840. call stream CFG_SYS,'c','close'
  841.  
  842. /* Add the hidden install file to the root of the OS/2 drive */
  843. ''CIDPath'exe\os2\attrib -h 'os2drv'\nwinst.dat 1>nul 2>nul'
  844. nwinstin=linein(CIDPath||'IMG\NWREQ\nwinst.dat')
  845. call stream CIDPath||'IMG\NWREQ\nwinst.dat','C','CLOSE'
  846. nwinstout = translate(nwpath)||right(nwinstin,length(nwinstin)-length(nwpath))
  847. 'del 'os2drv'\NWINST.DAT 1>nul 2>nul'
  848. call charout os2drv'\NWINST.DAT',nwinstout
  849. call charout os2drv'\NWINST.DAT'
  850. ''CIDPath'exe\os2\attrib +h 'os2drv'\nwinst.dat 1>nul 2>nul'
  851.  
  852. /* If WinOS2 is installed finish the installation of Windows support */
  853. if wininst = 'YES' then do
  854.    'XCopy 'CIDpath'IMG\NWREQ\SYSTEM 'OS2drv'\OS2\MDOS\WINOS2\SYSTEM\ /V'
  855.  
  856. /* Update the AUTOEXEC.BAT with NetWare statements */
  857.    autox = OS2Drv || '\AUTOEXEC.BAT'
  858.    autox.1 = OS2Drv||'\OS2\MDOS\WINOS2\SYSTEM\TBMI2.COM'
  859.    autox.2 = nwpath||'\NETX.EXE'
  860.    aa=2
  861.    do until lines(autox) = 0
  862.       aa=aa+1
  863.       autox.aa = linein(autox)
  864.    end
  865.    call stream autox,'C','CLOSE'
  866.  
  867. /* Write new Autoexec.bat */
  868. k=1
  869. call lineout autox,,1
  870. do until autox.k = 'AUTOX.'||k
  871.    call lineout autox,autox.k
  872.      k=k+1
  873. end
  874. call stream autox,'C','CLOSE'
  875.  
  876. /* Update \WINOS2\SYSTEM.INI for NetWare support */
  877.  
  878. /* First read in System.INI */
  879. sys_ini = winpath||'\SYSTEM.INI'
  880. a=0
  881. do until lines(sys_ini) = 0
  882.    a=a+1
  883.    sys_ini.a = linein(sys_ini)
  884. end
  885. call stream sys_ini,'C','CLOSE'
  886.  
  887. /* Now insert the NetWare stuff in the appropriate sections of SYSTEM.INI */
  888. c=1
  889. do i = 1 to a
  890.    new_sys.c = sys_ini.i
  891.    shout = translate(sys_ini.i)
  892.    c = c+1
  893.    if lastpos('[BOOT]',shout) \= 0 then do
  894.       new_sys.c = 'network.drv=netware.drv'
  895.       c=c+1
  896.       end
  897.    if lastpos('[BOOT.DESC',shout) \= 0 then do
  898.       new_sys.c = 'network.drv=Novell NetWare'
  899.       c=c+1
  900.       end
  901.    if lastpos('[386ENH]',shout) \= 0 then do
  902.       new_sys.c = 'FileSysChange=off'
  903.       c=c+1
  904.       end
  905. end
  906.  
  907. /* Write modified SYSTEM.INI */
  908. k=1
  909. call lineout sys_ini,,1
  910. do until new_sys.k = 'NEW_SYS.'||k
  911.    call lineout sys_ini,new_sys.k
  912.    k=k+1
  913. end
  914. call stream sys_ini,'C','CLOSE'
  915. end
  916.  
  917. call nvldsk
  918.  
  919. err1.1=SysGetMessage(215,msgfile,'Novell Update')
  920. err1.2=''
  921. call errout 0
  922. RETURN 0
  923.  
  924. nvldsk:
  925.  
  926. quit: return 0
  927.  
  928. errout:
  929.  
  930. if logname = '' then logname = 'c:\error.out'
  931. parse arg retc
  932.  
  933. if retc \= 0 then do
  934.    say err1.1
  935.    say err1.2
  936.    end
  937.  
  938. err1.0 = 2
  939. rc = stream(logname,'C','QUERY EXISTS')
  940. if rc \= '' then 'del 'logname' 1>nul 2>nul'
  941.  
  942. do i = 1 to err1.0
  943.    call lineout logname,err1.i
  944. end
  945.  
  946. call lineout logname
  947.  
  948. exit retc
  949.  
  950.  
  951. -- START1.CM1 --
  952.  
  953. /* Startup One for CID Install of OS/2 Warp Connect */
  954.  
  955. call RxFuncAdd 'SysLoadFuncs','RexxUtil','SysLoadFuncs'
  956. call SysLoadFuncs
  957.  
  958. /* Initialize key environment variables. */
  959.  
  960. CIDPath = "O:\CID\"
  961. dpathstr = value("DPATH",,"OS2ENVIRONMENT")
  962. dpathstr = translate(dpathstr)
  963. parse var dpathstr first '\OS2\' .
  964. os2drv = right(first,2)
  965. parse var dpathstr first '\NETWARE' .
  966. nwpath = right(first,2)||'\NETWARE'
  967.  
  968. say "The variable OS2DRV is " os2drv
  969. say "The variable NWPATH is " nwpath
  970. say "Ordinarily these should be C: and C:\NETWARE."
  971.  
  972. /* Place mappings/login for NetWare here. */
  973.  
  974. ''nwpath'\LOGIN H260B\H260INST'
  975. ''nwpath'\MAP O:=H260B\SYS:USERS\H260INST\OS2V300'
  976.  
  977. /* This procedure creates the Novell NetWare icons on the desktop. */
  978.  
  979. Classname='WPFolder'
  980. Title='Novell'
  981. Location='<WP_DESKTOP>'
  982. Setup='OBJECTID=<NOVELL_FOLDER>;ICONFILE='nwpath'\NVFLDR.ICO'
  983. result=SysCreateObject(classname,Title,Location,Setup)
  984.  
  985. /* Add the client program */
  986. Classname='WPProgram'
  987. Title='NetWare Client'
  988. Location='<NOVELL_FOLDER>'
  989. Setup='OBJECTID=<NVL_CLIENT>;ICONFILE='nwpath'\NWOS2DOC.ICO;EXENAME='os2drv'\OS2\VIEW.EXE;STARTUP
  990. DIR='nwpath';PARAMETERS='nwpath'\NLS\ENGLISH\OS2BOOK.INF'
  991. result=SysCreateObject(classname,Title,Location,Setup)
  992.  
  993. /* Add the utilities program */
  994. Classname='WPProgram'
  995. Title='NetWare Utilities'
  996. Location='<NOVELL_FOLDER>'
  997. Setup='OBJECTID=<NVL_UTILS>;ICONFILE='nwpath'\NWOS2DOC.ICO;EXENAME='os2drv'\OS2\VIEW.EXE;STARTUPD
  998. IR='nwpath';PARAMETERS='nwpath'\NLS\ENGLISH\OS2UTIL.INF'
  999. result=SysCreateObject(classname,Title,Location,Setup)
  1000.  
  1001. /* Add the install program */
  1002. Classname='WPProgram'
  1003. Title='Install'
  1004. Location='<NOVELL_FOLDER>'
  1005. Setup='EXENAME='nwpath'\INSTALL.EXE;STARTUPDIR='nwpath';OBJECTID=<NVL_INSTALL>'
  1006. result=SysCreateObject(classname,Title,Location,Setup)
  1007.  
  1008. /* Add the NetWare Printer program */
  1009. Classname='WPProgram'
  1010. Title='Network Printer'
  1011. Location='<NOVELL_FOLDER>'
  1012. Setup='EXENAME='nwpath'\NPRINTER.EXE;STARTUPDIR='nwpath';OBJECTID=<NVL_NPRINTER>'
  1013. result=SysCreateObject(classname,Title,Location,Setup)
  1014.  
  1015. /* Add the Tools program */
  1016. Location='<NOVELL_FOLDER>'
  1017. Setup='EXENAME='nwpath'\NWTOOLS.EXE;STARTUPDIR='nwpath';OBJECTID=<NVL_TOOLS>'
  1018. result=SysCreateObject(classname,Title,Location,Setup)
  1019.  
  1020. /* Find out current Token Ring address (Universally Administered) */
  1021. /* Must have NetWare Public Directory Active */
  1022. 'DEL 'OS2Drv'\MPTS.RSP'
  1023. 'USERLIST /A > 'OS2Drv'\TOKADDR.TMP'
  1024.  
  1025. /* Read in the file created by USERLIST */
  1026. TOKADDR = os2drv'\TOKADDR.TMP'
  1027. A=0
  1028. do until lines(TOKADDR) = 0
  1029.    A = A+1
  1030.    TOKADDR.A = LineIn(TOKADDR)
  1031. end
  1032. call stream TOKADDR,'C','CLOSE'
  1033.  
  1034. /* Parse USERLIST output */
  1035. do i = 1 to A
  1036.     parse upper var TOKADDR.i toss1 toss2 '[' toss3']' '['toss4']' .
  1037.     if left(strip(toss2),1)='*' then tokennum=toss4
  1038. end
  1039.  
  1040. say "The Token Ring address is: "tokennum
  1041.  
  1042. /* Now read in MPTS.RSP in order to insert Token Ring address. */
  1043. MPTS='O:\MPTS.RSP'
  1044. A=0
  1045. do until lines(MPTS) = 0
  1046.     A = A+1
  1047.     MPTS.A = LineIn(MPTS)
  1048. end
  1049. call stream MPTS,'C','CLOSE'
  1050.  
  1051. do i = 1 to A
  1052.     parse upper var MPTS.i toss1'='toss2 .
  1053.     if strip(toss1)='NETADDRESS' & strip(toss2)='UNIVERSAL' then
  1054.          MPTS.i = '    NETADDRESS="T'tokennum'"'
  1055. end
  1056.  
  1057. /* Write out the new MPTS.RSP */
  1058. NEWMPTS=OS2Drv'\MPTS.RSP'
  1059. call stream NEWMPTS,'C','OPEN'
  1060. do i = 1 to A
  1061.     call lineout NEWMPTS,MPTS.i
  1062. end
  1063. call stream NEWMPTS,'c','close'
  1064.  
  1065. /* Install MPTS with Response File */
  1066.  
  1067. ''CIDPath'IMG\LAPS\MPTS.EXE /E:PROD /R:'OS2Drv'\MPTS.RSP /TU:'OS2Drv'\ /S:'CIDPath'IMG\LAPS 
  1068. /L1:'OS2Drv'\OS2\INSTALL\MPTS.LOG'
  1069.  
  1070. /* Install TCP/IP with Response File */
  1071.  
  1072. ''CIDPath'IMG\TCPAPPS\INSTALL.EXE /b- /R:O:\TCPIP.RSP /S:'CIDPath'IMG\TCPAPPS 
  1073. /L1:'OS2Drv'\OS2\INSTALL\TCPIP.LOG'
  1074.  
  1075. /* Remove NetBIOS */
  1076. /* (You can prevent a user from activating any protocol by deleting its */
  1077. /* .NIF file.) */
  1078.  
  1079. 'DEL 'OS2Drv'\IBMCOM\PROTOCOL\NETBEUI.NIF'
  1080.  
  1081. /* Clean up */
  1082.  
  1083. 'DEL 'OS2Drv'\NWINST.CMD'
  1084. 'DEL 'OS2Drv'\ERROR.OUT'
  1085. 'DEL 'OS2Drv'\MPTS.RSP'
  1086.  
  1087. /* Self-destruct */
  1088.  
  1089. 'DEL 'OS2Drv'\STARTUP.CMD'
  1090. 'EXIT'
  1091.  
  1092.  
  1093. -- MPTS.RSP --
  1094.  
  1095. INST_SECTION = (
  1096.     UPGRADE_LEVEL = NEW
  1097.     INSTALL = PRODUCT
  1098. )
  1099.  
  1100. PROTOCOL = (
  1101. [PROT_MAN]
  1102.  
  1103.     DriverName = PROTMAN$
  1104.  
  1105. [IBMLXCFG]
  1106.  
  1107.     IBMTOK_nif = IBMTOK.nif
  1108.     ODI2NDI_nif = ODI2NDI.NIF
  1109.     TCPIP_nif = TCPIP.nif
  1110.     LANDD_nif = LANDD.NIF
  1111.  
  1112. [LANDD_nif]
  1113.  
  1114.     DriverName = LANDD$
  1115.     Bindings = IBMTOK_nif
  1116.     ETHERAND_TYPE = "I"
  1117.     SYSTEM_KEY = 0x0
  1118.     OPEN_OPTIONS = 0x2000
  1119.     TRACE = 0x0
  1120.     LINKS = 125
  1121.     MAX_SAPS = 5
  1122.     MAX_G_SAPS = 0
  1123.     USERS = 5
  1124.     TI_TICK_G1 = 255
  1125.     T1_TICK_G1 = 15
  1126.     T2_TICK_G1 = 3
  1127.     TI_TICK_G2 = 255
  1128.     T1_TICK_G2 = 25
  1129.     T2_TICK_G2 = 10
  1130.     IPACKETS = 200
  1131.     UIPACKETS = 100
  1132.     MAXTRANSMITS = 6
  1133.     MINTRANSMITS = 2
  1134.     TCBS = 64
  1135.     GDTS = 30
  1136.     ELEMENTS = 800
  1137.  
  1138. [IBMTOK_nif]
  1139.  
  1140.     DriverName = IBMTOK$
  1141.     ADAPTER = "PRIMARY"
  1142.     MAXTRANSMITS = 12
  1143.     RECVBUFS = 2
  1144.     RECVBUFSIZE = 256
  1145.     XMITBUFS = 1
  1146.  
  1147. [TCPIP_nif]
  1148.  
  1149.     DriverName = TCPIP$
  1150.     Bindings = IBMTOK_nif
  1151.  
  1152. )
  1153.  
  1154. MPTS = (
  1155. [CONTROL]
  1156.    Local_IPC = YES
  1157.    INET_Access = YES
  1158.    NETBIOS_Access = NO
  1159. [IFCONFIG]
  1160.    Interface = 0
  1161.    Address =
  1162.    Brdcast =
  1163.    Dest =
  1164.    Enable = UP
  1165.    Netmask =
  1166.    Metric = 0
  1167.    Mtu = 4136
  1168.    Trailers = NO
  1169.    Arp = NO
  1170.    Bridge = NO
  1171.    Snap = NO
  1172.    Allrs = NO
  1173.    802.3 = NO
  1174.    lcmpred = NO
  1175.    Canonical = NO
  1176. [ROUTE]
  1177.    Type =
  1178.    Action =
  1179.    Dest =
  1180.    Router =
  1181.    Metric =
  1182. )
  1183.  
  1184. RESOLV = (
  1185.    NAME =
  1186.    NAME =
  1187. )
  1188.  
  1189. PROT_SECTION = (
  1190.     NIF = ODI2NDI.NIF
  1191.     SECTION_NAME = ODI2NDI_NIF
  1192.     DRIVERNAME = odi2ndi$
  1193.     BINDINGS = IBMTOK_NIF
  1194.     NETADDRESS=UNIVERSAL
  1195.     TOKEN-RING = "yes"
  1196.     TOKEN-RING_SNAP = "no"
  1197.     ETHERNET_802.3 = "no"
  1198.     ETHERNET_802.2 = "no"
  1199.     ETHERNET_II = "no"
  1200.     ETHERNET_SNAP = "no"
  1201.     TRACE = 0x0
  1202. )
  1203.  
  1204. PROT_SECTION = (
  1205.     NIF = IBMTOK.NIF
  1206.     SECTION_name = IBMTOK_NIF
  1207.     DRIVERNAME = IBMTOK$
  1208. )
  1209.  
  1210.  
  1211. -- TCPIP.RSP --
  1212.  
  1213. // Default response file for PRODUCT DISK install
  1214. INSTALL_WPS=Y
  1215. //IPADDR=162.131.139.00
  1216. //NETMASK=255.255.240.0
  1217. //ROUTE=162.131.139.1
  1218. //HOSTNAME=genuser
  1219. //DOMAIN=
  1220. //DNS_DOMAIN=
  1221. //NAMESERVER=
  1222. //NAME_SERVER=
  1223. CONFIGURE_TCP=Y
  1224. ATTENDED=N
  1225. TARGET_PATH=C:\TCPIP
  1226.  
  1227. // Default response file for PRODUCT DISK install
  1228.  
  1229. INSTALL_TITLE = TCP/IP for OS/2 Client
  1230.  
  1231. INSTALL_NAME = BASE 8.48   1 4 "Client Kit"  Base TCP/IP Applications
  1232. INSTALL_NAME = INET 3.59   5 6 "Client Kit"  Feature TCP/IP Applications
  1233. INSTALL_NAME = DBOX  1.77  7 7 "Client Kit"  DOS\Windows Access
  1234. INSTALL_NAME = UMAIL 4.51  7 8 "Client Kit"  UltiMail Lite
  1235.  
  1236. EXEC = BASE call clntxt
  1237. EXEC = DBOX call dboxxt
  1238. EXEC = UMAIL call umlitext
  1239.  
  1240.