David, all, In addition to what Ken wrote below, we also compile TrouSerS with --disable-usercheck, to obviate the need to use 'sudo' during testing. (a 'normal' build of tcsd would require that the daemon run as the 'tss' user, such as by using 'sudo -u tss tcsd -e -f', I think.)
Regards, Mike On 10/21/14, 6:05 AM, "Ken Goldman" <[email protected]> wrote: >On 10/20/2014 7:11 PM, David Li wrote: >> Hi, >> >> I am trying to use IBM software TPM following the instructions at >> >> http://ibmswtpm.sourceforge.net/tpm_tss.html >> >> This is what I have done: >> >> - Started "tpm_server" >> >> - Ran the following successfully >> >>> tpmbios (each time the TPM is started) >>> createek (only required once) >>> ./nv_definespace -in ffffffff -sz 0 (only required once) >> >> Though I am not quite sure what the last cmd did. > >The SW TPM "ships" just as a HW TPM ships, with NV unlocked. The last >command locks it. > >> >> But when I tried to start tcsd, here is what I got: >> >> sudo /usr/local/sbin/tcsd -e -f >> >> TCSD TDDL ERROR: Could not find a device to open! >> >> Can anyone tell what I am missing here? > >Did you set the env variable > ># export TCSD_TCP_DEVICE_PORT=6543 > >or the equivalent for your shell. I suspect that you set the env >variable for some shell, then sudo lost it. Try su and then setting the >env variable. > >Are you running tcsd on the same platform as the SW TPM? > >Was the SW TPM still running. > > > >-------------------------------------------------------------------------- >---- >Comprehensive Server Monitoring with Site24x7. >Monitor 10 servers for $9/Month. >Get alerted through email, SMS, voice calls or mobile push notifications. >Take corrective actions from your mobile device. >http://p.sf.net/sfu/Zoho >_______________________________________________ >TrouSerS-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/trousers-users ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
