Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-20 Thread Santiago Almenara
On Mon, Jan 17, 2011 at 3:30 PM, mbbrut...@brutman.com wrote:

 Quoting Eric Auer e.a...@jpberlin.de:

 
  Hi Santiago,
 
  Update: I installed easily the NDIS2 drivers for my card, then the
 packet
  driver wrapper. mTCP is working perfectly.
  Right now, I am trying TCP's MS CLIENT 3.0 to connect to the SMB share
  through TCP/IP.
 
  Nice! Maybe you could email a summary of how you did it?
  I mean what you installed and which config files you had
  to edit in which way to make MTCP work via NDIS etc :-)

 I second that motion - I've never used NDIS and a shim before and
 I'd like to see how that is done.


I am sorry I can answer just now. The shim was so easy to configure, I
followed the howto in the sourceforge FreeDOS networking page.

(FD)CONFIG.SYS:
DEVICEHIGH=C:\NET\PROTMAN.DOS /I:C:\NET
DEVICEHIGH=C:\NET\B44.DOS
DEVICEHIGH=C:\NET\DIS_PKT.DOS
;devicehigh=C:\NET\ifshlp.sys

B44.DOS is the NDIS2 driver for my ethernet card, PROTMAN.DOS is part of the
MS-DOS Addon for workgroup and DIS_PKT.DOS comes with FreeDOS. I comment the
ifshlp.sys because I am not completely sure what it is for. I think it is
something for DOS networking, not sure, though.

AUTOEXEC.BAT:
C:\NET\netbind.com
C:\MTCP\DHCP.EXE

PROTOCOL.INI:
[protman]
DriverName=PROTMAN$

[B44]
DriverName = B44$

[PKTDRV]
drivername=PKTDRV$
binding=B44
intvec=0x60
chainvec=0x68

It just works, so easy!


Santiago
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-17 Thread Santiago Almenara
On Thu, Jan 13, 2011 at 5:29 PM, Mike Eriksen thinstation.m...@gmail.comwrote:

 On Thu, Jan 13, 2011 at 8:38 PM, Santiago Almenara almen...@gmail.com
 wrote:
  Hi!
  I have set up my FreeDOS PC and everthing is working just fine except for
  the audio (ok I pray to God someday there will be a way to play DOS games
  with sound under plain DOS)
  Now I want to connect this PC to a Windows/SMB share to speed the file
  transfer. Right now, I have to burn a CDRW in one machine and use it in
 the
  FreeDOS PC.
  What I think I need in my DOS PC:
  1. A network card (duh!)
  2. A driver for the card
  3. A packet driver for the card
  4. mTCP (for DHCP)
  5. some software to connect the DOS to SMB.

 IMHO, not quite so. 2 and 3 is one point, If you can't get a packet
 driver for your NIC, you are forced to fight with NIDIS 2. Have fun...
 Ad 5) Well, depends... Windows for Workgroups ( and the DOS add-on
 DOS for Workgroups) originally worked through the NETBEUI protocol,
 not TCP. From win95 and forward a parallel TCP communication channel
 got added to Windows Networking. So even though you can get TCP up
 and running with FD, you still need a FD front end to translate
 NETBEUI net use * \\server\share into TCP. Such a front end may
 exist, but I don't know one.


Update: I installed easily the NDIS2 drivers for my card, then the packet
driver wrapper. mTCP is working perfectly.
Right now, I am trying TCP's MS CLIENT 3.0 to connect to the SMB share
through TCP/IP.

The SMB share is actually a Dlink NAS, I can use NFS too, but I have to
install some modules before. I'll try a little more for SMB and then try
NFS.
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-17 Thread Eric Auer

Hi Santiago,

 Update: I installed easily the NDIS2 drivers for my card, then the packet
 driver wrapper. mTCP is working perfectly.
 Right now, I am trying TCP's MS CLIENT 3.0 to connect to the SMB share
 through TCP/IP.

Nice! Maybe you could email a summary of how you did it?
I mean what you installed and which config files you had
to edit in which way to make MTCP work via NDIS etc :-)

 The SMB share is actually a Dlink NAS, I can use NFS too, but I have to
 install some modules before. I'll try a little more for SMB and then try
 NFS.

Interesting. I assume you can also access the NAS via FTP or even HTTP?
Samba sounds okay for me, but of course the choice between MSCLIENT and
the ported Linux Samba command line tool smbclient is not that big :-)

