Re: DOS <--> Linux
According to Shaya Potter:
>
> On Wed, 27 Nov 1996, Matthew Hewitt wrote:
>
> >
> > I am running Debian 1.1. I want to use it as a file server for MSDOS
> > 6.22. I was wondering what can I use to facilitate this. I know that I can
> > use WFWG to connect to the samba server but is there such a thing for
> > MSDOS? I want to be able to boot off a floppy and have the Linux exported
> > directory structure come up as c: . Basically make a Diskless(will sort
> > of) dos station. Anyone hear of anything like this? Or is there a PC-NFS
> > or equievelent in the shareware/freeware domain.
> >
>
> Microsoft at one time made a program that essentialy gave you WfWg
> networking to a dos only machine. However, I haven't seen it anywhere
> for a least a year.
>
[Apology to the list! I do not have Matthew's original message else I
would have sent this rather long response to him directly.]
Matthew -
The program you need is MSCLIENT. I have attached a description of
how to use it which was posted to the Samba List. I have not tried
the MSCLIENT but use WfWg clients with a SMB server on a HP 9000
system for print and file sharing - works great. I consider GNU,
Linux and Samba the absolutely "best" software available.
> Matt Behrens <behrensm@stream.csis.gvsu.edu> wrote (on Samba List):
> What you want to do involves using the NET command, however under WFW for
> some strange reason you can't use the TCP/IP protocol in DOS. You should
> instead get MSClient 3.0 from ftp://ftp.microsoft.com/bussys/Clients (I
> believe) and use it. This will allow you a connection under DOS...
--------------------- MSCLIENT Message from Samba List ----------------------
Date: Sat, 16 Nov 1996 19:05:11 -0300 (GMT-0300)
From: "C. Javier Castro Pena" <jcaspen@linux2.uccor.edu.ar>
To: samba@arvidsjaur.anu.edu.au
Subject: How to make boot disks with MS CLIENT
Message-ID: <Pine.LNX.3.91.961116190429.308A-100000@otraparte.druida.wamani.apc.org>
This small help file is to make a booteable floppy that has MS CLIENT to
access a Samba Server.
I received help in this mailing list to make it work, and here is what I
have done. I hope it helps somebody else.
1)------------- Install MSCLIENT 3.0 in a DOS hard drive.
2)------------- Copy the next files into a DOS formated 3 1/2 floppy:
Volume in drive A is JCASPEN
Directory for A:/
IO SYS 40755 9-30-93 6:20a
MSDOS SYS 38158 9-30-93 6:20a
NET <DIR> 10-24-96 8:38a
COMMAND COM 56539 9-30-93 6:20a
AUTOEXEC BAT 1054 10-24-96 1:06p
CHAU BAT 236 10-24-96 9:05a
CONFIG SYS 443 10-24-96 8:56a
RED BAT 483 10-24-96 9:05a
HIMEM SYS 29280 9-30-93 6:20a
EMM386 EXE 121438 9-30-93 6:20a
SHARE EXE 11040 9-30-93 6:20a
VIRSTOP EXE 48754 8-22-96 2:24a
DOSKEY COM 6022 9-30-93 6:20a
LEAME TXT 537 10-24-96 1:03p
SMARTDRV EXE 45657 9-30-93 6:20a
15 File(s) 11264 bytes free
Volume in drive A is JCASPEN
Directory for A:/NET
<DIR> 10-24-96 8:38a
. <DIR> 10-24-96 8:38a
DHCP PRM 102 8-09-96 8:18p
ADDNAME EXE 19569 8-09-96 8:13p
CONFIG SYS 57 8-09-96 8:15p
CONNECT DAT 0 10-24-96 1:46p
DNR EXE 31312 8-09-96 8:13p
EMSBFR EXE 4294 8-09-96 8:13p
HOSTS 815 8-09-96 8:17p
IFSHLP SYS 4644 8-31-94 12:00a
IPCONFIG EXE 11205 6-12-96 11:41a
LMHOSTS 817 6-12-96 11:41a
NCDINFO INI 182 8-09-96 8:02p
NDISHLP SYS 4468 8-31-94 12:00a
NE2000 DOS 13838 8-31-94 12:00a
NEMM DOS 2619 6-12-96 11:41a
NET EXE 450326 2-07-95 12:40p
NET MSG 76234 3-03-95 7:11p
NETBIND COM 8513 6-12-96 11:41a
NETH MSG 123066 3-03-95 7:12p
NETWORK INF 37231 8-31-94 12:00a
NETWORKS 438 8-09-96 8:17p
NMTSR EXE 22826 6-12-96 11:41a
SYSTEM INI 515 10-24-96 1:47p
OEMDLC INF 688 8-31-94 12:00a
OEMODI INF 431 8-31-94 12:00a
OEMRAS INF 919 8-31-94 12:00a
OEMTCPIP INF 1673 8-31-94 12:00a
SHARES PWL 622 8-09-96 8:15p
PROTMAN DOS 21940 8-31-94 12:00a
PROTMAN EXE 13782 8-31-94 12:00a
PROTOCOL 795 6-12-96 11:41a
PROTOCOL INI 639 10-24-96 12:56p
SERVICES 5973 6-12-96 11:41a
SETUP INF 1477 8-31-94 12:00a
SOCKETS EXE 50096 6-12-96 11:41a
TCPDRV DOS 4174 6-12-96 11:41a
TCPTSR EXE 71040 6-12-96 11:41a
TCPUTILS INI 233 6-12-96 11:41a
TINYRFC EXE 37024 6-12-96 11:41a
UMB COM 3325 6-12-96 11:41a
WCSETUP INF 1477 8-31-94 12:00a
WFWSYS CFG 840 8-09-96 8 :15p
43 File(s) 11264 bytes free
3)------------- Edit the *.INI files in the floppy, and change de PATHS to
the floppy drive name.
4)------------- Change AUTOEXEC.BAT, and CONFIG.SYS. The ones I use are :
CONFIG.SYS:
; Disco para bootear en red a Margarita
[menu]
menuitem=RED-CLINICA
menudefault=RED-CLINICA,0
[common]
device=himem.sys /testmem:off
device=emm386.exe noems
dos=high,umb
files=50
buffers=10
lastdrive = Z
break=on
numlock=on
STACKS=40,256
FCBS=16,0
[red-clinica]
device=A:\net\ifshlp.sys
DEVICE=A:\VIRSTOP.EXE /COPY /BOOT /WARM
AUTOEXEC.BAT
@echo off
prompt $p$g
set comspec=a:\command.com
path=a:\;a:\net;g:\wp51
SET TEMP=a:\
SET TMP=a:\
SHARE.EXE /L:500 /F:100
lh smartdrv.exe 1000
goto %config%
:red-clinica
doskey
a:\net\net initialize
a:\net\netbind.com
a:\net\umb.com
a:\net\tcptsr.exe
a:\net\tinyrfc.exe
a:\net\nmtsr.exe
a:\net\emsbfr.exe
cls
a:\net\net start workstation
rem *********************************************************************
cls
echo þ
echo ** Un momento por favor, mapeando drives del servidor **
echo þ
a:\net\net use e: \\cancer\netlogon
a:\net\net use f: \\cancer\cdrom
a:\net\net use g: \\cancer\temp
a:\net\net use h: \\cancer\homes
cls
echo þ
echo Drives mapeados a los que puede acceder:
echo þ
echo ÿ
a:\net\net use
rem ***********************************************************************
goto end
:end
A:
5)------------- My batch file to connect to the Server:
@echo off
rem Bat para que entre el usuario a la red con cliente
a:
cd\net
del margarit.pwd
cls
net logon
echo þ
echo ** Un momento por favor, mapeando drives del servidor **
echo þ
net use e: \\cancer\netlogon
net use f: \\cancer\cdrom
net use g: \\cancer\temp
net use h: \\cancer\homes
cls
echo þ
echo Drives mapeados a los que puede acceder:
echo þ
echo ÿ
net use
6)------------- My batch file to disconnect from the Server:
@echo off
cls
a:
cd net
echo ** Un momento por favor, desconectandose del servidor **
net use e: /delete
net use f: /delete
net use g: /delete
net use h: /delete
net logoff
cd\
7)------------- My SYSTEM.INI file:
[network]
sizworkbuf=1498
filesharing=no
printsharing=no
autologon=yes
computername=MARGARITA
lanroot=a:\net
username=MARGARITA
workgroup=WORKGROUP
reconnect=no
dospophotkey=N
lmlogon=0
logondomain=WORKGROUP
preferredredir=full
autostart=full
maxconnections=8
[network drivers]
netcard=ne2000.dos
transport=ndishlp.sys,tcpdrv.dos,nemm.dos
devdir=a:\net
LoadRMDrivers=yes
[386enh]
TimerCriticalSection=5000
UniqueDosPSP=TRUE
PSPIncrement=2
[Password Lists]
*Shares=a:\net\Shares.PWL
[network]
sizworkbuf=1498
filesharing=no
printsharing=no
autologon=yes
computername=MARGARITA
lanroot=a:\net
username=MARGARITA
workgroup=WORKGROUP
reconnect=no
dospophotkey=N
lmlogon=0
logondomain=WORKGROUP
preferredredir=full
autostart=full
maxconnections=8
[network drivers]
netcard=ne2000.dos
transport=ndishlp.sys,tcpdrv.dos,nemm.dos
devdir=a:\net
LoadRMDrivers=yes
[386enh]
TimerCriticalSection=5000
UniqueDosPSP=TRUE
PSPIncrement=2
[Password Lists]
*Shares=a:\net\Shares.PWL
8)------------- My PROTOCOL.INI file:
[network.setup]
version=0x3110
netcard=ms$ne2clone,1,MS$NE2CLONE,1
transport=ms$nwlink,MS$NWLINK
transport=ms$ndishlp,MS$NDISHLP
transport=tcpip,TCPIP
lana0=ms$ne2clone,1,ms$nwlink
lana1=ms$ne2clone,1,ms$ndishlp
lana2=ms$ne2clone,1,tcpip
[TCPIP]
NBSessions=6
SubNetMask0=255 0 0 0
IPAddress0=195 0 0 3
DisableDHCP=1
DriverName=TCPIP$
BINDINGS=MS$NE2CLONE
LANABASE=1
[MS$NWLINK]
FRAME=ETHERNET_802.2
DriverName=nwlink$
BINDINGS=MS$NE2CLONE
[MS$NE2CLONE]
IOBASE=0x320
INTERRUPT=10
DriverName=MS2000$
[protman]
DriverName=PROTMAN$
PRIORITY=MS$NDISHLP
[MS$NDISHLP]
DriverName=ndishlp$
BINDINGS=MS$NE2CLONE
Maybe it was not very optimized but it works ( in a 386, with 4Mb RAM,
whitout HD )
------------------------- End of MSCLIENT Message -------------------------
--
\====================================================/
\ Carl Greco PHONE voice: (402) 496-3381 /
\ cgreco@Novia.Net /
\==============================================/
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: