Dos Tcp/Ip Configuration - Packet Driver And Wattcp; Wattcp.cfg Configuration File; Dos Tcp/Ip Configuration - Ms Client For Dos - Technologic Systems TS-5700 User Manual

Table of Contents

Advertisement

TS-5700 User's Manual
9.2 DOS TCP/IP configuration – Packet Driver and WATTCP
A standard packet driver for DOS is installed on the board as shipped, along with sample network applications
written with the public domain Waterloo TCP/IP software (WATTCP). WATTCP is a freely available package
(including source code) that provides TCP/IP connectivity for programs written for the DOS environment. See
the Technologic Systems
http://www.embeddedARM.com/old/downloads/wat2001t.zip
In addition, we have written a simple DOS HTTP web server using WATTCP that is included on the TS-5700
utility disk. The simple web server uses CGI calls to control a DIO pin from a web browser. Full source code is
included, and you are free to modify and extend the code for your own use on Technologic Systems Single
Board Computers.
The DOS packet driver (DM9PCIPD.COM) is loaded by AUTOEXEC.BAT once DOS starts. Hardware settings
are read from the EEPROM chips and used by the packet driver to initialize each DM9102A. Below is an
example of the DOS command line to load a packet driver for the Ethernet interface:
DM9PCIPD 0X60
The TCP/IP settings for the WATTCP code are stored in the WATTCP.CFG configuration file in the A:
\ETHERNET directory, this file must be modified for the network environment where the TS-5700 will be
installed.

9.3 WATTCP.CFG configuration file

my_ip=192.168.0.20
hostname="epc.embeddedARM.com"
netmask=255.255.255.0
gateway=192.168.0.1
nameserver=192.168.0.1
With the WATTCP.CFG file properly setup and the 10/100 base-T cable connected, you should be able to ping
other nodes on the network, i.e. 'ping www.embeddedARM.com'
Other WATTCP examples include: serial to telnet redirector, http file download, telnet server, and finger, web
server with I/O control . Many more can be downloaded from the internet as freeware.
9.4 DOS TCP/IP configuration – MS Client for DOS
The Davicom Ethernet adapter has the MS Client for DOS driver available. This has been tested and found to
work on Windows workgroups as well as Samba workgroups.
Contact Technologic Systems
Technologic Systems
DOS Ethernet page
or click the following link to download the WATTCP source code.
// IP address of this Ethernet interface.
// Host name of this computer.
// Used to determine which IP's are local.
// Gateway for internet access.
// Name server for domain name lookups.
with questions.
17
http://embeddedARM.com/
5/2009

Advertisement

Table of Contents
loading

Table of Contents