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. The following is a list of 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, use the uname -i hostid. This is the default hostid produced by lmhostid.
Until v3.0 of FLEXlm (1994), FLEXlm only supported ethernet hostid on hp700. Since v3.0 FLEXlm supports both ethernet and uname -i hostids. FLEXlm can automatically determine what kind of hostid is provided and validate accordingly.
The uname -i hostid is preferred, where possible.
Using this type of hostid requires either the SNMP service, the NETBEUI Transport Protocol, or the NW Link (IPX/SPX) Transport Protocol to be loaded
To install the NETBEUI or NW Link Transport Protocol:
Put the NT system disk in the CDROM drive.
Select `Main'
Select `Control Panel'
Select `Network'
Select `Add'
And add the NWLink IPX SPX or NetBEUI driver.
Flexlm contains a numer of "special" hostid types which apply to all platforms. These hostid types can be used on either a SERVER line or a FEATURE line, wherever a hostid is required.
Table of Contents * Previous Chapter * Next Chapter