Eric


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-17 Thread mbbrutman
Quoting Eric Auer e.a...@jpberlin.de:


 Hi Santiago,

 Update: I installed easily the NDIS2 drivers for my card, then the packet
 driver wrapper. mTCP is working perfectly.
 Right now, I am trying TCP's MS CLIENT 3.0 to connect to the SMB share
 through TCP/IP.

 Nice! Maybe you could email a summary of how you did it?
 I mean what you installed and which config files you had
 to edit in which way to make MTCP work via NDIS etc :-)

I second that motion - I've never used NDIS and a shim before and  
I'd like to see how that is done.


 The SMB share is actually a Dlink NAS, I can use NFS too, but I have to
 install some modules before. I'll try a little more for SMB and then try
 NFS.

 Interesting. I assume you can also access the NAS via FTP or even HTTP?
 Samba sounds okay for me, but of course the choice between MSCLIENT and
 the ported Linux Samba command line tool smbclient is not that big :-)

 Eric


If most NAS boxes do HTTP, is this the reason/motivation I need to get  
wget done?


Mike


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-17 Thread cordata02
With all the discussion on mTCP it seems this package is getting a lot of 
attention.

Is there any update as to when we might be able to get source or even just a 
binary library?

 

 


 

 

-Original Message-
From: mbbrutman mbbrut...@brutman.com
To: freedos-user freedos-user@lists.sourceforge.net
Sent: Mon, Jan 17, 2011 2:31 pm
Subject: Re: [Freedos-user] Connecting FreeDOS to a SMB share


Quoting Eric Auer e.a...@jpberlin.de:





 Hi Santiago,



 Update: I installed easily the NDIS2 drivers for my card, then the packet

 driver wrapper. mTCP is working perfectly.

 Right now, I am trying TCP's MS CLIENT 3.0 to connect to the SMB share

 through TCP/IP.



 Nice! Maybe you could email a summary of how you did it?

 I mean what you installed and which config files you had

 to edit in which way to make MTCP work via NDIS etc :-)



I second that motion - I've never used NDIS and a shim before and  

I'd like to see how that is done.





 The SMB share is actually a Dlink NAS, I can use NFS too, but I have to

 install some modules before. I'll try a little more for SMB and then try

 NFS.



 Interesting. I assume you can also access the NAS via FTP or even HTTP?

 Samba sounds okay for me, but of course the choice between MSCLIENT and

 the ported Linux Samba command line tool smbclient is not that big :-)



 Eric





If most NAS boxes do HTTP, is this the reason/motivation I need to get  

wget done?





Mike





--

Protect Your Site and Customers from Malware Attacks

Learn about various malware tactics and how to avoid them. Understand 

malware threats, the impact they can have on your business, and how you 

can protect your company and customers by using code signing.

http://p.sf.net/sfu/oracle-sfdevnl

___

Freedos-user mailing list

Freedos-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/freedos-user




 
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-17 Thread Mike Eriksen
On Mon, Jan 17, 2011 at 9:30 PM,  mbbrut...@brutman.com wrote:
 Quoting Eric Auer e.a...@jpberlin.de:
[CUT]
 If most NAS boxes do HTTP, is this the reason/motivation I need to get
 wget done?

+1!

Mike

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-17 Thread mbbrutman
Quoting cordat...@aol.com:

 With all the discussion on mTCP it seems this package is getting a  
 lot of attention.

 Is there any update as to when we might be able to get source or  
 even just a binary library?

Short story - working on it.

Longer story ..  it's all my original code and I have copyright to it.  
  However, the large corporation that pays me insists on approving any  
open source contributions.  (Which is reasonable.)  So you can imagine  
the look on people's faces when I said I want to start a new open  
source project, for DOS.  I seriously don't think they know what to  
do. :-)

A binary library is possible and I originally started down that path,  
but it makes more sense to just have people include the original  
source code and directly compile and link in everything they need.   
Otherwise they wind up dealing with whatever compromises were compiled  
into the library.

It is all evolving as I learn ..


Mike

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-13 Thread mbbrutman

I appreciate the interest in mTCP, but there is a limitation you need  
to be aware of.

The mTCP DHCP client is designed for the mTCP applications.  You can  
use it and adapt it to do other things, but you will have to write  
some scripts or code to take the output from the DHCP client (a text  
file) and make it usable for whatever app you had in mind.

For example, if you liked my DHCP client and wanted to use it with  
WATTCP applications, you would have to run my DHCP client, extract the  
IP addresses that you need from the MTCPCFG file, and then put them in  
the WATTCP config file.

I don't know what it takes to make it usable for something like the MS  
SMB client - it can probably be done/adapted, but it's not something I  
thought about and I don't expect it to work 'out of the box'.  It only  
works out of the box with the other mTCP applications.


Mike

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-13 Thread Eric Auer

