home *** CD-ROM | disk | FTP | other *** search
/ Kosovo Orphans' Appeal Charity CD / KosovoOrphansAppeal.iso / commercialdemos / warmsilencesoftware / lanman98_demo / readme < prev   
Text File  |  1999-01-27  |  16KB  |  374 lines

  1.                !LanMan98
  2.                =========
  3.  
  4. !LanMan98 is a program for networking Acorn computers, running RiscOS with
  5. PCs, running Windows 95, 98, NT, etc.  It allows users of RiscOS based
  6. machines full access to remote PC shares.  That is the same role fulfilled by
  7. LanManFS under !Omniclient, but !LanMan98 offers four advantages over the
  8. older system.
  9.  
  10. * !LanMan98 allows files to be displayed and accessed via their long file
  11.   names, rather than the garballed, backward-compatibility DOS names.
  12.  
  13. * !LanMan98 is very much faster than LanManFS across TCP/IP (although it is
  14.   not quite as fast as LanManFS across NetBEUI.
  15.  
  16. * !LanMan98 prevents the common time-out problems when connected to
  17.   Windows NT servers.
  18.  
  19. * !LanMan98 allows use of long file names when a PC is used as a RiscOS file
  20.   server.
  21.  
  22. * !LanMan98 allows shares to be accessed across the internet.
  23.  
  24. * !LanMan98 is the only TCP/IP-based file system that can tolerate file
  25.   accesses under callback.  Because of this, Fresco does not need to be
  26.   patched to function correctly on discless machines, and can work more
  27.   efficiently.
  28.  
  29.  
  30. !LanMan98 can be used as a stand alone system; it can be used with !NTFiler;
  31. or it can be used with !Omniclient as a partial replacement for LanManFS. 
  32. (See the section on installation for the setting up procedure for the two
  33. different styles of use).
  34.  
  35.  
  36. !LanMan98 implements the CIFS (Common Internet File System) protocol, which
  37. has arisen out of microsoft's earlier SMB protocol (the protocols used by
  38. LanManFS).  There are people working towards standardising CIFS, for the more
  39. general use suggested by the expanded form of its name, and there are already
  40. servers written for a large number of different platforms; so you may find
  41. uses for !LanMan98 other than just communication between RiscOS and Windows. 
  42. On the other hand, the current situation is a terrible mess, with the Windows
  43. 95 and NT servers being so different that they cannot be driven in a
  44. consistent way.  Certainly, users must realise that this version of !LanMan98
  45. was written for communication with Windows 95, Windows NT, Windows 98 and
  46. SAMBA only; success with any other server should be considered as a
  47. fortuitous event.
  48.  
  49.  
  50. Prerequisites
  51. =============
  52.  
  53. * All machines running !LanMan98 must be correctly set up to use TCP/IP.
  54.  
  55. * All PC servers to which access is required must be running TCP/IP, and must
  56.   have "File and print sharing via TCP/IP" enabled.
  57.  
  58.  
  59. Installation for use with !Omniclient or !NTFiler
  60. =================================================
  61. In the same directory as this file you are now reading you will see the main
  62. !LanMan98 application, and two subdirectories called "StandAlone" and
  63. "Restore".  Drag the !LanMan98 application to a sutiable directory on your
  64. hard disc, and ignore the contents of the two subdirectories: you do not need
  65. them.  Whenever you wish to use !LanMan98 just double-click the application,
  66. or better still place the application in your !Boot, inside the
  67. Choices.Boot.Tasks directory, so that it will be invoked automatically when
  68. you switch on your computer.
  69.  
  70.  
  71. Installation for use with neither !Omniclient nor !NTFiler
  72. ==========================================================
  73. Follow the directions for use with !Omniclient, and then open the
  74. subdirectory called "StandAlone".  You will see what seems to be a second
  75. copy of the !LanMan98 application.  In fact, it is just a skeleton containing
  76. the few extra files required for stand-alone use.  Copy this to the same
  77. directory that you copied the main application.  As with the !Omniclient
  78. integrated version, you simply need to double-click the !LanMan98 application
  79. when you wish to use it, or place it in your !Boot.
  80.  
  81.  
  82. Using !LanMan98 with !Omniclient
  83. ================================
  84. !LanMan98 is not able to browse your network (i.e., it cannot automatically
  85. produce a list of all the shares visible from your machine).  However, if you
  86. have LanManFS (as you may well do if you are running !Omniclient) then
  87. !LanMan98 can make use of LanManFS's browsing capabilities.  This being the
  88. case, each auto-detected PC share on your local network will appear twice in
  89. !Omniclient's "FS list", once with the usual LanManFS icon, and secondly with
  90. a more colourful icon.  To access a mount via LanManFS, double-click the old
  91. grey icon; to access a mount via LanMan98, double-click the more colourful
  92. one.  Also from !Omniclient's main menu, you can follow "Mounts", "Protocols"
  93. and then click "LanMan98"; this opens a dialogue box into which to type the
  94. details of the share to be mounted.
  95.  
  96.  
  97. Using !LanMan98 with !NTFiler
  98. =============================
  99. !NTFiler will automatically detect the presence of !LanMan98 and make use of
  100. it exeactly as would use LanManFS.
  101.  
  102.  
  103. Using !LanMan98 with neither !Omniclient nor !NTFiler
  104. =====================================================
  105. When you double-click the !LanMan98 application (or on computer startup,
  106. should you have !LanMan98 in your boot sequence), an unnamed icon will appear
  107. on the left of the icon bar.  This is !LanMan98 in its dormant state.
  108.  
  109. To connect to a share for the first time, click the middle button on the bar
  110. icon and select "New...".  This will open a dialogue box, via which you can
  111. provide details of the share.  For the "Local name", you choose a name by
  112. which you wish the share to be known on the RiscOS side.  For "Server", you
  113. must supply the name of the machine on which the remote share resides.  And
  114. for "Share" you must supply the name of that share as known to the remote
  115. machine.  Some shares will require "User name" and/or "Password" to be filled
  116. in; others will not.
  117.  
  118. Now click the "Connect" button.  If a connection is successfully made then
  119. the unnamed icon dissappears, and a new icon appears carrying below it your
  120. chosen local name for the share.  You can simply click SELECT on the new icon
  121. to open a filer window on the root directory of the share, and then use it
  122. just as you would any other disc accessible by your machine.
  123.  
  124. Repeat the instruction in the above two paragraphs for each share to which
  125. you need access.  Each will present itself as a new icon on the icon bar.
  126.  
  127. The typing in of the share's details is necessary only when you first connect
  128. to it.  Each successfully connected share is remembered by !LanMan98.  To see
  129. the known shares, click SELECT on the unnamed icon (when !LanMan98 is
  130. dormant), click ADJUST on any of !LanMan98's disc icons, or select "Show
  131. discs" from the menu.  A filer window will open showing all the known shares;
  132. you simply need double-click them to reform the connections (you can also
  133. drag groups of them to the icon bar for fast forming of connections to
  134. multiple shares).  If a password was provided at the last time of connection
  135. to a share then the password is not remembered, but the fact that a password
  136. was given is remembered, and the usual "Connect" dialogue box appears, with
  137. all but the password filled in.
  138.  
  139.  
  140. File types
  141. ==========
  142. Within the !LanMan98 application is a file named "Mappings".  The lines of
  143. that file specify a mapping from DOS name extensions to RiscOS file types. 
  144. You can alter this file, but it is probably best not to make a habit of it. 
  145. The mappings have two effects.  They determine the RiscOS file type for files
  146. that originate from the PC, and they control whether files originating from
  147. RiscOS need to have file type information hidden in their names.
  148.  
  149. For example:
  150.  
  151. The file xxx.txt created on the PC will appear as xxx.txt from LanMan98 and
  152. with file type "Text", because the Mappings file takes the extension txt to
  153. the hexidecimal number &fff, which is the RiscOS code for "Text".
  154.  
  155. Likewise, a file xxx.txt with file type "Text" created with LanMan98 will
  156. appear on the PC as xxx.txt.
  157.  
  158. But a file xxx.txt created with file type "Data" appears on the PC as
  159. xxx.txt,ffd  The ",ffd" part recording the file type (&ffd is the RiscOS code
  160. for "Data").
  161.  
  162. The general rule is, leave the mapping file alone, and things will work
  163. without you having to think about it, but if you often change the Mappings
  164. file be careful.  One important case: if you backup your PC via LanMan98 then
  165. you should save the Mappings file with the backup, because it is essential
  166. that the same Mappings file is used when Restoring the backup.
  167.  
  168. For people who desperately want to avoid the hidden RiscOS, file-type codes
  169. being tagged to file names, LanMan98 provides a way to avoid them through use
  170. of special fields.  For example, if you have a share mounted with name PC1
  171. say then typing, at the command line,
  172.  
  173.   *Filer_OpenDir LanMan98#notypes::PC1.$
  174.  
  175. will open a filer window via which files can be created without the hidden
  176. type codes being being appended to the file names, and within which any already existing type codes are visible made visible.
  177.  
  178.  
  179. Hidden files
  180. ============
  181. In its default configuration, LanMan98 respects the DOS hidden file
  182. attribute, and will not display or allow access to hidden files.  To override
  183. this behaviour, and obtain access to hidden files, set the system variable
  184. LanMan98$ShowHidden (any value will do).  There is already a commented out
  185. line in the !Run file that does this.  Once the variable is set, all
  186. subsequently made connections will allow access to hidden files.
  187.  
  188.  
  189. Accessing shares across the internet
  190. ====================================
  191. An additional feature of LanMan98, over those provided by the original
  192. LanManFS, is that you can mount remote machines via the internet.  To do this
  193. you must specify the internet address of the server as well as its name.  For
  194. an example of how to do this, we'll use SUN Microsystem's doc.ic.ac.uk site.
  195.  
  196. The share name is
  197.  
  198.     \\sunsite\packages
  199.  
  200. If this was on you local network, you could access it with !Omniclient by
  201. using
  202.  
  203.     SUNSITE
  204.  
  205. as the "Server", and
  206.  
  207.     packages
  208.  
  209. as the "Share".
  210.  
  211. But across the internet "SUNSITE" isn't enough to find it.  You also need to
  212. specify that the internet address as being sunsite.doc.ic.ac.uk.  LanMan98
  213. will accept this extra information, surrounded by angle brackets, appended to
  214. the server name.  So you should use
  215.  
  216.     SUNSITE<sunsite.doc.ic.ac.uk>
  217.  
  218. as the server name.
  219.  
  220.  
  221. Remote printing
  222. ===============
  223. If you are using !LanMan98 with !Omniclient, and you have the LanManFS module
  224. loaded then carry on as you did before; !LanMan98 will not stand in the way
  225. of remote printing through !Omniclient.
  226.  
  227. If you are using !LanMan98 in stand-alone mode then you should use a slightly
  228. different procedure.  Consider the case where you have a PC called "PC1" that
  229. allows access to a printer under the share name "EPSON".  You should set up
  230. !Printers as though you had a printer of the type in question directly
  231. connected to your computer, accept when filling in the details of the
  232. "Connections" dialogue box.  Here you should check the "File" radio button
  233. and type in, as the file name
  234.  
  235.     LanMan98#printer;PC1;EPSON:
  236.  
  237. Every character in this file name is important including the ":" on the end.
  238.  
  239.  
  240. Commands
  241. ========
  242. LanMan98 has commands equivalent to the *Connect, *Disconnect, *LMLogon and
  243. *LMLogoff of LanManFS: they are *Connect98, *Disconnect98, *LMLogon98 and
  244. *LMLogoff98.
  245.  
  246.  
  247. Interaction with Fresco
  248. =======================
  249. Fresco is slightly unusual in that it accesses files under callback. 
  250. Although this is a perfectly legitimate thing to do, almost all TCP/IP based,
  251. remote file systems are flawed in a way that causes errors under such
  252. conditions.  The file acccesses that are faulted are those to files within
  253. the !Scrap directory; so the problem is manifest only when your !Scrap
  254. directory is on a remote server accessed via TCP/IP.
  255.  
  256. Fresco has been patched to recognise both ShareFS and LanManFS so as to avoid
  257. the problem, although this does mean that it works less efficiently with them.
  258.  
  259. !LanMan98, in its default configuration, suffers in the same way as other
  260. TCP/IP based file systems, but it can be configured to completely solve the
  261. problem (whether for Fresco or for any other call-back-using application). 
  262. To protect !LanMan98 against call backs, you should set the system variable
  263. LanMan98$CallBackPatch; any value will do so long as the variable is set, and
  264. provided the setting of it is performed before the LanMan98 module is loaded. 
  265. There is a line to uncomment in the !Run file specifically for this purpose. 
  266. The patch uses undocumented features of RiscOS and may fail with some
  267. versions of RiscOS or some versions of the Internet module.
  268.  
  269.  
  270. Trouble shooting
  271. ================
  272. If attempts to mount shares give the error message "Cannot find given
  273. server", or if attempts to logon to a domain fail to mount your home
  274. directory, then it may be that your network has a NetBIOS name server and
  275. LanMan98 can't find it.  Try setting the system variable LanMan98$NameServer,
  276. by typing
  277.  
  278.     Set LanMan98$NameServer <IP address>
  279.     
  280. where <IP address> is the network address of the name server in
  281. ddd.ddd.ddd.ddd format.  If you have one particularly powerful PC running
  282. Windows NT, then that is probably the name server.  If this does not solve
  283. the problem, try also typing
  284.  
  285.     RMKill LanManFS
  286.  
  287. It may be that LanManFS is preventing LanMan98 from receiving replies from
  288. the name server.
  289.  
  290. LanMan98 will also look in your "hosts" file to try and find the IP address
  291. of a server, so adding a line in you host file for each of the PCs on your
  292. network might help.
  293.  
  294.  
  295. Licence
  296. =======
  297. !LanMan98 is Copyright ⌐ Warm Silence Software Ltd. 1998 All rights reserved.
  298.  
  299. Full versions of this program are available to registered users ONLY, and may
  300. not be copied except for the purposes of backup, or installation on
  301. harddrives.
  302.  
  303. Site licenses are priced according to number of machines.  Unless explicitly
  304. stated, the version of the software supplied is for a single user only.
  305.  
  306. We hereby reserve the right to take action against any person, persons or
  307. company that infringes the above conditions.  Applications for permission to
  308. distribute contrary to these conditions may be made in writing, or by
  309. electronic mail to the addresses given below.
  310.  
  311. This software is provided 'as is', with no guarantee of its suitability for
  312. any purpose.  While every effort has been made to ensure the stability of
  313. this software, we will accept no responsibility for any data lost while using
  314. this program. NO WARRANTY IS GIVEN!
  315.  
  316.  
  317.  
  318.     Warm Silence Software,
  319.     PO Box 28,
  320.     Woodstock,
  321.     Oxfordshire,
  322.     OX20 1XX
  323.     Tel: 0585 487642
  324.     Email: info@wss.co.uk
  325.  
  326.  
  327. Acknowledgements
  328. ================
  329.  
  330. The author, Paul Gardiner, would like to thank a number of people for help
  331. with the numerous problems that have occured during the development of this
  332. software.
  333.  
  334. * Julian Davison: for much of the initial beta testing, and explaining
  335.   some of the workings of the original LanManFS.
  336.  
  337. * Christian Starkjohann: for a never ending stream of advice on the
  338.   intricacies of the CIFS protocol.
  339.  
  340. * Kevin Bracey: for explaining many details of the workings of TCP/IP.
  341.  
  342. * Keith Hall: for formulating and conducting tests that lead to !LanMan98
  343.   working with Windows NT.
  344.  
  345. * Robin Watts: for sorting out a stupid bug of mine concerning receipt of
  346.   broadcast packets.
  347.  
  348. * Paul Leach: for his part in writing the CIFS specs, and for answering
  349.   many questions on them.
  350.  
  351. * Luke Kenneth Casson Leighton: for much help in understanding CIFS
  352.   browsing.
  353.  
  354. * Microsoft: for freely releasing all details of the CIFS protocol.
  355.  
  356. * Erik Devriendt: for a work around for a bug in Windows 95 servers.
  357.  
  358. * Wookey of Aleph One: for supplying a copy of NetLinks; the initial
  359.   development of !LanMan98 relied totally on using a PC card as a CIFS
  360.   server, and that was possible only through the use of NetLinks.
  361.  
  362. * Julian Smith: for writing MemCheck.  I always like to pretend I don't
  363.   need MemCheck, but in this case it was a life saver.
  364.  
  365. * Neil Bingham: for some nice sprites and improvements to the Mappings file,
  366.   and for hunting out the last few important bugs (they seemed like the last
  367.   few at the time).
  368.  
  369. * Paul Corke: for the "notypes" special field idea.
  370.  
  371. * Tim Howarth: for weeks of help making LanMan98 work with NTFiler, and then
  372.   yet more help with loads of newly uncovered bugs and bad design decisions
  373.   that he noticed.  Also, for loads of suggestions, most now implemented.
  374.