--
NOSPAM: remove _ to email me.
Here's what I know about it, from the opposite perspective (trying to
figure out what the MAC address is without root privileges or looking
at the arp cache):
http://groups.google.com/groups?as_umsgid=%3Cu6nj7rmhe5l476%40corp.supernews.com%3E&hl=en
Look near the end - if the high bit of the first byte of the hostid is off,
the first byte represents the architecture (1st nybble) and model (2nd
nybble), otherwise architecture and model are to be obtained elsewhere
(and presumably the value of the first byte of the hostid is assigned so
as to maximize the number of unique hostids available, and thus can't be
calculated unless you have a substantial table of values actually assigned,
and some other obtainable information to determine which apply).
Y'know, if you just want to be able to obtain a hostid over the network,
it's easy: pick an unassigned port number, and add an entry to
/etc/services, and another entry to /etc/inetd.conf, something like these:
/etc/services:
hostid 8887/tcp
/etc/inetd.conf:
hostid stream tcp nowait nobody /usr/bin/hostid
After that, you can use e.g. telnet or mconnect with a port argument to
to retrieve the hostid from the system you set up accordingly. Keep in
mind that you might not want the whole world to be able to retrieve your
hostid, and so your choice of a port number should be made in consultation
with whoever maintains your firewall(s).
--
mailto:rlh...@mindwarp.smart.net http://www.smart.net/~rlhamil
For an E10K domain to be created you need to get a license. That license
gives you the serial number for the domain. (BTW the domain is just a host
running on an E10K). This serial number is in hex and is 24 bits long. The
last 24 bits of the hostid are the same as the serial number and the last 3
octets (24 bits) of the mac id, are the same as the serial number...
Scott
"Hank Kingsley" <_robl...@btinternet.com> wrote in message
news:a5vjjf$8eg$1...@newstoo.ericsson.se...
"Goran Larsson" <h...@invalid.invalid> wrote in message
news:GsGF2...@approve.se...
> In article <a5vjjf$8eg$1...@newstoo.ericsson.se>,
> If the MAC address starts with 00:03:BA then the first octet of the host
> ID is 83. The next three octets are the last 3 octets of the MAC address.
>
> If the MAC address starts with 08:00:20 then the first octet of the host
> ID indicates the machine type. The next three octets are the last 3 octets
> of the MAC address. The machine type octet can be found here:
> < http://www.squirrel.com/squirrel/sun-nvram-hostid.faq.html >
> and has been 80 for all recent machines (except the ones where it is 83).
>
> Note that this is the default when the system leaves Sun.
> The host ID and the MAC address are stored separately in the NVRAM
> and as they can be changed, as described at the link above, no relation
> between the host ID and the MAC address may exist.
>
> --
> Göran Larsson hoh AT approve DOT se
On Mon, 04 Mar 2002 19:38:49 GMT, cyp...@punk.net wrote:
>Hank Kingsley <_robl...@btinternet.com> wrote:
># Cheers 4 your help guys but my question is still not answered....
>
>Hank, please don't top-post.
>
>http://groups.google.com/googlegroups/posting_style.html
>#
># Summarize what you are following up.
>#
># When you follow up an existing article, Google Groups includes
># the full article in quotes, with the cursor at the top of the
># article.
>#
># Tempting though it is to just start typing your message, please
># STOP and do two things first. Look at the quoted text and delete
># parts that are irrelevant.
>#
># Then, go to the BOTTOM of the article and start typing there.
>#
># Doing this makes it much easier for your readers to get through
># your post. They'll have a reminder of the relevant text before
># your comment, but won't have to re-read the entire article. And
># if your reply appears on a site before the original article does,
># they'll get the gist of what you're talking about.
cypher gets all emotional when people do this.
Joe
"Boll Weevil" <dr...@maytag.com> wrote in message
news:0lr78u8cjifcpo3rp...@4ax.com...
The bug