intel PRO/1000 DOS packet driver

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

intel PRO/1000 DOS packet driver

Ulrich Hansen-2
Hi,

I found that the intel DOS packet driver for the PRO/1000 network card isn’t in the CRYNWR package.

As it is Open Source since 2007 I felt free to package it into an FDNPKG compatible zip-file. 

You can find it here: 

cheers
Ulrich


------------------------------------------------------------------------------

_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: intel PRO/1000 DOS packet driver

dosgeek57
Yay! - I have two machines that will be happy!



On Wed, Aug 24, 2016 at 6:47 AM, Ulrich Hansen <[hidden email]> wrote:
Hi,

I found that the intel DOS packet driver for the PRO/1000 network card isn’t in the CRYNWR package.

As it is Open Source since 2007 I felt free to package it into an FDNPKG compatible zip-file. 

You can find it here: 

cheers
Ulrich


------------------------------------------------------------------------------

_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user



------------------------------------------------------------------------------

_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: intel PRO/1000 DOS packet driver

Mateusz Viste-4
In reply to this post by Ulrich Hansen-2
On 24/08/2016 12:47, Ulrich Hansen wrote:
> I found that the intel DOS packet driver for the PRO/1000 network card
> isn’t in the CRYNWR package.
>
> As it is Open Source since 2007 I felt free to package it into an FDNPKG
> compatible zip-file.
>
> You can find it here:
> https://github.com/ulrich-hansen/E1000PKT

Looks great, thank you!

Mateusz


------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: intel PRO/1000 DOS packet driver

Rugxulo
In reply to this post by Ulrich Hansen-2
Hi,

On Wed, Aug 24, 2016 at 5:47 AM, Ulrich Hansen <[hidden email]> wrote:
>
> I found that the intel DOS packet driver for the PRO/1000 network card isn’t
> in the CRYNWR package.
>
> As it is Open Source since 2007 I felt free to package it into an FDNPKG
> compatible zip-file.

In the interest of keeping useful things like this mirrored, I've
(also) put it here:

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/net/e1000pkt.zip

(If you can think of a better place for it, let me know.)

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Ulrich Hansen-2

Am 26.08.2016 um 00:29 schrieb Rugxulo <[hidden email]>:
I’ve (also) put it here:

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/net/e1000pkt.zip

(If you can think of a better place for it, let me know.)

Thank you. There is of course no better place.

What do you think of M2WAT? I use it quite often. It is Open Source, written by cordata, a FreeDOS user, in a post to this list. Wouldn’t it be a good candidate for the net section of your repo? I know it is a very small utility…


cheers
Ulrich


------------------------------------------------------------------------------

_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Karen Lewellen-2
From: Rugxulo <[hidden email]>


Hi,

On Thu, Aug 25, 2016 at 5:43 PM, Ulrich Hansen <[hidden email]> wrote:
>
> What do you think of M2WAT? I use it quite often. It is Open Source, written
> by cordata, a FreeDOS user, in a post to this list.

I vaguely remember when he posted it, but I never had urgent need to use it.

> WouldnrCOt it be a good candidate for the net section of your repo? I know
it is a very small
> utilityrCa

Maybe.

> https://github.com/ulrich-hansen/M2WAT

Two minor nitpicks:

1). The .COM isn't even UPX'd. Bloat!  ;-)
2). The source is named "W2WAT.C", which is confusing.

Otherwise, seems fine. Should these minor issues be fixed first?

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (1:2320/105.99)

---
 * BgNet 1.0b12 = CCO * KY/US * 502/875-8938 * capcity2.synchro.net
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Karen Lewellen-2
In reply to this post by Ulrich Hansen-2
From: Louis Santillan <[hidden email]>


Made my own dog food:

<https://github.com/lpsantil/m2wat.bat>

On Thu, Aug 25, 2016 at 7:33 PM, Rugxulo <[hidden email]> wrote:
> Hi,
>
> On Thu, Aug 25, 2016 at 5:43 PM, Ulrich Hansen <[hidden email]> wrote:
>>
>> What do you think of M2WAT? I use it quite often. It is Open Source,
written
>> by cordata, a FreeDOS user, in a post to this list.
>
> I vaguely remember when he posted it, but I never had urgent need to use it.
>
>> WouldnrCOt it be a good candidate for the net section of your repo? I know
it is a very small

>> utilityrCa
>
> Maybe.
>
>> https://github.com/ulrich-hansen/M2WAT
>
> Two minor nitpicks:
>
> 1). The .COM isn't even UPX'd. Bloat!  ;-)
> 2). The source is named "W2WAT.C", which is confusing.
>
> Otherwise, seems fine. Should these minor issues be fixed first?
>
>
------------------------------------------------------------------------------
> _______________________________________________
> Freedos-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/freedos-user

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (1:2320/105.99)

---
 * BgNet 1.0b12 = CCO * KY/US * 502/875-8938 * capcity2.synchro.net
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Karen Lewellen-2
In reply to this post by Ulrich Hansen-2
From: Ulrich Hansen <[hidden email]>


--===============2823962537366983409==
Content-Type: multipart/alternative;
        boundary="Apple-Mail=_4A53FD72-58A0-4B41-8873-E5198FB577F7"


--Apple-Mail=_4A53FD72-58A0-4B41-8873-E5198FB577F7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
        charset=utf-8


> Am 26.08.2016 um 00:29 schrieb Rugxulo <[hidden email]>:
> IrCOve (also) put it here:
>
> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/net/e1000pkt.zip
>
> (If you can think of a better place for it, let me know.)

Thank you. There is of course no better place.

What do you think of M2WAT? I use it quite often. It is Open Source, written
by cordata, a FreeDOS user, in a post to this list. WouldnrCOt it be a good
candidate for the net section of your repo? I know it is a very small
utilityrCa

https://github.com/ulrich-hansen/M2WAT
<https://github.com/ulrich-hansen/M2WAT>

cheers
Ulrich


--Apple-Mail=_4A53FD72-58A0-4B41-8873-E5198FB577F7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
        charset=utf-8

<html><head><meta http-equiv="Content-Type" content="text/html
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space;" class=""><br
class=""><div><blockquote type="cite" class=""><div class="">Am 26.08.2016 um
00:29 schrieb Rugxulo &lt;<a href="mailto:[hidden email]"
class="">[hidden email]</a>&gt;:</div></blockquote><blockquote type="cite"
class=""><div class="">IrCOve&nbsp;(also) put it here:<br class=""><br
class=""><a
href="http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/net/e1000pkt.zip"
class="">http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/net/e1000pkt.zi
</a><br class=""><br class="">(If you can think of a better place for it, let
me know.)<br class=""></div></blockquote><br class=""></div><div>Thank you.
There is of course no better place.</div><div><br class=""></div><div>What do
you think of M2WAT? I use it quite often. It is Open Source, written by
cordata, a FreeDOS user, in a post to this list. WouldnrCOt it be a good
candidate for the net section of your repo? I know it is a very small
utilityrCa</div><div><br class=""></div><div><a
href="https://github.com/ulrich-hansen/M2WAT"
class="">https://github.com/ulrich-hansen/M2WAT</a></div><div><br
class=""></div><div>cheers</div><div>Ulrich</div><br class=""></body></html>
--Apple-Mail=_4A53FD72-58A0-4B41-8873-E5198FB577F7--


--===============2823962537366983409==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============2823962537366983409==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--===============2823962537366983409==--

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (1:2320/105.99)

---
 * BgNet 1.0b12 = CCO * KY/US * 502/875-8938 * capcity2.synchro.net
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Rugxulo
In reply to this post by Ulrich Hansen-2
Hi,

On Thu, Aug 25, 2016 at 5:43 PM, Ulrich Hansen <[hidden email]> wrote:
>
> What do you think of M2WAT? I use it quite often. It is Open Source, written
> by cordata, a FreeDOS user, in a post to this list.

I vaguely remember when he posted it, but I never had urgent need to use it.

> Wouldn’t it be a good candidate for the net section of your repo? I know it is a very small
> utility…

Maybe.

> https://github.com/ulrich-hansen/M2WAT

Two minor nitpicks:

1). The .COM isn't even UPX'd. Bloat!  ;-)
2). The source is named "W2WAT.C", which is confusing.

Otherwise, seems fine. Should these minor issues be fixed first?

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Louis Santillan
In reply to this post by Ulrich Hansen-2
Could this be done with a batch file using find?  I never written a
script using find like this but it seems plausible.

Really taking mTCP's config [0] to WaTTCP config [1] seems to be a
matter of doing:

