Introduction: Retro Dos Web Server.
Thought about experimenting do home automation or other things with the parallel port that the web server can act as an interface to for control, but have not made time to do that.
Step 1: Software.
References:
http://www.georgpotthast.de/sioux/packet.htm
http://www.rubbermallet.org/software/webserv.html
http://files.oldos.org/files/dos/pk250dos.exe
http://www.boa.org/
Step 2: Hardware.
Step 3: OS Install.
Boot with the Freedos disk or cd. It will prompt you for the installation of the system. (cdrom is better).
Remove the floppy drive and reboot. Make sure your install worked.
Note: You may have to change your bios settings to boot from the cd rom. Check your motherboard manual for sure. There are also floppy disk images you can download to boot from cd via floppy if you bios does not support direct cd boot.
Step 4: Getting the Server Up and Running.
First you want to make a directory to hold the three main programs.
Programs needed:
You will need the network interface card (nic) driver, the packet driver and the web server software now. in my case with a 3com card 3c90xpd. (http://www.georgpotthast.de/sioux/packet.htm) or your driver disk.
You need the packet driver. (comes with the webserver program zip ifle) npktdrv.exe. You will need the details of your network and an unused ip adress..
npktdrv -ip=192.168.x.40 -gateway=192.168.x.1 -netmask=255.255.255.0
Lastly, you need the web server Webserv itself. Available at: http://rubbermallet.org/download/websv09b.zip Expand that into the same directory. You well need to extract all the files to the ws directory.
You will create a batch file to get it all together.
start.bat:
[code]
3c90xpd
npktdrv -ip=192.168.1.40 -gateway=192.168.1.1 -netmask=255.255.255.0
webserv
[/code]
To run it:
c:\ws> start
Go to another machine and use your web browser to pull up the server's web page.
Note: dos web browsers;
http://www.glennmcc.org/rayandrews/ray_a4e.zip
http://www.glennmcc.org/arachne/a195gpl.zip