The steps, and references to do this:
1. Create a Puppy bootable flash drive, and boot from it.
2. Install VirtualBox. I followed all of gray's excellent reference using his pet:
www.murga-linux.com/puppy/viewtopic.php?t=47128
3. Prepare to load DOS, and Windows for Workgroups. I made this a lot easier on myself by creating image files of the actual installation disks. In my case I used an XP machine with WinImage software to create .ima files of the DOS and WFW installation diskettes. Note that when opening floppy image files on the VirtualBox floppy drive, you may have to change the selection for "File of type" to "All Files" dependent on your image file extension as VirtualBox defaults to display only ".img" extensions.
4. Create a virtual machine in VirtualBox, and load the DOS, and WFW software. The reference I used in doing so was this good How-To:
forums.virtualbox.org/viewtopic.php?t=859
My application software only required DOS, but I wanted to easily move files between it, and the puppy host. To accomplish this I installed WFW to have networking available (easier to setup and use than straight DOS networking); networking is required to setup a network drive which in turn can use Samba which points to a share folder.
Specific settings of note on the VirtualBox Client:
Code: Select all
General - Basic
Operating System: Other
Version: DOS
Network - Adapter 1
Enable Network Adapter (checked)
Attached to: Host-only Adapter
Name: vboxnet0
Advanced - Adapter Type
Pcnet-PCI II (Am79C970A)
Cable connected (checked)
Serial Ports - Port 1
Enable Serial Port (checked)
Port Number: COM1 (IRQ 4 and IO Port 0x3F8)
Port Mode: Host Device
Port/File Path: /dev/ttyS0
Shared Folders
Folder Path: /root/my-documents
Folder Name: CI4268
The network adpater driver is NDIS2 driver for IBMADOS and is at
support.amd.com/us/Search/results.aspx?k=PCNTND.DOS
The TCP/IP protocol download link is at
support.microsoft.com/kb/99891
5. Complete installing all the DOS/WFW software, and drivers. For reference my autoexec.bat file looks like this:
Code: Select all
C:\WINDOWS\SMARTDRV.EXE
C:\WINDOWS\net start
@ECHO OFF
PROMPT $p$g
PATH C:\WINDOWS;C:\DOS;c:\TRIGARD;c:\CUSTOM;c:\TURBOC;c:\INTEL
SET TEMP=C:\DOS
C:\WINDOWS\MSCDEX.EXE /S /D:CD001
Code: Select all
REM DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\WINDOWS\HIMEM.SYS
DOS=HIGH
FILES=30
BUFFERS=30
LASTDRIVE=Z
DEVICE=C:\CDROM\CDROM.SYS /D:CD001
DEVICE=C:\MOUSE\MOUSE.EXE
DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER
DEVICE=C:\WINDOWS\IFSHLP.SYS
STACKS=9,256
www.murga-linux.com/puppy/viewtopic.php?t=36141&search_id=1963786496
Do create the directory etc/samba and in it create a symlink to the actual location of the Samba configuration file.
Code: Select all
ln -s /etc/opt/samba/smb.conf /etc/samba/smb.conf
Code: Select all
# Global parameters
[global]
workgroup = Workgroup
server string = Samba Server %v
log file = /var/log/samba/log.%m
max log size = 50
security = USER
# Share
[MyDocs]
comment = my-documents folder on host
path = /root/my-documents/
public = yes
guest ok = yes
writable = yes
printable = no
7. Now to make the network share function, make sure Samba is running which if you created rc.samba as directed in the post I referenced can be done manually by
Code: Select all
/etc/rc.d/rc.samba start
Code: Select all
add user <username>
smbpasswd -a <username>
8. In order to make the serial port work from the client you MUST execute the following command in puppy which I appended to rc.local so it executes on every bootup.
Code: Select all
setserial /dev/ttyS0
10. Have fun!