MTCP.CFG                => WATTCP.CFG
-------------------------------------------------
PACKETINT 0x60
IPADDR 192.168.1.50     => my_ip=192.168.1.50
NETMASK 255.255.255.0   => netmask=255.255.255.0
GATEWAY 192.168.1.1     => gateway=192.168.1.1
NAMESERVER 192.168.1.1  => nameserver=192.168.1.1
MTU 1500


[0] http://freedos.sourceforge.net/wiki/index.php/Networking_FreeDOS_-_mTCP#Configuration
[1] http://freedos.sourceforge.net/wiki/index.php/Networking_FreeDOS_-_WATTCP

On Thu, Aug 25, 2016 at 3:43 PM, Ulrich Hansen <[hidden email]> wrote:

>
> Am 26.08.2016 um 00:29 schrieb Rugxulo <[hidden email]>:
>
> I’ve (also) put it here:
>
> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/net/e1000pkt.zip
>
> (If you can think of a better place for it, let me know.)
>
>
> Thank you. There is of course no better place.
>
> What do you think of M2WAT? I use it quite often. It is Open Source, written
> by cordata, a FreeDOS user, in a post to this list. Wouldn’t it be a good
> candidate for the net section of your repo? I know it is a very small
> utility…
>
> https://github.com/ulrich-hansen/M2WAT
>
> cheers
> Ulrich
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Freedos-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Louis Santillan
In reply to this post by Rugxulo
Made my own dog food:

<https://github.com/lpsantil/m2wat.bat>

On Thu, Aug 25, 2016 at 7:33 PM, Rugxulo <[hidden email]> wrote:

> Hi,
>
> On Thu, Aug 25, 2016 at 5:43 PM, Ulrich Hansen <[hidden email]> wrote:
>>
>> What do you think of M2WAT? I use it quite often. It is Open Source, written
>> by cordata, a FreeDOS user, in a post to this list.
>
> I vaguely remember when he posted it, but I never had urgent need to use it.
>
>> Wouldn’t it be a good candidate for the net section of your repo? I know it is a very small
>> utility…
>
> Maybe.
>
>> https://github.com/ulrich-hansen/M2WAT
>
> Two minor nitpicks:
>
> 1). The .COM isn't even UPX'd. Bloat!  ;-)
> 2). The source is named "W2WAT.C", which is confusing.
>
> Otherwise, seems fine. Should these minor issues be fixed first?
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Freedos-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/freedos-user

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Karen Lewellen-2
In reply to this post by Ulrich Hansen-2
From: Rugxulo <[hidden email]>


Hi,

On Fri, Aug 26, 2016 at 5:01 PM, Ulrich Hansen <[hidden email]> wrote:

>
> Am 26.08.2016 um 08:28 schrieb Louis Santillan <[hidden email]>:
>
> Made my own dog food:
>
> <https://github.com/lpsantil/m2wat.bat>
>
> Hi Louis,
> Thanks for your work! ItrCOs a nice idea to use a batch file for it. I just
> tried it. It works but has some flaws yet. HererCOs the feedback:
>
> 1. If I run the program in AUTOEXEC.BAT I get several error messages. See:
> https://www.lazybrowndog.net/freedos/files/m2wat.bat.png

Presumably due to this line:

REM -- Copyright (c) 2016, Louis P. Santillan <[hidden email]>

.... so ...

FIX: Change "REM" to "::" and it should hopefully ignore that.

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (1:2320/105.99)

---
 * BgNet 1.0b12 = CCO * KY/US * 502/875-8938 * capcity2.synchro.net
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Karen Lewellen-2
In reply to this post by Ulrich Hansen-2
From: Louis Santillan <[hidden email]>


Thanks for the feed.  I realized the issue redirection as soon as
Ulrich mentioned it.  Is it possible this is a bug wrt how FD
Command.com handles REM statements?  Obviously my expectation was that
REM was a true comment and not some pseudo NOP command that ignores
its arguments, allowing the redirection to continue to be processed by
the %SHELL%.   I'll fix this up tonight and also test against my MS
DOS VM.  Thanks for the fix suggestion as well Rugxulo.

And to your point about the batch file being dumb.  That was
intentional.  The mTCP config seems to be a lot less cumbersome even
if less configurable (?) than WatTCP config.  My intention was to
simply map what is obvious.  If someone has additional config, I'd
suggest doing something like

   dhcp
   m2wat
   type %WATTCP.CFG%\WATPERM.CFG>>%WATTCP.CFG%\WATTCP.CFG

On Fri, Aug 26, 2016 at 3:11 PM, Rugxulo <[hidden email]> wrote:

> Hi,
>
> On Fri, Aug 26, 2016 at 5:01 PM, Ulrich Hansen <[hidden email]> wrote:
>>
>> Am 26.08.2016 um 08:28 schrieb Louis Santillan <[hidden email]>:
>>
>> Made my own dog food:
>>
>> <https://github.com/lpsantil/m2wat.bat>
>>
>> Hi Louis,
>> Thanks for your work! ItrCOs a nice idea to use a batch file for it. I just
>> tried it. It works but has some flaws yet. HererCOs the feedback:
>>
>> 1. If I run the program in AUTOEXEC.BAT I get several error messages. See:
>> https://www.lazybrowndog.net/freedos/files/m2wat.bat.png
>
> Presumably due to this line:
>
> REM -- Copyright (c) 2016, Louis P. Santillan <[hidden email]>
>
> ... so ...
>
> FIX: Change "REM" to "::" and it should hopefully ignore that.
>
>
------------------------------------------------------------------------------
> _______________________________________________
> Freedos-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/freedos-user

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (1:2320/105.99)

---
 * BgNet 1.0b12 = CCO * KY/US * 502/875-8938 * capcity2.synchro.net
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Karen Lewellen-2
In reply to this post by Ulrich Hansen-2
From: Rugxulo <[hidden email]>

--===============8361226103491232573==
Content-Type: multipart/alternative; boundary=94eb2c12356e968e12053b031082

--94eb2c12356e968e12053b031082
Content-Type: text/plain; charset=UTF-8

Hi,

On Aug 26, 2016 7:35 PM, "Louis Santillan" <[hidden email]> wrote:
>
> Thanks for the feed.  I realized the issue redirection as soon as
> Ulrich mentioned it.  Is it possible this is a bug wrt how FD
> Command.com handles REM statements?  Obviously my expectation was that
> REM was a true comment and not some pseudo NOP command that ignores
> its arguments, allowing the redirection to continue to be processed by
> the %SHELL%.   I'll fix this up tonight and also test against my MS
> DOS VM.  Thanks for the fix suggestion as well Rugxulo.

No, IIRC, all major DOS shells have this quirk (maybe not XP's CMD, can't
remember). So you can create a zero-byte file with "REM >blah", if needed.

I know, it's absurd and useless, not a great idea to rely on it. Like I
said, you can avoid the issue with careful use of "::" when necessary ( > <
| ). On the bright side, you save a whole byte per line!  :-)

--94eb2c12356e968e12053b031082
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>Hi,</p>
<p>On Aug 26, 2016 7:35 PM, &quot;Louis Santillan&quot; &lt;<a
href="mailto:[hidden email]">[hidden email]</a>&gt; wrote:<br>
&gt;<br>
&gt; Thanks for the feed.-a I realized the issue redirection as soon as<br>
&gt; Ulrich mentioned it.-a Is it possible this is a bug wrt how FD<br>
&gt; Command.com handles REM statements?-a Obviously my expectation was
that<br>
&gt; REM was a true comment and not some pseudo NOP command that ignores<br>
&gt; its arguments, allowing the redirection to continue to be processed
by<br>
&gt; the %SHELL%.-a -aI&#39;ll fix this up tonight and also test against my
MS<br>
&gt; DOS VM.-a Thanks for the fix suggestion as well Rugxulo.</p>
<p>No, IIRC, all major DOS shells have this quirk (maybe not XP&#39;s CMD,
can&#39;t remember). So you can create a zero-byte file with &quot;REM
&gt;blah&quot;, if needed.</p>
<p>I know, it&#39;s absurd and useless, not a great idea to rely on it. Like I
said, you can avoid the issue with careful use of &quot;::&quot; when necessary
( &gt; &lt; | ). On the bright side, you save a whole byte per line!-a :-) </p>

--94eb2c12356e968e12053b031082--


--===============8361226103491232573==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============8361226103491232573==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--===============8361226103491232573==--

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (1:2320/105.99)

