Hi, I've just taken a new device with hardware TPM support but I can't get it to work. It seems not to be detected even by OpenWRT, has anyone had experience with TPM on OpenWRT?
@Peppe2201, welcome to the community!
Have you installed kmod-tpm and related software for your TPM?
Not yet, after doing it what should I do?
I don't know what you should do. You haven't explained your use case for a TPM on a router.
If you installed the drivers though, the device should be enumerated in the OS then.
I'm having kernel issues:
satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-tpm: * kernel (= 4.14.123-1-2895a7d269c329f772135fce1adf4f29) * opkg_install_cmd: Cannot install package kmod-tpm.
can you post the info from these commands
opkg update ; opkg info kernel ; opkg info kmod-tpm ; cat /etc/os-release | grep RELEASE
I've forced the installation of the module
Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/luci/Packages.sig Signature check passed. Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/packages/Packages.sig Signature check passed. Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/base/Packages.sig Signature check passed. Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/routing/Packages.sig Signature check passed. Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony Downloading http://gra.mirror.cyberbits.eu/openwrt/snapshots/packages/x86_64/telephony/Packages.sig Signature check passed. Downloading http://openmptcprouter.com:80/release/targets/x86/64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openmptcprouter_core Downloading http://openmptcprouter.com:80/release/targets/x86/64/packages/Packages.sig Signature check passed. Downloading http://openmptcprouter.com:80/release/packages/x86_64/base/Packages.gz Updated list of available packages in /var/opkg-lists/openmptcprouter_base Downloading http://openmptcprouter.com:80/release/packages/x86_64/base/Packages.sig Signature check passed. Downloading http://openmptcprouter.com:80/release/packages/x86_64/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openmptcprouter_luci Downloading http://openmptcprouter.com:80/release/packages/x86_64/luci/Packages.sig Signature check passed. Downloading http://openmptcprouter.com:80/release/packages/x86_64/openmptcprouter/Packages.gz Updated list of available packages in /var/opkg-lists/openmptcprouter_openmptcprouter Downloading http://openmptcprouter.com:80/release/packages/x86_64/openmptcprouter/Packages.sig Signature check passed. Downloading http://openmptcprouter.com:80/release/packages/x86_64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openmptcprouter_packages Downloading http://openmptcprouter.com:80/release/packages/x86_64/packages/Packages.sig Signature check passed. Package: kernel Version: 4.14.115-1-c1a87074d3d1a3df6fffb66234f48d56 Depends: libc Status: install user installed Architecture: x86_64 Installed-Time: 1557139381 Package: kmod-tpm Version: 4.14.123-1 Depends: kernel (= 4.14.123-1-2895a7d269c329f772135fce1adf4f29) Status: install user installed Section: kernel Architecture: x86_64 Size: 23302 Filename: kmod-tpm_4.14.123-1_x86_64.ipk Description: This enables TPM Hardware Support. Installed-Time: 1559819625 LEDE_RELEASE="openmptcprouter v0.49.6 r0+9945-bc85640cdc"
If your using snapshot instead of release you need to install any packages you require soon after.
If you wait too long the snapshot is rebuilt and the new packages will not install.
You need to upgrade to the current snapshot and then install all the required packages promptly
How can I check it? I'm using a custom fork of OpenWRT in this moment (OpenMPTCProuter).
This is not an official OpenWrt repository. The error you're referring to might be caused by another issue with openmtp's builds.
Can you try OpenWrt?