home *** CD-ROM | disk | FTP | other *** search
/ Caldera Network Desktop 1.0 / caldera-network-desktop-1.0.bin / doc / HOWTO / mini / Stacker < prev    next >
Internet Message Format  |  1994-09-05  |  6KB

  1. From: corey@bbs.xnet.com (Corey Sweeney)
  2. Subject: mounting stackered drives.
  3.  
  4. Hello.  I read in a FAQ that it's not possible to mount stackered drives for
  5. linux, So i figured i'd correct this myth right now.
  6.  
  7.  
  8. The following is a method of mounting any type of filesystem that you can mount
  9. under dos, for linux.  It's quite slow, and should not be used as a permanant
  10. filesystem, untill someone finds a faster way.  It could be usefull for moving
  11. all your old dos files compressed on a volume over to the linux filesystem
  12. though.
  13.  
  14. Please don't ask me if you have troubles with this, because i haven't tried it
  15. yet.
  16.  
  17.  
  18.  
  19.  
  20. From: johannes@titan.westfalen.de (Johannes Stille)
  21. Subject: accessing Netware and compressed DOS drives with dosemu+SOSS
  22. Date: Fri, 22 Apr 1994 00:49:46 +0300
  23.  
  24.  
  25.  
  26. Hello everyone, hello James MacLean!
  27.  
  28.  
  29. Just as a test, I have done what I proposed:
  30. I run SOSS under dosemu, using a SLIP connection over a pseudo tty.
  31.  
  32. With this setup, it would be possible to access stackered/doublespaced/
  33. superstored DOS drives as well as Novell Netware servers from Linux. I
  34. have neither, so I can't try it out, but there is no reason for this not
  35. to work.
  36.  
  37. The SLIP connection over an emulated serial device is very slow. On a
  38. 486/33 I got about 1.3 KB/s. If there is sufficient interest, I'd try to
  39. write a special network driver for Linux and a special packet driver
  40. that directly connects to the Linux driver, this would be very much
  41. faster.
  42.  
  43. So if the method described below is useful for you, please tell me so.
  44. One the one hand, I'd like to hear about success/problems with
  45. compressed drives and with Netware, on the other hand, the more people
  46. mail me, the more I will be inclined to write the faster drivers.
  47.  
  48.  
  49. Here is what you need to do:
  50.  
  51. 0. Some of the instructions might be slightly inaccurate, as I use
  52. non-standard networking code. But most probably these instructions are
  53. not affected by the differences.
  54.  
  55.  
  56. 1. You should have a Linux system with a current kernel and the current
  57. network utilities. You especially should have slattach (dip will
  58. probably work, but is not really made for this kind of connection). If
  59. you don't have slattach, get the net-0.32b package from
  60. sunacm.swan.ac.uk (don't know the exact directory).
  61.  
  62. You also should have a current release of dosemu. What is really needed
  63. is the serial port emulation. Also, if you want to access a Netware
  64. server, you need the linpkt support.
  65.  
  66.  
  67. 2. You need the ETHERSLIP driver from the Crynwr packet driver
  68. collection. I found it in a file "pktd11b.zip" on some ftp server.
  69.  
  70. And of course you need the SOSS NFS server. I found it in a file
  71. "soss32.zip" on some ftp server.
  72.  
  73.  
  74. 3. Set up dosemu. If you want to access compressed DOS disks or Netware
  75. servers, include the appropriate drivers in your CONFIG.SYS and
  76. AUTOEXEC.BAT. (I don't know the details.)
  77.  
  78.  
  79. 4. Now edit the dosemu configuration file to contain something like
  80. this:
  81.  
  82. serial { mouse device /dev/cua0 }
  83. serial { modem device /dev/ttypf }
  84.  
  85. Of course, the first of these lines should be adapted to your needs (but
  86. not left out). The second line is the important part! This assumes that
  87. you never use 15 pseudo-terminals at the same time. If this isn't true
  88. for your situation (e.g. many users logged in over the net at the same
  89. time), use some higher numbered pseudo terminal here and in step 9, but
  90. for any usual configuration, ttypf will do.
  91.  
  92.  
  93. 5. Under dosemu, extract ethersl.com from the packet driver collection.
  94. I propose to put this file into the root directory of your dosemu boot
  95. disk.
  96.  
  97. Also, from SOSS extract the files soss.exe, custom.exe, netdev.sys, and
  98. export.us. I propose to put them in C:\SOSS.
  99.  
  100.  
  101. 6. Under dosemu, change into C:\SOSS. Now execute "custom netdev.sys".
  102. Choose "s" for "site configuration".
  103. Now set (a) IP address to 192.0.2.2.
  104. Setup (r) name servers by deleting all of them.
  105. Set (s) subnet bits to 0.
  106. I assume that the other settings don't matter, but if you have problems,
  107. they might be a possible reason.
  108. Go back (ESC) to the main menu.
  109. I again just assume that the hardware settings are ignored, as we will
  110. use a packet driver instead of direct hardware access.
  111. Choose (e) exit and save.
  112.  
  113.  
  114. 7. Edit the CONFIG.SYS file to contain the line
  115. DEVICE=C:\SOSS\NETDEV.SYS,
  116.  
  117. edit AUTOEXEC.BAT to contain:
  118. ETHERSL 0x7e 3 0x2f8 19200,
  119.  
  120. edit C:\SOSS\EXPORT.US to contain a list of drives you want to access
  121. from Linux.
  122. Shutdown dosemu. (It must be restarted before you can use SOSS.)
  123.  
  124.  
  125. Now the preparations are completed. To actually run and access SOSS, do
  126. this:
  127.  
  128.  
  129. 8. In one virtual console start dosemu. Go to C:\SOSS and start SOSS (no
  130. parameters required).
  131.  
  132.  
  133. 9. In a second virtual console, run as root
  134. slattach -p slip -s 19200 /dev/ptypf,
  135. this console will remain occupied by slattach.
  136.  
  137.  
  138. 10. In a third virtual console, do as root:
  139. ifconfig sl0 192.0.2.1 pointopoint 192.0.2.2 mtu 1500
  140. route add 192.0.2.2
  141.  
  142. Mount the SOSS drives, e.g.:
  143. mount -t nfs 192.0.2.2:/c /dosC
  144.  
  145. Now this console can be used again for other purposes.
  146.  
  147.  
  148. You should be able to use the SOSS drives now.
  149.  
  150. 11. To shut down:
  151. Unmount the SOSS drives, then just stop SOSS with ctrl-c, exit dosemu,
  152. stop slattach with ctrl-c. 
  153.  
  154.  
  155.  
  156. Remarks:
  157.  
  158. (a) This example uses IP addresses that to the best of my knowledge are
  159. available for testing purposes etc., you shouldn't use them if you want
  160. to access SOSS from other machines. But that isn't necessary, as you can
  161. mount the drives on the Linux machine and then mount them per NFS on
  162. other machines from the Linux machine.
  163.  
  164. Generally this setup results in two completely independent Internet
  165. nodes just happening to run on the same CPU. You have to configure it
  166. exactly the same way as if you have a real DOS PC connected to your
  167. Linux machine with a real SLIP line. That means either using an
  168. dedicated subnetwork for the SLIP link or using proxy ARP.
  169.  
  170. (b) If you shut down and restart dosemu, you have to restart slattach
  171. and to redo the route command as well, and vice versa. This is not
  172. necessary if you interrupt and restart SOSS without leaving dosemu.
  173.  
  174. (c) I have left out timezone configuration, as I don't know exactly how
  175. it should work (timezone option in CUSTOM, or SOSS interpreting the TZ
  176. variable). If you want to get it right, please read the docs, try it,
  177. and tell me how it really works.
  178.  
  179.  
  180.  
  181. Any comments and corrections (especially from SOSS experts) are welcome.
  182.  
  183.         Johannes
  184.  
  185. /s
  186.  
  187. Corey Sweeney
  188. corey@bbs.xnet.com
  189.  
  190.  
  191.