How to Install WireGuard in Forlinx Desktop Image on RK3588 Platform?

Forlinx

Apr 23, 2023
107
Joined
Apr 23, 2023
Messages
107
Install Wire Guard in the RK3588 Forlinx Desktop image

Solution: Mount the Forlinx Desktop image file into the development environment for installation.

(1) Download qemu-user-static in the development environment

sudo apt-get install qemu-user-static

(2) Mount the img image of Forlinx Desktop to a directory, I have mounted it to the test directory.

sudo mount focal-rootfs.img test/

(3) Use the chroot command to enter the test directory

sudo chroot test/

(4) Install WireGuard

apt-get install wireguard-dkms wireguard-tools wireguard


Solutions that cannot be used after installation:


To add the TUN and WireGuard options to the kernel, proceed as follows:

1. Modify the build. Sh in the SDK to add the $KMAKE menu config;

file.php


2. Execute. /build.sh, search for TUN and wireguard in the graphical configuration interface and check them off;

file.php


file.php


file.php


file.php


Save and Exit.

file.php


3. Overwrite OK3588-Linux _ defconfig with.config


cp kernel/.config kernel/arch/arm64/configs/OK3588-Linux_defconfig;



4. Re-flash the image;

5. Set the IP.

file.php


file.php


 
Top