vim1S and firezone (wireguard vpn)

Hi,
Is anybody try to install Firezone (https://www.firezone.dev/docs/deploy) on vim1s with ubuntu 22 ?
I try the docker method but it doesn’t work, an i’m not an expert.

Is anybody can help me ?

When i do the tird step on manual install :

docker compose run --rm firezone bin/migrate

i’ve got an error :

[+] Creating 1/0
 ✔ Container khadas-postgres-1  Running                                    0.0s 
Creating WireGuard interface wg-firezone
ip: RTNETLINK answers: Not supported

I find that the problem il about linux-headers. So I try to install them :

sudo apt-get install linux-headers-$(uname -r)

but i’ve this error :

E: Unable to locate package linux-headers-5.4.180
E: Couldn't find any package by glob 'linux-headers-5.4.180'
E: Couldn't find any package by regex 'linux-headers-5.4.180'

Do you know how can i make this package ?
Thanks a lot.

Hello @antoineg, Welcome to the forum.

To compile the kernel headers package, you can use the fenix build tool to

$ make kernel-deb

The header package will be generated in build/images/debs

Regards.

hello,
Thanks for your answer, it’s better !
But I’ve got a problem with the make command :

root@Khadas:/home/khadas/project/khadas/fenix# make kernel debs
[i] FENIX (scripts/build.sh) BUILD: /home/khadas/project/khadas/fenix/build | DL: /home/khadas/project/khadas/fenix/downloads | sudo: 
config/functions/common-functions:73 Error: Your build host architecture is not supported,please use a 'x86-x64' build host.
make: *** [Makefile:18: kernel] Error 255

I don’t know how solve this error :cry:

@antoineg You need to compile these packages on your desktop computer

Also note the change: its make kernel-deb

1 Like

you’re right… I just realized that it was written in black and white in the error message… :sneezing_face:

I’m making progress but I’m still blocked.
When I try to install the kernel via the commands

$ sudo dpkg -i linux-dtb-amlogic-5.4_1.5.2_arm64.deb
$ sudo dpkg -i linux-image-amlogic-5.4_1.5.2_arm64.deb
$ sudo dpkg -i linux-headers-amlogic-5.4_1.5.2_arm64.deb
$ sync
$ sudo reboot

I get this error message :cry:

khadas@Khadas:~$ sudo dpkg -i linux-image-amlogic-5.4_1.5.2_arm64.deb
(Reading database ... 178478 files and directories currently installed.)
Preparing to unpack linux-image-amlogic-5.4_1.5.2_arm64.deb ...
Unpacking linux-image-amlogic-5.4 (1.5.2) over (1.5.2) ...
Setting up linux-image-amlogic-5.4 (1.5.2) ...
update-initramfs: Generating /boot/initrd.img-5.4.180
/etc/initramfs-tools/scripts/local-top/khadas_init.sh: 41: cannot create /sys/class/graphics/fb0/blank: Directory nonexistent
/etc/initramfs-tools/scripts/local-top/khadas_init.sh: 44: cannot create /sys/class/graphics/fb1/blank: Directory nonexistent

Do you still have a great solution?