請先看『使用說明』
MB:2I640HW
From LEXWiKi
(→1.How can I Test FTPM2.0 in Ubuntu22.04/Fedora36 ?) |
(→2.How can I test FTPM2.0 in Ubuntu22.04/Fedora36 ?) |
||
Line 164: | Line 164: | ||
enter command in root | enter command in root | ||
- | + | $ls -alh /dev/tpm* | |
show message like this line | show message like this line | ||
Line 172: | Line 172: | ||
(2)Second, Create the file | (2)Second, Create the file | ||
- | + | $gedit /etc/udev/rules.d/80-tpm-2.rules | |
Enter this info to the text | Enter this info to the text | ||
Line 184: | Line 184: | ||
<Ubuntu22.04 Lts> | <Ubuntu22.04 Lts> | ||
- | + | $apt-get install clevis clevis-luks clevis-udisks2 clevis-dracut clevis-tpm2 | |
<Fedora36> | <Fedora36> | ||
- | + | $dnf install clevis clevis-luks clevis-udisks2 clevis-dracut | |
- | + | $dracut -f | |
(4)Test the encryption and decryption function | (4)Test the encryption and decryption function | ||
- | + | $echo Hello World | clevis encrypt tpm2 '{}' > test.txt | |
- | + | $cat test.txt | |
- | + | $clevis decrypt tpm2 < test.txt | |
When you just use cat will get garbled | When you just use cat will get garbled |
Revision as of 17:22, 19 July 2022
O.S. | CPU | Rev | Boot type | eDP | LVDS | HDMI | 三輸出 | Touch | M.2(B key) | MPCE1 | SATA | nano SIM | Mic-in | Line-out | USB2.0 | USB3.0(type-C) | PCIE(type-C) | LAN10(I211) | LAN100(I211) | LAN1000(I211) | COM-232 | COM-422 | COM-485 | F81966 | WDT/DIO | FTPM2.0 | Download | Patch |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Ubuntu22.04 Lts |
Celeron J6412 |
0.3 |
UEFI |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Kernel->5.15.0-25-generic | |
Fedora36 |
Celeron J6412 |
0.3 |
UEFI |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Kernel->5.17.5-300.fc36.x86_64 |
FAQ for 2I640HW
1.How can I correction touch in Ubuntu22.04/Fedora36 ?
Ans: |
If you wnat to correction touch in Ubuntu22.04 /Fedora 36 you need to log in xorg mode |
---|---|
Asker: |
Nico 11:00, 17 Augest 2021 (CST) Tracy 11:09, 11 January 2022 (CST) |
Provider: |
Nico 11:00, 17 Augest 2021 (CST) Tracy 11:09, 11 January 2022 (CST) |
2.How can I test FTPM2.0 in Ubuntu22.04/Fedora36 ?
Ans: |
(1)First, You need to check FTPM2.0 can use enter command in root $ls -alh /dev/tpm* show message like this line crw-rw-rw-. 1 tss root 10, 224 4. Jul 19 04:15 /dev/tpm0 crw-rw-rw-. 1 tss tss 253, 65536 4. Jul 19 04:15 /dev/tpmrm0 (2)Second, Create the file $gedit /etc/udev/rules.d/80-tpm-2.rules Enter this info to the text tpm 2 devices need to be world readable SUBSYSTEM=="tpm", ACTION=="add", MODE="0666" SUBSYSTEM=="tpmrm", ACTION=="add", MODE="0666" Safe the text and Reboot your computer (3)Install package in you os <Ubuntu22.04 Lts> $apt-get install clevis clevis-luks clevis-udisks2 clevis-dracut clevis-tpm2 <Fedora36> $dnf install clevis clevis-luks clevis-udisks2 clevis-dracut $dracut -f (4)Test the encryption and decryption function $echo Hello World | clevis encrypt tpm2 '{}' > test.txt $cat test.txt $clevis decrypt tpm2 < test.txt When you just use cat will get garbled use clevis to show the file can get real text in file "Hello world" On behalf of the successful encryption and decryption, the FTPM2.0 function can be used
|
---|---|
Asker: |
Nico 17:48, 11 July 2022 (CST) Nico 17:48, 11 July 2022 (CST) |
Provider: |
Nico 17:48, 11 July 2022 (CST) Nico 17:48, 11 July 2022 (CST) |