Dec 282017
 
PDCLKSET is a powerful utility for setting PC clock on a network. Uses packet driver and has built-in PING client and server. FREE - A must for networks.
File PDCLK145.ZIP from The Programmer’s Corner in
Category Network Files
PDCLKSET is a powerful utility for setting PC clock on a network. Uses packet driver and has built-in PING client and server. FREE – A must for networks.
File Name File Size Zip Size Zip Type
ARP.ASM 15533 4715 deflated
BUFS.ASM 3782 1216 deflated
COPYING 12735 4817 deflated
IP.ASM 56295 14566 deflated
MAKEFILE 793 430 deflated
PDCLKSET.ASM 41909 11649 deflated
PDCLKSET.COM 13456 9150 deflated
PDCLKSET.DOC 30153 9824 deflated
PDCLKSML.COM 9426 6270 deflated
PDTBUILD.COM 15864 10793 deflated
PING.ASM 16684 4836 deflated
PKTDR.ASM 1418 407 deflated
READ.ME 3538 1702 deflated
README.1ST 1472 813 deflated
SETTIME.ASM 5611 1783 deflated
TBLBUILD.ASM 21174 5121 deflated

Download File PDCLK145.ZIP Here

Contents of the READ.ME file


Version 1.45 of the PDCLKSET package has the following major new features
compared to the 1.33 version:

- A lot of enhancements to the ping function, including domain name
resolving, packet size sweep, higher throughput and bigger queueing
capacity to handle packet bursts needed to test routers and bridges.
Can now also send UDP echo and UDP discard packets.
Timeouts can be increased as needed for slow links.
=> A bug introduced in ver 1.35 preventing 8088/8086 use is fixed. <=
Retries instead of stops if a high speed CPU overruns the packet
driver or network card.
Removed junk characters displayed when the time server IP had all 12 digits.

- PDTBUILD can now detect if several hosts use the same IP number (in
addition to detecting if one host uses several IP numbers).
ARP probing to speed up collection of IP and hardware addresses (works
well even when proxy ARP routers are used).

There is no functional change regarding setting the PC clock from the net.

The new ping version has proved very useful when installing routers in a LAN
and WAN environment. Pinging between two equal PCs running PDCLKSET will not
drop a single packet when connected to the same LAN segment, even when the
interval is set to zero. If the PCs are connected with a router in between,
PDCLKSET itself may drop a few packets (around 0.001 %). Interestingly,
even a full speed router drops 10 times as much (when sweeping packet size)!

By adjusting interval and packet size you can test WAN links at different
load levels and by changing data pattern you may find some modems loose
syncronizition (we changed our RAD ASM-40 to RAD FCD-2 because of this).

The high load that ping now can generate can also speed up testing of
network drivers. For example, in real life using a 7.x WD8003E packet
driver my PC runs on the average two weeks until it hangs itself. Using ping
at full speed it will hung itself in half a minute, a considerable test
time speed up. Using WD8003E ver 9.x I have not been able to hang it,
neither by handling 2500 short packets per second nor by loading with
9.5 Mbps using long packets or any other combination.



Files included in the package:

PDCLKSML.COM is the smallest program that can only set time and zonename.
PDCLKSET.COM is as above plus has ping client and server.
PDTBUILD.COM is as above plus can build address tables and find duplicates.
README.1ST is a very short summary of features.
READ.ME is this file.
PDCLKSET.DOC is the full documentation.
COPYING is the GNU copyleft information.
MAKEFILE and *.ASM files are used to compile and generate the programs.


Jan E LDC

============================================================================

A fix for dis_pkt version 1.09 (changed/added lines marked by arrows).
The next version will have the fix included, says Joe D.

get_address:
movax,_AX[bp]
movbx,_BX[bp]
movcx,_CX[bp]
movsi,_SI[bp]
movdi,_DI[bp]
moves,_ES[bp]
cld
cmpcx,ETHERADDR_LEN; Make sure it's an ethernet address
jb get_address_err ; nb = bad length, fail <==============
callget_eaddr; address to caller's area
movax,ds
moves,ax
movdi,offset address; where to store Ethernet address
call get_eaddr ; get board's Ethernet address
mov _CX[bp],ETHERADDR_LEN ; return the right value <=============
jmpgood_ret

===============================================================================



Contents of the README.1ST file


Version 1.45 of the PDCLKSET package has the following major new features
compared to the 1.33 version:

