win3x
« Post Reply »

Welcome Guest. Please Login or Register.
Feb 22nd, 2018, 10:38pm



Post Message
Name:
Subject:
Message icon: Standard
Add tags:
Add Smileys:
Message:

Characters Remaining:

Security Check:
A combination of letters and numbers. All letters are in upper case.



Disable Smilies: Check this if you'll be adding code (or don't like smilies).
shortcuts (IE and NS6 only): hit alt+s to send, alt+p to preview, or alt+r to reset


Topic Summary
Posted by: deomsh Posted on: Feb 5th, 2018, 6:19pm
Working with Windows 3.1 is fun, but without internet not really practical. So I decided to make things work.

As I do not have Windows for Workgroups, the existing TCP/IP-stack was not an option. But I couldn't find a good description how to get on the internet with a network card connected to a LAN. Combining various sources and using a lot of time I finally succeeded. For the moment I can browse the internet with Internet Explorer 5, Opera 3.62 (Win32s), Netscape 3.04 (4x not working yet) and 16-bits Total Commander (FTP).

Sources I have used:
Users Guide for MS-DOS Clients, Microsoft Network Client for MS-DOS, Version 3.0 (PDF)
www.legroom.net/howto/msdos#network
https://technet.microsoft.com/en-us/library/cc750214.aspx
https://jeffpar.github.io/kbarchive/kb/128/Q128800/
https://jeffpar.github.io/kbarchive/kb/128/Q128751/
https://jeffpar.github.io/kbarchive/kb/142/Q142062/
https://web.archive.org/web/20040203011716/http://www.windowsnetworking.com/j_helmig/dosclnt3.htm
www.windowsnetworking.com:80/j_helmig/doscl3up.htm
http://manmrk.net/tutorials/DOS/msdos.htm
www.mdgx.com/umb.htm


INSTALLATION HOW-TO

First: get Microsoft Network Client for MS-DOS
http://manmrk.net/tutorials/DOS/download/DSK3-1.EXE and
http://manmrk.net/tutorials/DOS/download/DSK3-2.EXE
and a NDIS2-driver (DOS) for your network card and copy everything in one directory.

Hold the OEMSETUP.INF ready that comes with the NDIS2.

Further install SHARE.EXE in your CONFIG.SYS or AUTOEXEC.BAT. The ROM-DOS version I found on manmrk.net is compatible with my MS-DOS 7.1 / FAT32 installation, for the moment I am using in CONFIG.SYS "INSTALL=[path]\SHARE.EXE /L:99", in AUTOEXEC.BAT "[path]\SHARE.EXE /L:99" only. All other versions I tried are NOT compatible with FAT32. If you are using an other DOS-version without FAT32, first use SHARE.EXE that comes with that OS. http://manmrk.net/tutorials/DOS/download/SHARE.EXE

Upper Memory MUST be enabled, because of the very heavy use of memory with all those MS-DOS-drivers (I use UMBPCI in CONFIG.SYS and UMBFILL at the end of my AUTOEXEC.BAT, just before HDATSR.EXE. BTW: gives no problems with HDA2.DLL). My system is not compatible with EMM386. With MSD.EXE you can find in pure MS-DOS which regions are suitable for UMB's. On my system CC00-CFFF and D000-DFFF (after enabling LAN/Audio - they use addresses in the E-region). See further www.mdgx.com/umb.htm.

Of cause one can try first without UMB's. If I am right Windows needs 240K free conventional memory to start, my NDIS2-driver uses 42K, the Client Network-drivers 247K!


Second: open wcsetup.inf and add your driver to [netdrivers], for my NIC:
"1=,rtgnd.dos,,rtgnd.dos," (without quotation marks). Then open network.inf and add the driver description to [netcard], for my NIC:

"ms$rtl8168="RTL8168/8111 Family Gigabit Ethernet Adapter",000,ndis,ethernet,real,ms$RTL8168,ms$RTL8168_nif" (without quotation marks).

Also add the [ms$RTL8168] and [ms$RTL8168_nif], for my NIC:

;;Realtek_NIC_8168_PCIe
[ms$RTL8168]
ndis2=1:rtgnd.dos