---
 * BgNet 1.0b12 = CCO * KY/US * 502/875-8938 * capcity2.synchro.net
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Ulrich Hansen-2
In reply to this post by Louis Santillan

Am 26.08.2016 um 08:28 schrieb Louis Santillan <[hidden email]>:


Hi Louis,
Thanks for your work! It’s a nice idea to use a batch file for it. I just tried it. It works but has some flaws yet. Here’s the feedback:

1. If I run the program in AUTOEXEC.BAT I get several error messages. See:

2. There should be some confirmation like "WATTCP.CFG has been updated".

3. The WATTCP.CFG is written with the values from MTCP.CFG. BUT: WATTCP.CFG is overwritten. 
Only the values from MTCP.CFG are kept. 

This can be a problem: WATTCP.CFG can be carefully crafted. Sometimes even passwords are stored there. It shouldn’t be overwritten.

See https://www.lazybrowndog.net/freedos/files/wattcp.cfg for an example WATTCP.CFG with lots of settings. 

On Thu, Aug 25, 2016 at 7:33 PM, Rugxulo <[hidden email]> wrote:
Two minor nitpicks:

1). The .COM isn't even UPX'd. Bloat!  ;-)
2). The source is named "W2WAT.C", which is confusing.

Otherwise, seems fine. Should these minor issues be fixed first?

Yes I think these errors have been committed by me. I look into it (and might need some help with it).
M2WAT.COM worked with the example WATTCP.CFG and just updated the lines that needed it.

Thanks for your help!
cheers
Ulrich





------------------------------------------------------------------------------

_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Rugxulo
Hi,

On Fri, Aug 26, 2016 at 5:01 PM, Ulrich Hansen <[hidden email]> wrote:

>
> Am 26.08.2016 um 08:28 schrieb Louis Santillan <[hidden email]>:
>
> Made my own dog food:
>
> <https://github.com/lpsantil/m2wat.bat>
>
> Hi Louis,
> Thanks for your work! It’s a nice idea to use a batch file for it. I just
> tried it. It works but has some flaws yet. Here’s the feedback:
>
> 1. If I run the program in AUTOEXEC.BAT I get several error messages. See:
> https://www.lazybrowndog.net/freedos/files/m2wat.bat.png

Presumably due to this line:

REM -- Copyright (c) 2016, Louis P. Santillan <[hidden email]>

... so ...

FIX: Change "REM" to "::" and it should hopefully ignore that.

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Louis Santillan
Thanks for the feed.  I realized the issue redirection as soon as
Ulrich mentioned it.  Is it possible this is a bug wrt how FD
Command.com handles REM statements?  Obviously my expectation was that
REM was a true comment and not some pseudo NOP command that ignores
its arguments, allowing the redirection to continue to be processed by
the %SHELL%.   I'll fix this up tonight and also test against my MS
DOS VM.  Thanks for the fix suggestion as well Rugxulo.

And to your point about the batch file being dumb.  That was
intentional.  The mTCP config seems to be a lot less cumbersome even
if less configurable (?) than WatTCP config.  My intention was to
simply map what is obvious.  If someone has additional config, I'd
suggest doing something like

   dhcp
   m2wat
   type %WATTCP.CFG%\WATPERM.CFG>>%WATTCP.CFG%\WATTCP.CFG

On Fri, Aug 26, 2016 at 3:11 PM, Rugxulo <[hidden email]> wrote:

> Hi,
>
> On Fri, Aug 26, 2016 at 5:01 PM, Ulrich Hansen <[hidden email]> wrote:
>>
>> Am 26.08.2016 um 08:28 schrieb Louis Santillan <[hidden email]>:
>>
>> Made my own dog food:
>>
>> <https://github.com/lpsantil/m2wat.bat>
>>
>> Hi Louis,
>> Thanks for your work! It’s a nice idea to use a batch file for it. I just
>> tried it. It works but has some flaws yet. Here’s the feedback:
>>
>> 1. If I run the program in AUTOEXEC.BAT I get several error messages. See:
>> https://www.lazybrowndog.net/freedos/files/m2wat.bat.png
>
> Presumably due to this line:
>
> REM -- Copyright (c) 2016, Louis P. Santillan <[hidden email]>
>
> ... so ...
>
> FIX: Change "REM" to "::" and it should hopefully ignore that.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Freedos-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/freedos-user

------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Rugxulo

Hi,

