Can't get wireguard working on OpenWRT 19.07.2

  • Firmware: OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.167.61968-87da00a
  • Kernel: 5.4.5

Installed OpenWRT from Krescue to MMC

Wireguard package is available in opkg repo and may be installed without any errors in terminal.
But kernel module (wireguard.ko from package kmod-wireguard) seems to be broken so the interface wg0 keeps uninitialised.

Loaded by hands wireguard.ko produces no warning but still stays unloaded.
lsmod | grep wireguard finds nothing.

In logread these lines were added:
daemon.notice netifd: Interface ‘wg0’ is now down
daemon.notice netifd: Interface ‘wg0’ is setting up now
daemon.notice netifd: wg0 (16051): Error: Unknown device type.
daemon.notice netifd: wg0 (16051): Unable to modify interface: Protocol not supported

May be you can give me some hints


hello @applix welcome to the community,
Regarding OpenWRT you can ask @hyphop he is the Maintainer of OpenWRT and will gladly help you.
Have you checked the OpenWRT wiki for anything like this?

Hello! there is a video with a little instruction, it may help

Wireguard will be on next release 19.07.03 - its already done ! i need just prepare and share it


@hyphop, that’s great news!
So I’ll be waiting for the next release 19.07.3. It it possible to sysupgrade my current install without Krescue?

I believe that should be possible, but please verify once with hyphop

not at this moment ! try to do normal sysupgrade next time

at this moment just one solution backup/restore /etc/config/* by hands