VOGONS


Networking in DOS and Windows 3.1

Topic actions

Reply 20 of 21, by jwt27

User metadata
Rank Oldbie
Rank
Oldbie
AdamP wrote:
Here is my config.sys: […]
Show full quote

Here is my config.sys:

[Menu]
menuitem=NoNetwork
menuitem=Network

[common]
device=C:\windows\himem.sys /testmem:off /cpuclock:off /v
dos=high,umb,auto
device=C:\windows\emm386.exe noems
devicehigh=C:\windows\setver.exe
devicehigh=C:\oak\oakcdrom.sys /D:mscd001
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=044,850,C:\WINDOWS\COMMAND\country.sys
;devicehigh=C:\windows\command\ansi.sys
FILES=45
BUFFERS=30,0
STACKS=9,256
;devicehigh=C:\usbaspi.sys
;devicehigh=C:\di1000dd.sys
;device=C:\NETWORK\ifshlp.sys
LASTDRIVE=Z
;DEVICE=C:\WIN3\SMARTDRV.EXE /DOUBLE_BUFFER


[network]
DEVICE=C:\WIN3\IFSHLP.SYS

[NoNetwork]

Here is my autoexec.bat:

rem C:\WIN3\net start
SET BLASTER=A220 I5 D1 H5 P330 E620 T6
SET MGA=C:\MGA\SETUP\
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,C:\WINDOWS\COMMAND\keyboard.sys
SET SOUND=C:\SB16
rem SET PATH=%PATH%;C:\PROGRA~1\BORLAND\DELPHI5\BIN;C:\PROGRA~1\BORLAND\DELPHI5\PROJECTS\BPL

rem PATH=C:\WIN3;%PATH%

GOTO %config%

:Network
path=C:\win3;C:\network
rem - By Windows 98 Network - C:\win3\net initialize
rem C:\NETWORK\nwlink
rem - By Windows 98 Network - C:\NETWORK\netbind.com
rem C:\NETWORK\umb.com
rem C:\NETWORK\tcptsr.exe
rem C:\NETWORK\tinyrfc.exe
rem C:\NETWORK\nmtsr.exe
rem C:\NETWORK\emsbfr.exe
rem - By Windows 98 Network - C:\WIN3\net start
C:\windows\dosstart.bat


:NoNetwork

I've just noticed - Windows 98 has remmed some of the network lines. Is there any way to stop Windows 98 from doing that? Or will I have to dual boot with DOS 6.22?

Just so you know, I may be gone for another few weeks, but I will be back.

Thanks

Some..? It remmed all of them! 🤣

Just make a STARTNET.BAT file with all the commands, and remove them from your AUTOEXEC.BAT. That will keep windows from messing with it.
These drivers also eat a LOT of conventional ram, so you'll only want to load them when you really need them. With TCP/IP enabled they use about 165K!!

Reply 21 of 21, by AdamP

User metadata
Rank Member
Rank
Member
jwt27 wrote:
Some..? It remmed all of them! :lol: […]
Show full quote
AdamP wrote:
Here is my config.sys: […]
Show full quote

Here is my config.sys:

[Menu]
menuitem=NoNetwork
menuitem=Network

[common]
device=C:\windows\himem.sys /testmem:off /cpuclock:off /v
dos=high,umb,auto
device=C:\windows\emm386.exe noems
devicehigh=C:\windows\setver.exe
devicehigh=C:\oak\oakcdrom.sys /D:mscd001
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=044,850,C:\WINDOWS\COMMAND\country.sys
;devicehigh=C:\windows\command\ansi.sys
FILES=45
BUFFERS=30,0
STACKS=9,256
;devicehigh=C:\usbaspi.sys
;devicehigh=C:\di1000dd.sys
;device=C:\NETWORK\ifshlp.sys
LASTDRIVE=Z
;DEVICE=C:\WIN3\SMARTDRV.EXE /DOUBLE_BUFFER


[network]
DEVICE=C:\WIN3\IFSHLP.SYS

[NoNetwork]

Here is my autoexec.bat:

rem C:\WIN3\net start
SET BLASTER=A220 I5 D1 H5 P330 E620 T6
SET MGA=C:\MGA\SETUP\
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,C:\WINDOWS\COMMAND\keyboard.sys
SET SOUND=C:\SB16
rem SET PATH=%PATH%;C:\PROGRA~1\BORLAND\DELPHI5\BIN;C:\PROGRA~1\BORLAND\DELPHI5\PROJECTS\BPL

rem PATH=C:\WIN3;%PATH%

GOTO %config%

:Network
path=C:\win3;C:\network
rem - By Windows 98 Network - C:\win3\net initialize
rem C:\NETWORK\nwlink
rem - By Windows 98 Network - C:\NETWORK\netbind.com
rem C:\NETWORK\umb.com
rem C:\NETWORK\tcptsr.exe
rem C:\NETWORK\tinyrfc.exe
rem C:\NETWORK\nmtsr.exe
rem C:\NETWORK\emsbfr.exe
rem - By Windows 98 Network - C:\WIN3\net start
C:\windows\dosstart.bat


:NoNetwork

I've just noticed - Windows 98 has remmed some of the network lines. Is there any way to stop Windows 98 from doing that? Or will I have to dual boot with DOS 6.22?

Just so you know, I may be gone for another few weeks, but I will be back.

Thanks

Some..? It remmed all of them! 🤣

Just make a STARTNET.BAT file with all the commands, and remove them from your AUTOEXEC.BAT. That will keep windows from messing with it.
These drivers also eat a LOT of conventional ram, so you'll only want to load them when you really need them. With TCP/IP enabled they use about 165K!!

Actually, the ones that don't say "- By Windows 98 Network -" were remmed by me. I didn't want them to load if they don't work.

Making a batch file seems to have done the trick. Why didn't I think of that?

I've also been trying to get it working on the other computer I mentioned. I found a driver for it (SMC 1233TX), but when I enable file sharing I get this:

VSERVER-1.jpg

I most certainly do not have MS-DOS 242.12! 🤣 It's actually running on a standalone version of MS-DOS 7.10. I tried setver, but it didn't work. This did not happen on the other computer in Windows 98 DOS (also 7.10). Also, don't ask me how, but I actually managed to get the dos drivers to load once (but only once).

Thanks