On Aug 26, 2016 7:35 PM, "Louis Santillan" <[hidden email]> wrote:
>
> Thanks for the feed.  I realized the issue redirection as soon as
> Ulrich mentioned it.  Is it possible this is a bug wrt how FD
> Command.com handles REM statements?  Obviously my expectation was that
> REM was a true comment and not some pseudo NOP command that ignores
> its arguments, allowing the redirection to continue to be processed by
> the %SHELL%.   I'll fix this up tonight and also test against my MS
> DOS VM.  Thanks for the fix suggestion as well Rugxulo.

No, IIRC, all major DOS shells have this quirk (maybe not XP's CMD, can't remember). So you can create a zero-byte file with "REM >blah", if needed.

I know, it's absurd and useless, not a great idea to rely on it. Like I said, you can avoid the issue with careful use of "::" when necessary ( > < | ). On the bright side, you save a whole byte per line!  :-)


------------------------------------------------------------------------------

_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Karen Lewellen-2
In reply to this post by Ulrich Hansen-2
From: Ulrich Hansen <[hidden email]>


--===============5150565058904733598==
Content-Type: multipart/alternative;
        boundary="Apple-Mail=_B8112CCC-E4B4-4DE3-A7F4-7595968965AD"


--Apple-Mail=_B8112CCC-E4B4-4DE3-A7F4-7595968965AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
        charset=utf-8


> Am 26.08.2016 um 08:28 schrieb Louis Santillan <[hidden email]>:
>
> Made my own dog food:
>
> <https://github.com/lpsantil/m2wat.bat>

Hi Louis,
Thanks for your work! ItrCOs a nice idea to use a batch file for it. I just
tried it. It works but has some flaws yet. HererCOs the feedback:

1. If I run the program in AUTOEXEC.BAT I get several error messages. See:
https://www.lazybrowndog.net/freedos/files/m2wat.bat.png
<https://www.lazybrowndog.net/freedos/files/m2wat.bat.png>

2. There should be some confirmation like "WATTCP.CFG has been updated".

3. The WATTCP.CFG is written with the values from MTCP.CFG. BUT: WATTCP.CFG is
overwritten.
Only the values from MTCP.CFG are kept.

This can be a problem: WATTCP.CFG can be carefully crafted. Sometimes even
passwords are stored there. It shouldnrCOt be overwritten.

See https://www.lazybrowndog.net/freedos/files/wattcp.cfg
<https://www.lazybrowndog.net/freedos/files/wattcp.cfg> for an example
WATTCP.CFG with lots of settings.

> On Thu, Aug 25, 2016 at 7:33 PM, Rugxulo <[hidden email]> wrote:
>>
>> Two minor nitpicks:
>>
>> 1). The .COM isn't even UPX'd. Bloat!  ;-)
>> 2). The source is named "W2WAT.C", which is confusing.
>>
>> Otherwise, seems fine. Should these minor issues be fixed first?

Yes I think these errors have been committed by me. I look into it (and might
need some help with it).
M2WAT.COM <http://m2wat.com/> worked with the example WATTCP.CFG and just
updated the lines that needed it.

Thanks for your help!
cheers
Ulrich





--Apple-Mail=_B8112CCC-E4B4-4DE3-A7F4-7595968965AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
        charset=utf-8