[ms$RTL8168_nif]
drivername=rtgnd$
param=Medium,"Medium type ",text,"_Auto,_1000Full,_100Full,_100Half,_10Full,_10Half",_Auto,0x30
param=NETADDRESS,"Network Address",chars,13,"@000000000000",0x02
param=ETHERID,"Node Address",chars,13,"@000000000000",0x02
param=BusNo ,"Adapter's Bus Number",int,"0,255,1",0,0x32
param=DeviceNo ,"Adapter's Device Number",int,"0,31,1",0,0x32

See also Q128800 and the OEMSETUP.INF that comes with the NDIS2-driver.


Third: run Setup, and choose the network adapter you just added; further "use the Full Redirector" (without this option things didn't work on my system!!); add only "Microsoft TCP/IP".

Do not restart, but copy WSAHDAPP.EXE manually to the NET-directory chosen during install (see Q142062). Don't forget to expand the file ("EXPAND WSAHDAPP.EX_ WSAHDAPP.EXE").


Fourth: check/edit CONFIG.SYS (I don't use EMM386 or SMARTDRV DOUBLE_BUFFER), AUTOEXEC.BAT, TCPUTILS.INI and PROTOCOL.INI according Q128751, with exception of "C:NET\NET START". This must be "C:NET\NET START FULL" (without qoutation marks). See also "Users Guide" page 16.

Fifth: reboot and stay in MS-DOS. Test if TCP/IP is working with ipconfig and ping.

Sixth: choose inside Windows "Microsoft Network (or 100% compatible)" or "Microsoft LAN Manager (version 2.1 basic)".

Seventh: in Control panel item "Internet" choose "local area network" and disable all Multimedia. Without images, loading websites will be much easier, images can afterwards loaded (one by one) if needed. Also disable Active Scripting/Javascript. It seems that in 16-bits browsers scripts above 32KB cannot be processed, just like in Notepad. Internet Explorer 5 is the most usable version. On system with more than 64MB RAM install with "Setup /F:16" (without quotation marks) on a commandline.

Posted by: watler Posted on: Feb 7th, 2018, 9:20pm
Windows 3.1 on the internet sounds good.

This old disk drive had windows 98 on it.
I'll patch it with w3xstart.exe, and install windows 3.1. cheesy

I download stuff to C:\NETWORK\.

I add to Config.sys:
DEVICE=C:\NETWORK\UMBPCI.SYS
INSTALL=c:\NETWORK\SHARE.EXE /L:99

Run MS client setup.

Think I have a PCI RTL8139 card.
I've got an NDIS2DOS folder with oemsetup.inf!
Can I just install with setup program?
Posted by: deomsh Posted on: Feb 7th, 2018, 9:30pm
You can try, there is an option to import another driver. In case it doesn't work, you have to edit the inf-files as described, with information in the inf- and eventually nif-file coming with the driver.

But I have bad experiences with Realtek's OEMSETUP-files. I am using the same NDIS2-driver in Windows 98SE, I had to write my own CHICAGO$ inf-file before installation succeeded. tongue
Posted by: watler Posted on: Feb 7th, 2018, 9:42pm
I must remove the IPX Compatible protocol?


Restart...

Incompatible value for Bindings.

Protocol.ini
Bindings=

Well.. the other one says,
"Bindings=RTL8139", so we will try that value.

Restart

You were logged on , but have not been validated by a server. Therefore, yu may not have permission to use some resources.
The command completed successfully.

cd C:\win31
setup
change network...LAN Manager (version 2.1 basic)
win

Install IE5
restart windows
Change control panel, internet settings.
restart windows

Run IE5

Well... IE5 goes nowhere and is missing most of the buttons.

Humm... I thought I heard the 8139 LAN card tick once...


Posted by: deomsh Posted on: Feb 8th, 2018, 02:54am
Did you copied WSAHDAPP.EXE (after expandiing) to your NET-directory (step three)?

Obviously you didn' follow what is said in step four. You can find Q128751 is on http://jeffpar.github.io/kbarchive. Don't forget that your NET START command must be NET START FULL in AUTOEXEC.BAT. Check with MEM /a/c/p for REDIR (about 100KB!). Further: compare PROTOCOL.INI in your LANROOT with the information-files coming with your NDIS2-drivers.
Posted by: watler Posted on: Feb 8th, 2018, 3:23pm
Where can I find WSAHDAPP.EXE?

Most of your links don't work. sad
Can you explain the relevant information?
Posted by: deomsh Posted on: Feb 8th, 2018, 6:52pm
I have updated all links.

WSAHDAPP.EX_ is on the second disk.

Try again please. rolleyes

Eventually post your CONFIG.SYS, AUTOEXEC.BAT, TCPUTILS.INI, PROTOCOL.INI and SYSTEM.INI (not from Windows, but from your NET-directory). Give also the exact name of your NDIS2-driver.
Posted by: watler Posted on: Feb 8th, 2018, 8:45pm
Most of your links are still broken. cry

config.sys
DEVICE=HIMEM.SYS
FILES=20
LASTDRIVE=Z
DOS=HIGH,UMB
DEVICEHIGH=C:\NETWORK\UMBPCI.SYS
INSTALL=C:\NETWORK\SHARE.EXE /L:99
devicehigh=C:\RTLNET\ifshlp.sys


autoexec.bat
C:\RTLNET\net initialize
pause
set ieppp=C:\PROGRA\IE5
path C:\RTLNET;C:\PROGRA\IE5;
C:\RTLNET\netbind.com
pause
C:\RTLNET\umb.com
C:\RTLNET\tcptsr.exe
C:\RTLNET\tinyrfc.exe
C:\RTLNET\nmtsr.exe
C:\RTLNET\emsbfr.exe
C:\RTLNET\net start full


Protocol.ini
[network.setup]
version=0x3110
netcard=RTL8139,1,RTL8139,1
transport=tcpip,TCPIP
lana0=RTL8139,1,tcpip

[TCPIP]
NBSessions=6
SubNetMask0=255 0 0 0
IPAddress0=0 0 0 0
DisableDHCP=0
DriverName=TCPIP$
BINDINGS=RTL8139
LANABASE=0
[ndishlp$]
DriverName=ndishlp$
Bindings=RTL8139

[protman$]
DriverName=protman$

[data]
version=v4.10.2222
netcards=

[protman]
DriverName=PROTMAN$
PRIORITY=MS$NDISHLP

[RTL8139]
DriverName=rtsnd$
Medium=_Auto


System.ini:
[network]
sizworkbuf=1498
filesharing=no
printsharing=no
autologon=yes
computername=COMPUTER
lanroot=C:\RTLNET
username=COMPUTER
workgroup=WORKGROUP
reconnect=yes
dospophotkey=N
lmlogon=0
logondomain=WORKGROUP
preferredredir=full
autostart=full
maxconnections=8

[network drivers]
netcard=rtsnd.dos
transport=tcpdrv.dos,nemm.dos
devdir=C:\RTLNET
LoadRMDrivers=yes

[386enh]
TimerCriticalSection=5000
UniqueDosPSP=TRUE
PSPIncrement=2

[Password Lists]
*Shares=C:\RTLNET\Shares.PWL
COMPUTER=C:\RTLNET\COMPUTER.PWL

DOS shows me this error:
Unloadable TCP 1.0 not loaded

Win3x says that DOS socket was not found.
Posted by: watler Posted on: Feb 8th, 2018, 11:50pm
The http://www.windowsnetworking.com:80/j_helmig/doscl3up.htm link works.

Since the images show a 3com Etherlink card, I thought I would try a PCI 3COM.
Once again, no luck with any sort of DOS drivers. sad

However, WFWG311 seemss to work ok with its Enhanced Mode drivers. huh

I made this forum post with WFWG311 and Netscape 4.08.
Posted by: deomsh Posted on: Feb 9th, 2018, 4:31pm
I am sorry to hear that most links doesn't work for you. If you are browsing with an old browser, https will not work I am afraid. Little trick is searching the address with google and if found using "In Cache", will sometimes work.

About your files: CONFIG.SYS is looking good.

Net part should include dnr and sockets, just above line "NET START FULL".

AUTOEXEC.BAT

C:\RTLNET\net initialize
pause
set ieppp=C:\PROGRA\IE5
path C:\RTLNET;C:\PROGRA\IE5;
C:\RTLNET\netbind.com
pause
C:\RTLNET\umb.com
C:\RTLNET\tcptsr.exe
C:\RTLNET\tinyrfc.exe
C:\RTLNET\nmtsr.exe
C:\RTLNET\emsbfr.exe
C:\RTLNET\dnr.exe
C:\RTLNET\sockets.exe

C:\RTLNET\net start full

If following file is not in your LANROOT (i.e. C:\RTLNET) try writing one.

TCPUTILS.INI

[tcpglobal]
drivername=GLOBAL$
hostname=username

[sockets]
drivername=SOCKETS$
bindings=TCPIP
numsockets=4
numthreads=32
poolsize=3200
maxsendsize=1024

[dnr]
drivername=DNR$
bindings=TCPIP

[telnet]
drivername=TELNET$
bindings=TCPIP
nsessions=0
max_out_sends=0


Your protocol.ini looks good, mine shows some small differences (lowercase and uppercase are not identical, as far as I know). I substituted already your NDIS2-drivers name. I am not sure if the "ms$" or "MS$" in "ms$rtl8139" or "MS$RTL8139" will make any difference, I assume not.

PROTOCOL.INI

[network.setup]
version=0x3110
netcard=ms$rtl8139,1,MS$RTL8139,1
transport=tcpip,TCPIP
lana0=ms$rtl8139,1,tcpip

[TCPIP]
NBSessions=6
SubNetMask0=255 0 0 0
IPAddress0=0 0 0 0
DisableDHCP=0
DriverName=TCPIP$
BINDINGS=MS$RTL8139
LANABASE=0
[protman]
DriverName=PROTMAN$
PRIORITY=MS$NDISHLP

[MS$RTL8139]
DriverName=rtsnd$
Medium=_Auto

My System.ini is the same, except for the "sizworkbuf=1498" entry in [network], which I don't have. But doesn't look problematic. Further: drivername is different of cause.

To test go first to MS-DOS and type IPCONFIG C:\RTLNET (your LANROOT). If things are working you mast see your IP-address etcetera (in fact the one of the LAN you are connected to). Then PING WIN3x.CONFORUMS.COM which must return conforums' IP.

If this is working start Windows. Because you also have TCPIP-32bit, there will be two Windows Sockets on your system. When you open "Internet" in Control panel and change something like SSL3, there should be a dialog which WINSOCK.DLL Internet Explorer have to use. Then choose the one in your LANROOT (in your case C:\RTLNET).

Internet Explorer 5, Opera 3.62 and Netscape 3.0 are working for me only without asynchronous DNS. I still have no progress using Netscape 4.08.



Posted by: watler Posted on: Feb 9th, 2018, 7:20pm
Much better! cool

This leads me to a never-ending message of:
Initializing TCP/IP via DHCP


Do you think I would have better luck with a different computer or networking card?
Posted by: deomsh Posted on: Feb 10th, 2018, 2:59pm
Don't think so, what type is your router?

According to https://jeffpar.github.io/kbarchive/kb/179/Q179238/ this is a problem about configuring the DHCP-server. MSClient simply didn't get an IP.

Maybe you can login your router and check possible DHCP-configurations. huh

My router has IP Address 192.168.2.254, standard password 1234 and in LAN-settings: Subnet Mask 255.255.255.0; DHCP-Server ENABLED; Lease Time TWO DAYS.
Posted by: deomsh Posted on: Feb 18th, 2018, 05:52am
I found following possible reasons MSClient not getting an IP:

1) In case of unlimited leasetime, must be set finite. See:
https://www.mail-archive.com/unattended-info@lists.sourceforge.net/msg00306.html

2) IRQ-problems with the NIC. Right IRQ can be set in PROTOCOL.INI. In your case add:

[MS$RTL8139]
INTERRUPT=<number>

See:
https://www.mail-archive.com/unattended-info@lists.sourceforge.net/msg00289.html

Lately I succesfull installed MSClient on Asrock K7VM2 with onboard Via Rhine II NIC.
Posted by: watler Posted on: Feb 18th, 2018, 7:05pm
Everything started.
However, MSIE only rotates its globe forever and Netscape crashes windows.
This is silly. laugh


Deomsh, are you interested in creating and testing networking components and programs for win16?
Posted by: deomsh Posted on: Feb 19th, 2018, 11:34am
Can you browse the network when still in MS-DOS? Command: <NET > Are IPCONFIG <LANROOT> (the full path to your NET-directory) and PING <some website> working from MS-DOS? All commands without the <>.

When yes, start Windows 3.x and install IE50 again and do NOT use asynchronous DNS. Also: disable Active scripting and set homepage to www.google.com. Enable preview mode without pictures.

What sort of Networking utilities you have in mind?

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls