Re: [Freedos-user] network and usb floppy access on mac [was: Dhcp]

2011-01-13 Thread Rugxulo
Hi,

On 1/13/11, James Collins james.collin...@yahoo.com wrote:

 One of my goals is to set up dhcp, cause I didn't during the install. I
 would like to fool around with lynx within in freedos.

It might be easier to use a native Mac compile of Lynx. I know that's
probably not what you want to hear, but it's true.

 I have some older software like word perfect, some games etc. That I wanted
 to install.

Games are best in DOSBox, esp. when you need SoundBlaster support,
which modern soundcards don't support natively anymore. Word Perfect
probably runs there too, but again, it's probably easier to just use a
native build of something else (AbiWord, OpenOffice, KOffice).   :-/

 I really want to be able to type a: at a dos prompt and access my floppy
 drive, right now I can't burn a cd because my cd/DVD drive isn't working, I
 am going to fix it.

You can (try to) boot from USB, probably, but that still won't help if
you don't have some kind of BIOS. See
http://unetbootin.sourceforge.net/ .

 I know that I got dosbox to recognize my floppy drive?

DOSBox should recognize it since it just uses the host OS to access everything.

 I want to set up mTCP
 which I got to set up dhcp, and I have a folder on my Mac but don't know how
 to get it into freedos?

Mac OS X Terminal - man mount ... You should be able to mount a FAT
partition from within Mac OS X (or FreeBSD). Also try man mtools
just in case it's installed.

 I have also copied it to a floppy, but freedos isn't recognizing my floppy 
 drive?

Did you install BootCamp? Can you?

 I guess one thing I would like to be able to do is put software into freedos
 from my Mac. I have used disk utility to partition my hard drive and I set
 up some fat space. I was originally gonna use it for freedos but then I got
 virtualbox.

BOCHS, QEMU, and VirtualBox have all been known to emulate FreeDOS to
a reasonable degree (though you need some kind of floppy disk or CD
image). It's probably your best bet while on a Mac outside of just
trying Linux + DOSEMU.

--
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


[Freedos-user] Printing problem with FreeDOS and dosemu

2011-01-13 Thread Lisandro Damián Nicanor Pérez Meyer
Hi! I am using FreeDOS + dosemu in Linux to make some old but very
valuable apps work. Please, let me warn you that this may be a dosemu
problem/bug, but I find the project quite quiet, so I am taking the
odds to ask here :-)

So far, the apps are doing *splendid* except in printing. Somehow,
every time I close dosemu, garbage is sent to the printer, but only if
one of this apps were ran.
I have been searching the web to no avail.

The only change I did to the standard dosemu + freedos Debian packages
is increasing the number of files and buffers in config.sys. I
actually added a 0 to the end of the default values, wich may be too
much, perhaps.

As extra data, my printer is an Epson LX-810 working trough CUPS. The
same behaviour can be obtained either redirecting dosemu's printer
output to a file.

So, if you have any idea that I could try to fix this, I will really
be happy to test them.

Kinds regards, Lisandro.

-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

--
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


[Freedos-user] Connecting FreeDOS to a SMB share

2011-01-13 Thread Santiago Almenara
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.

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.

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


Re: [Freedos-user] Printing problem with FreeDOS and dosemu

2011-01-13 Thread Rugxulo
Hi,

On 1/13/11, Lisandro Damián Nicanor Pérez Meyer perezme...@gmail.com wrote:
 Hi! I am using FreeDOS + dosemu in Linux to make some old but very
 valuable apps work.

Okay, good.

 every time I close dosemu, garbage is sent to the printer, but only if
 one of this apps were ran.

That's kinda weird.   :-/

 The only change I did to the standard dosemu + freedos Debian packages
 is increasing the number of files and buffers in config.sys. I
 actually added a 0 to the end of the default values, wich may be too
 much, perhaps.

This PC of mine has Lucid Puppy, and a while back I installed the
binary from dosemu.org, so its CONFIG.SYS may differ from yours
(sysctl needed, still beeps but at least runs, uHexen2 ftw!).

But it uses FILES=40 as default, so 400 would *definitely* be too
much. (255 is max, I think.) BUFFERS=10 is default also (but I doubt
=100 would break anything and don't know of any obvious limits there.)

 As extra data, my printer is an Epson LX-810 working trough CUPS. The
 same behaviour can be obtained either redirecting dosemu's printer
 output to a file.

Try redirecting to NUL.   ;-)

--
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] Printing problem with FreeDOS and dosemu

2011-01-13 Thread Eric Auer

Hi Lisandro,

 Hi! I am using FreeDOS + dosemu in Linux to make some old but very
 valuable apps work. Please, let me warn you that this may be a dosemu
 problem/bug, but I find the project quite quiet, so I am taking the
 odds to ask here :-)

 So far, the apps are doing *splendid* except in printing. Somehow,
 every time I close dosemu, garbage is sent to the printer, but only if
 one of this apps were ran.
 I have been searching the web to no avail.

 The only change I did to the standard dosemu + freedos Debian packages
 is increasing the number of files and buffers in config.sys. I
 actually added a 0 to the end of the default values, wich may be too
 much, perhaps.

 As extra data, my printer is an Epson LX-810 working trough CUPS. The
 same behaviour can be obtained either redirecting dosemu's printer
 output to a file.

 So, if you have any idea that I could try to fix this, I will really
 be happy to test them.

You could probably just switch off printing in dosemu if you dont need
to print anything? Just print into a file and then print that later,
manually then. My configuration (.dosemurc / dosemu.conf) now says:

$_printer = file file

Which means LPT1 and LPT2 print to file defined in /etc/printcap.
Hmm. Now that I look at it, my printcap no longer has file :-p
Which proves that I hardly ever print in DOSEMU... Before, I had:

