mTCP NetDrive server updates

50 views
Skip to first unread message

Michael Brutman

unread,
Jan 21, 2024, 6:18:54 PM1/21/24
to mTCP
Recent changes:
  • I've added a "headless" mode for people who don't want to use the text UI.  It's not a full Unix-style daemon, but you can throw it in the background now and you can probably use "daemonize" on it.
  • I've tested on a Raspberry Pi.  Somebody else already verified that it worked without changes, but I wanted to do it for myself to be sure.
I'm also looking for more feedback and testing help.  In particular I'm running a public server at brutman.com that you can connect to and play around with.
The 32MB image is suitable for all versions of DOS including 2.x and 3.x.  The 200MB image is FAT16B so you need to be running DOS 3.31 or greater to test it.  (Change the drive letter as needed.)

These disk images support writes too - feel free to play around with them.  The writes are only visible to you during your session, so if something gets too badly messed up just disconnect, reconnect, and it will all be clean again.

Sorry, no source code yet ...  I'm still actively making changes and trying to get more feedback on what I've already provided.


-Mike

har...@dds.nl

unread,
Jan 24, 2024, 4:01:20 AM1/24/24
to Michael Brutman, mTCP
Hi Michael,

I did an initial test;
First observation; it would be good if we can htget and unzip the file
in dos; thus please no long file names ;-)

I was thinking about:
- htget -o nd.zip -v http://www.brutman.com/dos/nd-latest.zip
- nc to unzip.
Currently I had to use a windows machine to unzip the file; instead of
Norton Commander.

Running the netdrive command: netdrive connect brutman.com:2002
bigdisk.dsk d:
resulted in: Error: IOCTL read failed. Did you specify the right drive
letter?

Changing it to e: or f: results in same result.

I am using Dos 6.22 booting from an USB drive.

Kr,

Harm Jan


Michael Brutman schreef op 22-01-2024 0:18:
> Recent changes:
>
> * I've added a "headless" mode for people who don't want to use the
> text UI. It's not a full Unix-style daemon, but you can throw it in
> the background now and you can probably use "daemonize" on it.
> * I've tested on a Raspberry Pi. Somebody else already verified that
> it worked without changes, but I wanted to do it for myself to be
> sure.
>
> I'm also looking for more feedback and testing help. In particular
> I'm running a public server at brutman.com that you can connect to and
> play around with.
>
> * 200MB disk image: netdrive connect brutman.com:2002 bigdisk.dsk d:
> * 32MB disk image: netdrive connect brutman.com:2002 fat12.dsk d:
>
> The 32MB image is suitable for all versions of DOS including 2.x and
> 3.x. The 200MB image is FAT16B so you need to be running DOS 3.31 or
> greater to test it. (Change the drive letter as needed.)
>
> These disk images support writes too - feel free to play around with
> them. The writes are only visible to you during your session, so if
> something gets too badly messed up just disconnect, reconnect, and it
> will all be clean again.
>
> Sorry, no source code yet ... I'm still actively making changes and
> trying to get more feedback on what I've already provided.
>
> -Mike
>
> --
> You received this message because you are subscribed to the Google
> Groups "mTCP" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to mtcp+uns...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mtcp/308308bd-191b-49c3-b4c6-7bdaeef31f81n%40googlegroups.com
> [1].
>
>
> Links:
> ------
> [1]
> https://groups.google.com/d/msgid/mtcp/308308bd-191b-49c3-b4c6-7bdaeef31f81n%40googlegroups.com?utm_medium=email&utm_source=footer

Michael Brutman

unread,
Jan 24, 2024, 5:08:13 AM1/24/24
to har...@dds.nl, mTCP
Harm,

Did you add NETDRIVE.SYS to your CONFIG.SYS file?  If so, when the machine boots the message from NETDRIVE.SYS will tell you exactly which drive letter to use.

If I remember correctly, PKZip will truncate long filenames and directory names so I haven't had a problem downloading using HTGET.  The packaging problem will be resolved when I move everything into the mTCP packaging.


-Mike

har...@dds.nl

unread,
Jan 24, 2024, 5:20:07 AM1/24/24
to Michael Brutman, mTCP
Hi Michael,

No I was not aware that the SYS driver was needed in config.sys; adding
that allows me to mount the image.
I noticed that dir command itself seems fast; but calculating the bytes
free takes quite some seconds.

I'll continue my tests ;-)

Kr,

Harm Jan


Michael Brutman schreef op 24-01-2024 11:07:
> Harm,
>
> Did you add NETDRIVE.SYS to your CONFIG.SYS file? If so, when the
> machine boots the message from NETDRIVE.SYS will tell you exactly
> which drive letter to use.
>
> If I remember correctly, PKZip will truncate long filenames and
> directory names so I haven't had a problem downloading using HTGET.
> The packaging problem will be resolved when I move everything into the
> mTCP packaging.
>
> -Mike
>
> On Wed, Jan 24, 2024 at 1:01 AM <har...@dds.nl> wrote:
>
>> Hi Michael,
>>
>> I did an initial test;
>> First observation; it would be good if we can htget and unzip the
>> file
>> in dos; thus please no long file names ;-)
>>
>> I was thinking about:
>> - htget -o nd.zip -v http://www.brutman.com/dos/nd-latest.zip
>> - nc to unzip.
>> Currently I had to use a windows machine to unzip the file; instead
>> of
>> Norton Commander.
>>
>> Running the netdrive command: netdrive connect brutman.com:2002 [1]
>> bigdisk.dsk d:
>> resulted in: Error: IOCTL read failed. Did you specify the right
>> drive
>> letter?
>>
>> Changing it to e: or f: results in same result.
>>
>> I am using Dos 6.22 booting from an USB drive.
>>
>> Kr,
>>
>> Harm Jan
>>
>> Michael Brutman schreef op 22-01-2024 0:18:
>>> Recent changes:
>>>
>>> * I've added a "headless" mode for people who don't want to
>> use the
>>> text UI. It's not a full Unix-style daemon, but you can throw it
>> in
>>> the background now and you can probably use "daemonize" on it.
>>> * I've tested on a Raspberry Pi. Somebody else already
>> verified that
>>> it worked without changes, but I wanted to do it for myself to be
>>> sure.
>>>
>>> I'm also looking for more feedback and testing help. In
>> particular
>>> I'm running a public server at brutman.com [2] that you can
>> connect to and
>>> play around with.
>>>
>>> * 200MB disk image: netdrive connect brutman.com:2002 [1]
>> bigdisk.dsk d:
>>> * 32MB disk image: netdrive connect brutman.com:2002 [1]
> https://groups.google.com/d/msgid/mtcp/CAPAHKi1Uq3gBPFQbAYu1gFch_%2BUUhjq-fOT-V40TYufafA0RkA%40mail.gmail.com
> [3].
>
>
> Links:
> ------
> [1] http://brutman.com:2002
> [2] http://brutman.com
> [3]
> https://groups.google.com/d/msgid/mtcp/CAPAHKi1Uq3gBPFQbAYu1gFch_%2BUUhjq-fOT-V40TYufafA0RkA%40mail.gmail.com?utm_medium=email&utm_source=footer
Reply all
Reply to author
Forward
0 new messages