Table of Contents * Previous Chapter * Next Chapter
This differs by hardware platform and operating system. You can always get the hostid using the lmhostid command. However, customers that don't have access to lmhostid often need to get the hostid. Following is a chart for the most popular operating systems:
Because obtaining the ethernet address (which is sometimes used as the hostid on hp700 systems) requires read and sometimes write permissions on `/dev/lan0'. To fix this,
1) log in as root
2) type `chmod 777 /dev/lan0'
No, this is not a security hole. It is trivial to read TCP packets by simply connecting a notebook computer to the net. System administrators should assume these packets are readable. Therefore, changing permissions on /dev/lan0 is not a security problem.
We've seen postings suggesting using setuid to get around this problem. Using setuid is a serious, real security hole; setting permissions on /dev/lan0 is not.
Better yet, if you're using v3.0 or later of FLEXlm, use the uname -i hostid. This is the default hostid produced by lmhostid with v3.0 and later, primarily to get around all the problems we were seeing using ethernet address.
Until v3.0 of FLEXlm (1994), FLEXlm only supported ethernet hostid on hp700. As of v3.0 FLEXlm supports both ethernet and uname -i hostids - FLEXlm can automatically determine what kind of hostid is provided and validate accordingly.
On hp700:
The uname -i hostid is preferred, where possible.
This only happens when an application has been compiled on Irix 4, and is running on an Irix 5 system. Since Irix 4 is now getting old, this problem should occur less often.
After Irix 5.1, SGI has two hostids available on each system, an old and a new hostid. A hostid problem arises when using FLEXlm binaries linked with Irix 4 on an Irix 5 system. The Irix 4 binaries only see the `old' hostid, whereas the Irix 5 binaries see the `new' hostid. To use FLEXlm binaries linked with Irix 4 on an Irix 5 system, the end-user will have to change his system's hostid to the `old' hostid.
To fix, as root, run:
# systune -i
systune-> use_old_serialnum
use_old_serialnum = 0
systune-> use_old_serialnum 1
Do you want to change this to 1? y
systune-> quit
#
You will see several values printed, one of which is `use_old_serialnum'. Value is set to 0 on 5.1 by default. This should be set to 1 using systune.
Example: new: 332293 old: 53336b32
The `NWLink IPX/SPX' network driver must be installed. To do this:
Put the NT system disk in the CDROM drive.
Select `Main'
Select `Control Panel'
Select `Network'
Select `Add'
And add the NWLink IPX SPX driver.
Table of Contents * Previous Chapter * Next Chapter