- A lot of enhancements to the ping function, including domain name
resolving, packet size sweep, higher throughput and bigger queueing
capacity to handle packet bursts needed to test routers and bridges.
Can now also send UDP echo and UDP discard packets.
Timeouts can be increased as needed for slow links.
=> A bug introduced in ver 1.35 preventing 8088/8086 use is fixed. <=
Retries instead of stops if a high speed CPU overruns the packet
driver or network card.
Removed junk characters displayed when the time server IP had all 12 digits.

- PDTBUILD can now detect if several hosts use the same IP number (in
addition to detecting if one host uses several IP numbers).
ARP probing to speed up collection of IP and hardware addresses (works
well even when proxy ARP routers are used).

There is no functional change regarding setting the PC clock from the net.

The new ping version has proved very useful when installing routers in a LAN
and WAN environment. Pinging between two equal PCs running PDCLKSET will not
drop a single packet when connected to the same LAN segment, even when the
interval is set to zero. If the PCs are connected with a router in between,
PDCLKSET itself may drop a few packets (around 0.001 %). Interestingly,
even a full speed router drops 10 times as much (when sweeping packet size)!

By adjusting interval and packet size you can test WAN links at different
load levels and by changing data pattern you may find some modems loose
syncronizition (we changed our RAD ASM-40 to RAD FCD-2 because of this).

The high load that ping now can generate can also speed up testing of
network drivers. For example, in real life using a 7.x WD8003E packet
driver my PC runs on the average two weeks until it hangs itself. Using ping
at full speed it will hung itself in half a minute, a considerable test
time speed up. Using WD8003E ver 9.x I have not been able to hang it,
neither by handling 2500 short packets per second nor by loading with
9.5 Mbps using long packets or any other combination.



Files included in the package:

PDCLKSML.COM is the smallest program that can only set time and zonename.
PDCLKSET.COM is as above plus has ping client and server.
PDTBUILD.COM is as above plus can build address tables and find duplicates.
README.1ST is a very short summary of features.
READ.ME is this file.
PDCLKSET.DOC is the full documentation.
COPYING is the GNU copyleft information.
MAKEFILE and *.ASM files are used to compile and generate the programs.


Jan E LDC

============================================================================

A fix for dis_pkt version 1.09 (changed/added lines marked by arrows).
The next version will have the fix included, says Joe D.

get_address:
movax,_AX[bp]
movbx,_BX[bp]
movcx,_CX[bp]
movsi,_SI[bp]
movdi,_DI[bp]
moves,_ES[bp]
cld
cmpcx,ETHERADDR_LEN; Make sure it's an ethernet address
jb get_address_err ; nb = bad length, fail <==============
callget_eaddr; address to caller's area
movax,ds
moves,ax
movdi,offset address; where to store Ethernet address
call get_eaddr ; get board's Ethernet address
mov _CX[bp],ETHERADDR_LEN ; return the right value <=============
jmpgood_ret

===============================================================================

PDCLKSET sets the time and date of the PC clock using a TIME server.
It has daylight saveing (summer time) algorithms for most of the world.
It can use BOOTP to get IP number and other info.
PDCLKSET talks to the network card via a packet driver.

PDCLKSET can assign the proper normal or dls timezone name to
an environment variable (TZ is used by most systems).

There is also a very powerful buildt in ping client and server.

The PDTBUILD program, which is included in the ZIP package, looks
at all ARP broadcasts and generates a table with all the IP hosts
on this (sub)net. It detects IP and hardware address duplication.

And best of all, PDCLKSET is so small (12 KB) you can use it even on
diskette-only PCs.

For more info, see file PDCLKSET.DOC.

PDCLKxxx.ZIP is available at msdos.ftp.sunet.se:pub/network/pdclkset,
ftp.lu.se:pub/network/pdclkset, wsmr-simtel20.army.mil:PD1:,
oak.oakland.edu:pub/msdos/pktdrvr, wuarchive.wustl.edu:mirrors/msdos/pktdrvr,
nic.funet.fi:pub/msdos/networks/pktdrvr, and probably other Simtel mirror
archives.


Happy timesetting!


_____________________________________________________________________________
Jan Engvald, Lund University Computing Center, Box 783, S-220 07 LUND, Sweden
Telephone: +46 46 107458, Telefax: +46 46 138225, Telex: 33533 LUNIVER S
E-mails: [email protected], [email protected], psi%2403732202020::xjeldc


 December 28, 2017  Add comments

Leave a Reply