$_printer = deskjetbw

Which is the cups name of printing to my Deskjet in greyscales. The
default is $_printer = lp as far as I remember...

$_printer_timeout = (20) # idle time in seconds before spooling out

Might also be interesting. Note that DOSEMU probably assumes that
you print plain text without any graphics or printer control codes.
The layout is then done by some default text handler of CUPS, e.g.
a2ps with 2-up layout. If you want to print with graphics, try to
tell your DOS apps that you have a laser printer. CUPS will then,
hopefully, automatically recognize that you sent postscript to it.

Once when I was working on GRAPHICS (GRAPH-PS, GRAPHPIN, GRAPH-HP)
I think I had hand-edited the /etc/printcap or similar so the raw
data ended up in a file which I then harvested to have a look at
the raw contents to check the escape sequences etc. From that time
I also have a simplistic parser for ESC/P2 graphics data to convert
that data into a PCX picture or similar. You can also use PPM tools
or other general purpose image converters to digest printer data.

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


Re: [Freedos-user] Printing problem with FreeDOS and dosemu

2011-01-13 Thread Lisandro Damián Nicanor Pérez Meyer
On Jue 13 Ene 2011 19:12:06 Eric Auer escribió:
[snip] 
 You could probably just switch off printing in dosemu if you dont need
 to print anything? Just print into a file and then print that later,
 manually then. My configuration (.dosemurc / dosemu.conf) now says:
 
 $_printer = file file

Tried with that, but the file gets the garbage non the less :-/
 
[snip]
 
 $_printer_timeout = (20) # idle time in seconds before spooling out
 
 Might also be interesting. Note that DOSEMU probably assumes that
 you print plain text without any graphics or printer control codes.
 The layout is then done by some default text handler of CUPS, e.g.
 a2ps with 2-up layout. If you want to print with graphics, try to
 tell your DOS apps that you have a laser printer. CUPS will then,
 hopefully, automatically recognize that you sent postscript to it.

Well, I am printing plain text :-)
But I will certainly play with it.

Thanks :-)

Regards, Lisandro.

-- 
Lo que me sorprende de las mujeres es que se arrancan los pelos desde
la raíz con cera caliente y aún así le temen a las arañas.
  Jerry Seinfeld

lis: comentario sobre tu frase
yo soy mujer, yo me arranco los pelos y VOS le tenes miedo a las arañas
  María Luján Pérez Meyer (mi hermana)

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.
--
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] Printing problem with FreeDOS and dosemu

2011-01-13 Thread Lisandro Damián Nicanor Pérez Meyer
On Jue 13 Ene 2011 16:58:41 Rugxulo escribió:
 Hi,
[snip]
 But it uses FILES=40 as default, so 400 would *definitely* be too
 much. (255 is max, I think.) BUFFERS=10 is default also (but I doubt
 =100 would break anything and don't know of any obvious limits there.)

Good point, will fix that :-)

Regards, Lisandro.

-- 
The POP3 server service depends on the SMTP server service, which
failed to start because of the following error:
The operation completed successfully.
  -- Windows NT Server v3.51

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.
--
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] network and usb floppy access on mac [was: Dhcp]

2011-01-13 Thread James Collins
I am trying to install freedos with qemu, but I am coming across an error when 
I go to run the install?
The error is saying not enough disk space very early on in the install?

I have used fdisk to partition my drive at like a 100mb

Another error I have come across is if I try to format the drive it fails 
saying something like drive sectors not 1, 4 , 6, 16, 32 etc but 0.0 kb

I don't know the exact error it returns with result 4. And I don't know if 
these are related

Sent from my iPhone

On Jan 13, 2011, at 3:01 AM, Rugxulo rugx...@gmail.com wrote:

 Hi,
 
 On 1/13/11, James Collins james.collin...@yahoo.com wrote:
 
 One of my goals is to set up dhcp, cause I didn't during the install. I
 would like to fool around with lynx within in freedos.
 
 It might be easier to use a native Mac compile of Lynx. I know that's
 probably not what you want to hear, but it's true.
 
 I have some older software like word perfect, some games etc. That I wanted
 to install.
 
 Games are best in DOSBox, esp. when you need SoundBlaster support,
 which modern soundcards don't support natively anymore. Word Perfect
 probably runs there too, but again, it's probably easier to just use a
 native build of something else (AbiWord, OpenOffice, KOffice).   :-/
 
 I really want to be able to type a: at a dos prompt and access my floppy
 drive, right now I can't burn a cd because my cd/DVD drive isn't working, I
 am going to fix it.
 
 You can (try to) boot from USB, probably, but that still won't help if
 you don't have some kind of BIOS. See
 http://unetbootin.sourceforge.net/ .
 
 I know that I got dosbox to recognize my floppy drive?
 
 DOSBox should recognize it since it just uses the host OS to access 
 everything.
 
 I want to set up mTCP
 which I got to set up dhcp, and I have a folder on my Mac but don't know how
 to get it into freedos?
 
 Mac OS X Terminal - man mount ... You should be able to mount a FAT
 partition from within Mac OS X (or FreeBSD). Also try man mtools
 just in case it's installed.
 
 I have also copied it to a floppy, but freedos isn't recognizing my floppy 
 drive?
 
 Did you install BootCamp? Can you?
 
 I guess one thing I would like to be able to do is put software into freedos
 from my Mac. I have used disk utility to partition my hard drive and I set
 up some fat space. I was originally gonna use it for freedos but then I got
 virtualbox.
 
 BOCHS, QEMU, and VirtualBox have all been known to emulate FreeDOS to
 a reasonable degree (though you need some kind of floppy disk or CD
 image). It's probably your best bet while on a Mac outside of just
 trying Linux + DOSEMU.
 
 --
 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