On 10/29/2014 10:55 AM, Yvan wrote: > > I am having the same set of issues. This time, I am using a Windows > environment. I'm trying to connect to the IBM SW TPM using Trousers > > Here's what I've done so far : > > Environment variables : > > TCSD_TCP_DEVICE_PORT=6543 > TPM_PORT=6543 > TPM_SERVER_NAME=localhost > TPM_SERVER_PORT=30005
The TPM is running on TPM_PORT 6543, but you told the utilities to connect to TPM_SERVER_PORT 30005. The utilities should not have worked. This makes me think that you're setting some env variables in the wrong windows or shells. > > the TPM SW has been initialized, and works fine with the set of tools that > are provided with it. > > then I run : > tpm_server > > and in a separate window: > tpmbios Does this show movement in the tpm_server window? > tcsd -e Did you set TCSD_TCP_DEVICE_PORT in the same window and shell? Or did you set it in a different window? Did you su or sudo before or after setting the env variable? > > I wrote a simple program that gets a random number from the TPM in > CodeBlocks. It returns "Success", but since I do not see anything moving in > the tpm_server shell window, I can only assume my program is querying the > physical TPM instead of the IBM SW. try # tcsd -e -f to run it in the foreground, so you can see error messages. ------------------------------------------------------------------------------ _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