<html><head><meta http-equiv="Content-Type" content="text/html
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space;" class=""><br
class=""><div><blockquote type="cite" class=""><div class="">Am 26.08.2016 um
08:28 schrieb Louis Santillan &lt;<a href="mailto:[hidden email]"
class="">[hidden email]</a>&gt;:</div><br
class="Apple-interchange-newline"><div class="">Made my own dog food:<br
class=""><br class="">&lt;<a href="https://github.com/lpsantil/m2wat.bat"
class="">https://github.com/lpsantil/m2wat.bat</a>&gt;<br
class=""></div></blockquote><div><br class=""></div><div>Hi
Louis,</div><div>Thanks for your work! ItrCOs a nice idea to use a batch file
for it. I just tried it. It works but has some flaws yet. HererCOs the
feedback:</div><div><br class=""></div><div>1. If I run the program in
AUTOEXEC.BAT I get several error messages. See:</div><div><a
href="https://www.lazybrowndog.net/freedos/files/m2wat.bat.png"
class="">https://www.lazybrowndog.net/freedos/files/m2wat.bat.png</a></div><div>
br class=""></div><div>2. There should be some confirmation like "WATTCP.CFG
has been updated".</div><div><br class=""></div><div>3. The WATTCP.CFG is
written with the values from MTCP.CFG. BUT: WATTCP.CFG is
overwritten.&nbsp;</div><div>Only the values from MTCP.CFG are
kept.&nbsp;</div><div><br class=""></div><div>This can be a problem: WATTCP.CFG
can be carefully crafted. Sometimes even passwords are stored there. It
shouldnrCOt be overwritten.</div><div><br class=""></div><div>See&nbsp;<a
href="https://www.lazybrowndog.net/freedos/files/wattcp.cfg"
class="">https://www.lazybrowndog.net/freedos/files/wattcp.cfg</a>&nbsp;for an
example WATTCP.CFG with lots of settings.&nbsp;</div><br class=""><blockquote
type="cite" class=""><div class="">On Thu, Aug 25, 2016 at 7:33 PM, Rugxulo
&lt;<a href="mailto:[hidden email]" class="">[hidden email]</a>&gt;
wrote:<blockquote type="cite" class="">Two minor nitpicks:<br class=""><br
class="">1). The .COM isn't even UPX'd. Bloat! &nbsp;;-)<br class="">2). The
source is named "W2WAT.C", which is confusing.<br class=""><br
class="">Otherwise, seems fine. Should these minor issues be fixed first?<br
class=""></blockquote></div></blockquote></div><br class=""><div class="">Yes I
think these errors have been committed by me. I look into it (and might need
some help with it).</div><div class=""><a href="http://M2WAT.COM"
class="">M2WAT.COM</a>&nbsp;worked with the example WATTCP.CFG and just updated
the lines that needed it.</div><div class=""><br class=""></div><div
class="">Thanks for your help!</div><div class="">cheers</div><div
class="">Ulrich</div><div class=""><br class=""></div><div class=""><br
class=""></div><div class=""><br class=""></div><div class=""><br
class=""></div></body></html>
--Apple-Mail=_B8112CCC-E4B4-4DE3-A7F4-7595968965AD--


--===============5150565058904733598==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============5150565058904733598==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--===============5150565058904733598==--

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (1:2320/105.99)

---
 * BgNet 1.0b12 = CCO * KY/US * 502/875-8938 * capcity2.synchro.net
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: M2WAT

Ulrich Hansen-2
In reply to this post by Louis Santillan

> Am 27.08.2016 um 02:35 schrieb Louis Santillan <[hidden email]>:
>
> My intention was to
> simply map what is obvious.  If someone has additional config, I'd
> suggest doing something like
>
>   dhcp
>   m2wat
>   type %WATTCP.CFG%\WATPERM.CFG>>%WATTCP.CFG%\WATTCP.CFG

That wouldn’t work. For instance for Arachne the WATTCP.CFG could look like this:

my_ip = 0.0.0.0
netmask = 255.255.255.0
gateway = 0.0.0.0
#
sockdelay=40
hostname=arachne
mss=512

and the nameservers would be configured in ARACHNE.CFG.

Your workaround would configure nameservers in WATTCP.CFG too. But this could mess things up. It shouldn’t configure a nameserver if there is none configured in WATTCP.CFG.

Unfortunately M2WAT.COM by cordata also does not get this right.

David Dunfields DHCP program from
http://classiccmp.org/dunfield/dos/index.htm

does it correctly. There is even an option /F where you can choose to "fill-in config items not supplied in original file“.

The program is a bit hard to figure out, because the description in DCHP.TXT is not correct.

Instead of
DHCP P=60 /W='C:\FDOS\WATTCP.CFG'  /M='C:\FDOS\MTCP.CFG‘
you would need to write:
DHCP P=60 /W C:\FDOS\WATTCP.CFG
DHCP P=60 /M C:\FDOS\MTCP.CFG

(You can not write the /M option and the /W option in the same line.)

It does get the environment variable MTCPCFG from AUTOEXEC.BAT, but it doesn’t get the environment variable WATTCPCFG.

So
DHCP /M
would work, while
DHCP /W
wouldn’t.

But anyway you can work around this and the program works fine. Unfortunately there is no source file on the website and no license, so it couldn’t be bundled with FreeDOS.

cheers
Ulrich
























------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
12
Loading...