On 11/21/2014 11:57 AM, David Challener wrote:
> There doesn't seem to be a good step by step guide to linking these.

The SW TPM instructions link to this:

http://ibmswtpm.sourceforge.net/tpm_tss.html

The SW TPM tarball "INSTALL" file also has complete instructions for
- the SW TPM
- the SW TPM utilities
- The TSS
- The TCG compliance test suite

> This is what works for me:
>
> How to link the vTPM with the TSS
>
> In the following, my user is called “tpmprogrammer”.If you username is
> different, you will need to change it.I have installed the tpm subgroup
> under the user directory, and all the things execute there.
>
> 1)Create a subdirectory under the user subdirectory called tpm_data
>
> 2)Make up a file to set the environment. Call it myenv.sh
>
> export TPM_SERVER_PORT=6543
>
> export TPM_SERVER_NAME=localhost
>
> export TPM_PORT=6543
>
> export TCSD_TCP_DEVICE_PORT=6543
>
> export TPM_PATH=/home/tpmprogrammer/tpm_data
>
> 3)become superuser

There is no reason to run the TPM as root.

>
> sudo -s
>
> 4)set the environment
>
> . ./mydir.sh
>
> 5)start up the tpm_server
>
> tpm/tpm_server
>
> 6)minimize the terminal
>
> 7)Create a new terminal
>
> 8)become superuser
>
> sudo –s
>
> 9)set the environment
>
> ../mydir.sh
>
> 10)run tpmbios(you need to find where it is.)

Nor should the TPM utilities be run as root.

>
> 11)set the environment (probably not necessary)
>
> ../mydir.sh
>
> 12)service tcsd stop
>
> 13)/usr/sbin/tcsd –e
>
> everything should be working now.Try it out with
>
> 14)tpm_version




------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to