MB:2I640HW

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
(2.How can I test FTPM2.0 in Ubuntu22.04/Fedora36 ?)
(2.How can I test FTPM2.0 in Ubuntu22.04/Fedora36 ?)
Line 190: Line 190:
$dnf install clevis clevis-luks clevis-udisks2 clevis-dracut
$dnf install clevis clevis-luks clevis-udisks2 clevis-dracut
 +
$dracut -f
$dracut -f
Line 195: Line 196:
$echo Hello World | clevis encrypt tpm2 '{}' > test.txt
$echo Hello World | clevis encrypt tpm2 '{}' > test.txt
 +
$cat test.txt
$cat test.txt
 +
$clevis decrypt tpm2 < 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:23, 19 July 2022

O.S.CPURevBoot typeeDPLVDSHDMI三輸出TouchM.2(B key)MPCE1SATAnano SIMMic-inLine-outUSB2.0USB3.0(type-C)PCIE(type-C)LAN10(I211)LAN100(I211)LAN1000(I211)COM-232COM-422COM-485F81966WDT/DIOFTPM2.0Download 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

edit table

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)

Personal tools