From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: System identification number under DEC-Unix or openVMS on alpha ?
Date: 1995/12/31 [thread overview]
Message-ID: <1995Dec30.232641.1@eisner.decus.org> (raw)
In-Reply-To: 4c16ev$ej8@cicg-communication.grenet.fr
In article <4c16ev$ej8@cicg-communication.grenet.fr>, hewat@ill.fr (Alan Hewat) writes:
> ewilts@vmsmail.gov.bc.ca (Ed Wilts) writes:
>
>> hewat@ill.fr (Alan Hewat) writes:
>>> What is the command to get the unique system identification number for
>>> a DEC alpha running Unix ? running openVMS ? I have done 'man -k' and
>>> looked through the FAQ without sucess.
To write a program on VMS which determines the Ethernet address, you
need to read the I/O User's Guide either from paper or from CD-ROM
via the Bookreader program. The programming to retrieve this
information is not trivial enough for an email description.
Remember that if DECnet Phase IV is running, you want the
permanent Ethernet address, not the current Ethernet address.
> Thanks for your very rapid reply. Now, if I could only find out how to get
> the Ethernet hardware address from both a command and within an app. I'd be
> able to port my application to DEC (hint, hint :-)
There is no generic VMS command to return the hardware address of an
Ethernet adapter. It is not provided by the SHOW DEVICE command,
for example.
You could try parsing the output of some intricate set of System Dump
Analyzer commands, but of course those commands would likely be different
for different versions of VMS and perhaps even for different models of
Ethernet adapters on the same version of VMS. Also the System Dump
Analyzer is not present on every VMS system -- it is an installation
option up to the customer.
You could try parsing the output of DECnet management commands, but
of course there are two different implementations of DECnet available
on VMS, with entirely different management commands. Also some machines
do not have any DECnet installed -- that is another installation option.
You could try parsing the output of TCP/IP management commands -- since
there are five different vendors of TCP/IP for VMS it seems to me at
least one of them may have a method to extract this information. Of
course not all customers have any TCP/IP installed.
Did I mention that parsing command output is risky, since vendors do
not guarantee the output will not change from version to version ?
If by chance you should succeed in producing output that shows the
Ethernet address, keep in mind that it is 48 bits long and DCL numeric
variables on VMS hold at most 32 bits, so you better keep it as a text
string.
===============================
One cheap but effective method of piracy deterrance is to display as
part of the software operation "This copy licensed to the XYZ workgroup
within ABC corporation". When you have enough sales that piracy is a
problem they you will have enough money to buy a PAKgen license at the
retail price even if DEC is not going to include it in the ASAP SDK.
Larry Kilgallen
LJK Software
next prev parent reply other threads:[~1995-12-31 5:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-12-29 5:00 System identification number under DEC-Unix or openVMS on alpha ? Alan Hewat
1995-12-29 5:00 ` Ed Wilts
1995-12-29 5:00 ` Alan Hewat
1995-12-30 5:00 ` David L. Cathey
1995-12-31 5:00 ` Alan Frisbie
1996-01-01 5:00 ` John Hascall
1996-01-01 5:00 ` Alan Frisbie
1995-12-31 5:00 ` Larry Kilgallen [this message]
1995-12-31 5:00 ` Larry Kilgallen
1995-12-30 5:00 ` Stephen Hoffman
1996-01-02 5:00 ` Jerry Leslie
1995-12-31 5:00 ` fuller
1996-01-07 5:00 ` zrepachol
1996-01-11 5:00 ` Karl-Heinz Dewenter
-- strict thread matches above, loose matches on Subject: below --
1995-12-29 5:00 Charles Hall
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox