Re: hostid

1997-06-14 Thread jghasler
Joey Hess writes:
> Accordint to the man page, it's based on IP address.

And this is supposed to make it unique?  Somehow I suspect that mine is not
the only machine with IP 192.168.1.

/home/john hostid -v
Hostid is 8323328 (0x7f0100)

John HaslerThis posting is in the public domain.
[EMAIL PROTECTED]Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: hostid

1997-06-14 Thread Karl M. Hegbloom
What package is it in?

-- 
Karl M. Hegbloom <[EMAIL PROTECTED]>
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: hostid

1997-06-14 Thread Oliver Elphick
In message <[EMAIL PROTECTED]>, writes:
  >Joey Hess writes:
  >> Accordint to the man page, it's based on IP address.
  >
  >And this is supposed to make it unique?  Somehow I suspect that mine is not
  >the only machine with IP 192.168.1.
 
RTFM?! The man page says that hostid is _normally_ set to resemble the 
host's internet address; it can be set by the superuser to any value.

>From the point of view of a vendor wanting to secure a software licence,
it's not much good!
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://homepages.enterprise.net/olly

In case of connection troubles, try [EMAIL PROTECTED] instead.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: hostid

1997-06-14 Thread Joey Hess
Tim Sailer:
> I'll have to look at the source to see what it actually does. I have yet
> to see a dupe.

Accordint to the man page, it's based on IP address.

-- 
see shy jo


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: hostid

1997-06-14 Thread Tim Sailer
In your email to me, Jens B. Jorgensen, you wrote:
> > 
> > llug:~> uname -a
> > Linux llug 2.0.30 #2 Sun May 18 00:47:52 EDT 1997 i586 unknown
> > llug:~> hostid
> > 0xc782f032
> > llug:~>
> > 
> 
> So there is a debian command for it! Well, it doesn't come from hardware
> in linux and isn't guaranteed to be unique, which is what this number
> was intended to do. I believe DCE needs some number like this.

I'll have to look at the source to see what it actually does. I have yet
to see a dupe.

Tim

-- 
 (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps
   "It's almost impossible to overestimate the unimportance of most things."
  -- John Logue
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: hostid

1997-06-14 Thread Jens B. Jorgensen
Tim Sailer wrote:
> 
> In your email to me, Jens B. Jorgensen, you wrote:
> >
> > Franck LE GALL - STAGIAIRE A FT.BD/CNET/DTD/PIH wrote:
> > >
> > > These quation is not directly related to Debian but I dont know
> > > where to ask it. So please, don't be angry about it ...
> > >
> > > I would like to know what is the hostid of a computer. Where does
> > > it come from ?
> >
> > Linux doesn't have a hostid. Sun workstations have a hostid. It is a
> > 32-bit number which is guaranteed to be unique on a Sun and is contained
> > in a EPROM on the mainboard. Sun uses this number for various things
> > (like using it to create a licensing key when a license is for a
> > single-use, single-machine piece of software).
> 
> Umm
> 
> llug:~> uname -a
> Linux llug 2.0.30 #2 Sun May 18 00:47:52 EDT 1997 i586 unknown
> llug:~> hostid
> 0xc782f032
> llug:~>
> 

So there is a debian command for it! Well, it doesn't come from hardware
in linux and isn't guaranteed to be unique, which is what this number
was intended to do. I believe DCE needs some number like this.

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: hostid

1997-06-14 Thread Douglas L Stewart
On Fri, 13 Jun 1997, Tim Sailer wrote:

> I'll have to look at the source to see what it actually does. I have yet
> to see a dupe.

It's probably based off the MAC address, and therefore probably is unique.

-douglas


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: hostid

1997-06-12 Thread Karl M. Hegbloom
> "Jens" == Jens B Jorgensen <[EMAIL PROTECTED]> writes:

Jens> Franck LE GALL - STAGIAIRE A FT.BD/CNET/DTD/PIH wrote:
>>  These quation is not directly related to Debian but I dont
>> know where to ask it. So please, don't be angry about it ...
>> 
>> I would like to know what is the hostid of a computer. Where
>> does it come from ?

Jens> Linux doesn't have a hostid. Sun workstations have a
Jens> hostid. It is a 32-bit number which is guaranteed to be
Jens> unique on a Sun and is contained in a EPROM on the
Jens> mainboard. Sun uses this number for various things (like
Jens> using it to create a licensing key when a license is for a
Jens> single-use, single-machine piece of software).

 So what is libuuid.so?

$ ls -l $(locate uuid)
lrwxrwxrwx   1 root root   14 Jun  3 04:56 /lib/libuuid.so.1 -> 
libuuid.so.1.1
-rwxr-xr-x   1 root root 5716 Apr 29 14:31 /lib/libuuid.so.1.1
-rw-r--r--   1 root root  614 Apr 29 14:31 /usr/include/uuid/uuid.h
-rw-r--r--   1 root root 9874 Apr 29 14:31 /usr/lib/libuuid.a
lrwxrwxrwx   1 root root   24 Jun  3 04:56 /usr/lib/libuuid.so -> 
../../lib/libuuid.so.1.1

/usr/include/uuid:
total 1
-rw-r--r--   1 root root  614 Apr 29 14:31 uuid.h

-- 
Karl M. Hegbloom <[EMAIL PROTECTED]>
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: hostid

1997-06-12 Thread Tim Sailer
In your email to me, Jens B. Jorgensen, you wrote:
> 
> Franck LE GALL - STAGIAIRE A FT.BD/CNET/DTD/PIH wrote:
> > 
> > These quation is not directly related to Debian but I dont know
> > where to ask it. So please, don't be angry about it ...
> > 
> > I would like to know what is the hostid of a computer. Where does
> > it come from ?
> 
> Linux doesn't have a hostid. Sun workstations have a hostid. It is a
> 32-bit number which is guaranteed to be unique on a Sun and is contained
> in a EPROM on the mainboard. Sun uses this number for various things
> (like using it to create a licensing key when a license is for a 
> single-use, single-machine piece of software).


Umm

llug:~> uname -a
Linux llug 2.0.30 #2 Sun May 18 00:47:52 EDT 1997 i586 unknown
llug:~> hostid
0xc782f032
llug:~> 
 

Tim

-- 
 (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps
 "Great successes are built on taking your negatives and turning them around."
-- Sumner Redstone
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: hostid

1997-06-12 Thread Jens B. Jorgensen
Franck LE GALL - STAGIAIRE A FT.BD/CNET/DTD/PIH wrote:
> 
> These quation is not directly related to Debian but I dont know
> where to ask it. So please, don't be angry about it ...
> 
> I would like to know what is the hostid of a computer. Where does
> it come from ?

Linux doesn't have a hostid. Sun workstations have a hostid. It is a
32-bit number which is guaranteed to be unique on a Sun and is contained
in a EPROM on the mainboard. Sun uses this number for various things
(like using it to create a licensing key when a license is for a 
single-use, single-machine piece of software).

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .