Hi All,

I've made available a preview of ISC DHCP v3.05 for OS/2 & eComStation at
http://download.smedley.info/dhcp-3.0.5-os2-preview1.zip

ISC's Dynamic Host Configuration Protocol Distribution provides a freely redistributable reference implementation of all aspects of DHCP, through a suite of DHCP tools:

* A DHCP server
* A DHCP client
* A DHCP relay agent

These tools all use a modular API which is designed to be sufficiently general that it can easily be made to work on POSIX-compliant operating systems and also non-POSIX systems like Windows NT and MacOS.

The DHCP server, client and relay agent are provided both as reference implementations of the protocol and as working, fully-featured sample implementations. Both the client and the server provide functionality that, while not strictly required by the protocol, is very useful in practice.
The DHCP server also makes allowances for non-compliant clients which one might still like to support.

Current notes on the OS/2 build:
It is built with Innotek GCC 3.3.5 CSD1 and requires the libc061 runtime dll which is available from ftp://ftp.netlabs.org/pub/gcc/libc-0.6.1-csd1.zip

**This has only had very limited testing so all feedback to This email address is being protected from spambots. You need JavaScript enabled to view it. is appreciated**

To use the client, start dhclient.exe with parameters like the following:
ifconfig lan0 10.1.1.1 netmask 8.0.0.0
ifconfig lan0 alias 10.1.1.1 netmask 8.0.0.0
@dhclient -sf dhconf.cmd -e ETC=C:MPTNETC lan0

dhconf.cmd is a rexx script that takes the parameters picked up by dhclient.exe and uses them to set the IP address and default routes.

Note that none of the tools have (yet) been educated to look in %etc% for configuration files, so dhcpd.exe needs to be expicitly told where its configuration files are, ie:
dhcpd.exe -f -d -cf dhcpd.conf -lf lease.f lan1

dhcpd currently gives some warnings about a lease file rename failing - these are under investigation.

Many thanks to Crazybonz for doing the initial port of DHCP v3.0.1, and to Yoda for encouraging me to do the dhcpd port and for testing!

Cheers,

Paul Smedley
Adelaide, Australia
2nd January, 2007.

Source: Paul Smedley

OS/2-eCS-ArcaOS General News

More in General  

OS/2-eCS-ArcaOS Software News

More in Software  

Latest Forum Posts

Site News

More in Site News