HowtoObtaintheHostNameandHostIDofYourComputer
Support
Forums
HelpArticles
ExtensionsLibrary
DocumentationCenter
Updates&Maintenance
HowtoObtaintheHostNameandHostIDof
YourComputer
RequestTechnicalSuppo
FEATUREDHELPARTICLE
Friday,October19,2012
Topic
Whencreatinganewlicensefileviatheweblicensingportal,usersareaskedtoinputtheHostNameandHost
IDofthecomputerbeinglicensed.Thishelparticlediscussessomecommonmethodsforobtainingthis
informationfromthecomputer.IfENVIorIDLisalreadyinstalledonthecomputer,oursoftwarecanbeused
toobtainthisinformationbyfollowingtheinstructionsbelow.Thisistherecommendedmethodforobtaining
theHostNameandHostIDinformation.IfENVIorIDLisnotyetinstalledonthecomputer,pleasescrolldown
toviewsomecommonmethodsforfindingthisinformationwithouttheuseofoursoftware.
AbouttheHostName
TheHostName(orhostname)ofacomputerisalabelassignedtothemachinethatisdesignedtodistinguish
itfromotherdevicesconnectedtoanetwork.Itisoftenahumanreadablenicknamethatcorrespondstothe
IPAddressofthecomputer.
AbouttheHostID
TheHostID(orhostid)ofacomputeristheuniqueidentifierusedbytheENVIandIDLlicensingsoftwaretotie
alicensetoaparticularcomputer.Itismostcommonlya12digitalphanumericstring.TheHostIDisactually
thephysicaladdress,alsoknownastheMACaddress,ofoneofthehardwarecomponentsofthemachine.
Computersoftenhaveseveralphysicaladdressesassociatedwithvarioushardwarecomponents.The
recommendedmethodforobtainingtheHostIDofacomputeristouseoursoftware.Thiswillensurethatthe
physicaladdressreferencedinthelicensefileisthesamephysicaladdressthatoursoftwarewillbe
referencingwhenanENVIorIDLsessionislaunched.IfothermethodsareusedtoobtaintheHostID,please
besuretoremoveanydashes,spaces,orcolonsthatmayexistbetweenthelettersandnumbersofthe
alphanumericstring.WhencopyingandpastingtheHostIDinformationintotheweblicensingportal,itis
commonforspacesbeforeoraftertheHostIDtocarryover.Intheweblicensingportal,pleasebesurethat
nospacesexistbeforeorafterthe12digitstring.
ExelisVISTechnicalSupport
PolicyUpdates
9/25/2014
MaintenanceProgramChangesan
Reminders:Allcustomersmustbe
currentonmaintenancetoreceive
more
MOSTPOPULAR
HowtoObtaintheHostNameand
Host...
FLEXneterror97,xxx:Thedesire
...
Licensing&InstallationFrequently
...
Licenseinstallationinstructions...
TheIDLVirtualMachine
ServerBasedLicenses
Ifyouarelicensingaserverbasedlicense,theHostNameandHostIDreturnedbythesemethodscanbe
usedtopopulatetheServerNameandServerIDfieldsintheweblicensingportal.
ObtainingtheHostNameandHostIDifENVIorIDLisalreadyinstalledonthecomputer:
WindowsOS
OpentheLicenseWizard(Start>AllPrograms>ENVI5.x(orIDL8.x)>Tools>LicenseWizard)
WhentheLicenseWizardopens,selecttheradiobuttonto"Requestalicenseifyoudon'thaveinternet
access"
Whenyouclick"Next",asmalltextfilewillbegeneratedwhichcontainstheHostNameandHostID
informationforyourcomputer.FortheHostID,therearesometimesseveralsetsof12digitalphanumeric
stringslisted,whichareeachseparatedbyasmallspace(each12digitstringrepresentsaphysicaladdress
http://www.exelisvis.com/Support/HelpArticlesDetail/TabId/219/ArtMID/900/ArticleID/5321/5321.aspx
1/4
12/20/2015
HowtoObtaintheHostNameandHostIDofYourComputer
foracomponentofyourcomputer).FROMTHISOUTPUT,USEONLYONE12DIGITSTRINGASYOUR
COMPUTER'SHOSTID.
MacOSX
OpenanX11orXQuartzTerminalWindow
Issuethefollowingcommands:
hostname
cd/Applications/exelis/idl82/bin
./lmhostid
The"hostname"commandwillreturntheHostNameforthecomputer.The".lmhostid"commandwillreturn
theHostIDofthecomputer.AnalternativetothismethodwouldbetousetheLicenseWizardthatcomes
packagedwithENVIandIDL.IfusingtheLicenseWizard,pleasefollowalongwiththeinstructionsdescribed
forWindowsOS.OnMacOSX,theLicenseWizardcanbefoundbynavigatingto'Applications>exelis>
envi5x(oridl8x)>LicenseWizard'.
LinuxOS
OpenaTerminalWindow
Issuethefollowingcommands:
cd/usr/local/exelis/idl82/bin
./lmhostidhostname
./lmhostid
The"./lmhostidhostname"commandwillreturntheHostNameforthemachine.The"./lmhostid"command
willreturntheFlexnetHostIDforthemachine.Thesevaluescanbecopiedintotheappropriatefieldsinthe
weblicensingportal.
ObtainingtheHostNameandHostIDifENVIorIDLisnotinstalledonthecomputer:
WindowsOS
OpenaCommandPrompt(Start>AllPrograms>Accessories>CommandPrompt)
Issuethefollowingcommands:
hostname
getmac
http://www.exelisvis.com/Support/HelpArticlesDetail/TabId/219/ArtMID/900/ArticleID/5321/5321.aspx
2/4
12/20/2015
HowtoObtaintheHostNameandHostIDofYourComputer
The"hostname"commandwillreturntheHostNameforthemachine.The"getmac"commandwillreturnalist
ofphysicaladdressesforyourmachine.YoucanuseanyphysicaladdressthatislistedastheHostIDforthe
machine.IFYOUUSETHISMETHODTOOBTAINTHEHOSTID,PLEASEBESURETOREMOVETHE
DASHESBETWEENTHE12DIGITSOFTHEALPHANUMERICSTRING.
MACOSX
OpenanX11,XQuartz,orAppleTerminalWindow
Issuethefollowingcommands:
hostname
ifconfig
The"hostname"commandwillreturntheHostNameofthemachine.The"ifconfig"commandwilloutputa
varietyofinformationaboutthemachine.Youareinterestedinthephysicaladdressassociatedwith"en0".
Thismaybelistedas"ether"or"wifi",dependingonyourmachineconfiguration.IFYOUUSETHISMETHOD
TOOBTAINTHEHOSTID,PLEASEBESURETOREMOVETHECOLONSBETWEENTHE12DIGITSOF
THEALPHANUMERICSTRING.
LinuxOS
OpenaTerminalWindow
Issuethefollowingcommands:
hostname
ifconfig
The"hostname"commandwillreturntheHostNameofthemachine.The"ifconfig"commandwilloutputa
varietyofinformationaboutthemachine.ForENVIversion4.8andIDL8.0andup,thehardwareaddressof
either"eth0"or"eth1"canbeusedfortheHostID.ForversionspriortoENVI4.8andIDL8.0,only"eth0"can
beusedfortheHostID.IFYOUUSETHISMETHODTOOBTAINTHEHOSTID,PLEASEBESURETO
REMOVETHECOLONSBETWEENTHE12DIGITSOFTHEALPHANUMERICSTRING.
RelatedHelpArticles
ListofFlexnetErrorCodes
http://www.exelisvis.com/Support/HelpArticlesDetail/TabId/219/ArtMID/900/ArticleID/5321/5321.aspx
3/4
12/20/2015
HowtoObtaintheHostNameandHostIDofYourComputer
Solutionfor"Hostid000000000000"onRedHat6andFedora15
Like
Tweet
Ratethisarticle:
4.3
RelatedTopics:HelpArticles,Licensing
Tags:
Numberofviews(102308) / Comments(0)
3commentsonarticle"HowtoObtaintheHostNameandHostIDofYourComputer"
Whydoesn'tthesoftwarepullthisinformationautomatically?
20
1
AndrewTaylor
12/27/20134:41
PM
Replyto
Greatstartforme.Iwasjustrunningandtestingmyownunit.Thanksfor
comingupwiththis.Spectra
0
0
mikecrump
5/12/201510:11
AM
Replyto
Greatstartforme.Iwasjustrunningandtestingmyownunit.Thanksfor
comingupwiththis.http://www.spectra.com/hitachi/used
system/107/index.htm
0
0
mikecrump
5/12/201510:12
AM
Replyto
Pleaseloginorregistertopostcomments.
http://www.exelisvis.com/Support/HelpArticlesDetail/TabId/219/ArtMID/900/ArticleID/5321/5321.aspx
4/4