Jump to content

darkm4n

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by darkm4n


  1. Hello,

    Searching the forum I found another similar topic, where they share the download link for the headers (linux-headers-4.4.194_4.4.194-7_armhf.deb).
    Once downloaded, installed reboot, then reinstall the wireguard, reboot and run.

    Quote

    dpkg -i linux-headers-4.4.194_4.4.194-7_armhf.deb

    reboot

     

    Quote

     

    apt install --reinstall wireguard wireguard-dkms

    reboot

     

     

    Quote

    wg-quick up wg0

     

    Regards.


  2. Hello,

    I am using a ThinkerBoard, Tinker OS (Tinker_Board-Debian-Buster-v3.0.11-20211026) and I have the same issue with Wireguard.

    Error.

    Quote

    $ wg-quick up wg0
    [#] ip link add wg0 type wireguard
    RTNETLINK answers: Operation not supported
    Unable to access interface: Protocol not supported
    [#] ip link delete dev wg0
    Cannot find device "wg0 

    I verify that I am up to date.

    Quote

    sudo apt update && sudo apt upgrade

    The kernel version is.

    Quote

    uname -r
    4.4.194

    Everything points to a headers issue, but I haven't found a solution.

    Quote

    modprobe wireguard
    modprobe: FATAL: Module wireguard not found in directory /lib/modules/4.4.194

    I search for the headers with the same kernel version (4.4.194).

    Quote

    apt list linux-headers-4.*

    But the most similar is 4.19.*,.

    What is recommended in these cases?
    - Keep looking for the headers (4.4.194).
    - Look for another kernel and install the headers?

    I even ran a test, install a new kernel and header version.

    Quote

    apt-get install linux-image-4.19.0-23-armmp linux-headers-4.19.0-23-armmp

    reboot
    apt install --reinstall wireguard wireguard-dkms

    (Its armmp version ok?)

    Reinstall the app.

    Quote

    apt install --reinstall wireguard wireguard-dkms

    Looks that its installed on the new kernel version 4.19.0.23.

    Setting up wireguard-dkms (1.0.20210219-1~bpo10+1) ...
    Loading new wireguard-1.0.20210219 DKMS files...
    It is likely that 4.4.194 belongs to a chroot's host
    Building for 4.19.0-23-rt-armmp
    Building initial module for 4.19.0-23-rt-armmp
    Done.

    wireguard.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /lib/modules/4.19.0-23-rt-armmp/updates/dkms/

    depmod...

    DKMS: install completed.
    Setting up wireguard (1.0.20210223-1~bpo10+1) ...

    But I have the same problem, it doesn't seem to recognize it. It still refers to the previous kernel.

    Quote

    modprobe wireguard
    modprobe: FATAL: Module wireguard not found in directory /lib/modules/4.4.194

    If anyone has an idea? :)

    Regards.

×
×
  • Create New...