Hi!

 What I think I need in my DOS PC:
 1. A network card (duh!)
 2. A driver for the card
 3. A packet driver for the card
 4. mTCP (for DHCP)
 5. some software to connect the DOS to SMB.

 1. My laptop has 2 network interfaces:
 - Broadcom BCM401 10/100
 - Intel Wireless 3945 a/b/g

 For now, I will discard the wireless option, I'll stick to the wired option.

Exactly.

 2. In the Broadcom site, there are 3 DOS drivers for the Broadcom BCM401

You can also try http://www.crynwr.com/drivers/00index.html
but I do not really see Broadcom there...

 10/100: NDIS2, 16 ODI, 32 ODI.

NDIS and ODI are more high level. Depending on your app, you
simply need a low level packet driver. However, there are
also wrappers to turn one into the other as far as I remember.

 Reading in the web, ODI is for Netware and Apple. NDIS2 is for Microsoft
 networks. What do I need? Or I need a fourth option specific for FreeDOS?

See above, but better, see:

http://sourceforge.net/apps/mediawiki/freedos/index.php?title=Networking_FreeDOS
(formerly known as lazybrowndog.net/freedos/ :-))

 3. I think a packet driver is the same than the network driver,
  please help here.

See the page above :-)

 4. mTCP seems to be easy to configure.

Maybe, but in DOS, networking is not a global operating system
thing. Instead, it is something done by one or more libraries
used by your network related software. For example your Arachne
web browser might use WATTCP, while your FTP client might use
MTCP instead. Both have separate configuration mechanisms. Of
course both can still access the same packet driver though :-)

 5. Finally what package do I need to connect the FreeDOS to a SMB share
 (assuming all previos steps are working fine). I can read the docs, but I
 have to know what package to look and investigate.

There are basically two options: MSCLIENT, free by MS but very
old and using a lot of RAM. On the other hand, sources like the
FreeDOS Wiki / Lazybrowndog / FreeDOS FAQ etc etc have lots of
information on how to get MSCLIENT to work. The other option is
the DOS version of the Linux SAMBA smbclient. This works like a
command line FTP client / shell, so you type commands to go to
the files that you want and to upload and download them, all IN
the smbclient shell. Your SMB share does not get any DOS drive
letter that way and you cannot use it from, say, EDIT that way.

Of course SAMBA also can help you to mount drives in Linux, but
because this works completely different in DOS, it would be hard
to port, compared to porting smbclient which just needs basic C
library services and a networking library and packet drivers :-)

Eric


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Connecting FreeDOS to a SMB share

2011-01-13 Thread Mike Eriksen
On Thu, Jan 13, 2011 at 8:38 PM, Santiago Almenara almen...@gmail.com wrote:
 Hi!
 I have set up my FreeDOS PC and everthing is working just fine except for
 the audio (ok I pray to God someday there will be a way to play DOS games
 with sound under plain DOS)
 Now I want to connect this PC to a Windows/SMB share to speed the file
 transfer. Right now, I have to burn a CDRW in one machine and use it in the
 FreeDOS PC.
 What I think I need in my DOS PC:
 1. A network card (duh!)
 2. A driver for the card
 3. A packet driver for the card
 4. mTCP (for DHCP)
 5. some software to connect the DOS to SMB.

IMHO, not quite so. 2 and 3 is one point, If you can't get a packet
driver for your NIC, you are forced to fight with NIDIS 2. Have fun...
Ad 5) Well, depends... Windows for Workgroups ( and the DOS add-on
DOS for Workgroups) originally worked through the NETBEUI protocol,
not TCP. From win95 and forward a parallel TCP communication channel
got added to Windows Networking. So even though you can get TCP up
and running with FD, you still need a FD front end to translate
NETBEUI net use * \\server\share into TCP. Such a front end may
exist, but I don't know one.

 1. My laptop has 2 network interfaces:
 - Broadcom BCM401 10/100

Broadcom :-) Have fun.

Mike


 - Intel Wireless 3945 a/b/g
 For now, I will discard the wireless option, I'll stick to the wired option.
 2. In the Broadcom site, there are 3 DOS drivers for the Broadcom BCM401
 10/100: NDIS2, 16 ODI, 32 ODI.
 Reading in the web, ODI is for Netware and Apple. NDIS2 is for Microsoft
 networks. What do I need? Or I need a fourth option specific for FreeDOS?
 3. I think a packet driver is the same than the network driver, please help
 here.
 4. mTCP seems to be easy to configure.
 5. Finally what package do I need to connect the FreeDOS to a SMB share
 (assuming all previos steps are working fine). I can read the docs, but I
 have to know what package to look and investigate.
 Thanks for your help.
 Santiago

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user