wg-quick up wg0
# wg-quick up wg0[#] ifconfig wg create name wg0[!] Missing WireGuard kernel support (ifconfig: SIOCIFCREATE2: Invalid argument). Falling back to slow userspace implementation.[#] wireguard-go wg0┌──────────────────────────────────────────────────────┐│ ││ Running wireguard-go is not required because this ││ kernel has first class support for WireGuard. For ││ information on installing the kernel module, ││ please visit: ││ https://www.wireguard.com/install/ ││ │└──────────────────────────────────────────────────────┘[#] wg setconf wg0 /dev/stdin[#] ifconfig wg0 inet 172.16.15.5/24 alias[#] ifconfig wg0 mtu 1420[#] ifconfig wg0 up[#] resolvconf -a wg0 -x[#] route -q -n add -inet 172.16.15.100/32 -interface wg0[#] route -q -n add -inet 192.168.20.0/24 -interface wg0[+] Backgrounding route monitor
wg show
# wg-quick up wg0[#] ifconfig wg create name wg0[!] Missing WireGuard kernel support (ifconfig: SIOCIFCREATE2: Invalid argument). Falling back to slow userspace implementation.[#] wireguard-go wg0┌──────────────────────────────────────────────────────┐│ ││ Running wireguard-go is not required because this ││ kernel has first class support for WireGuard. For ││ information on installing the kernel module, ││ please visit: ││ https://www.wireguard.com/install/ ││ │└──────────────────────────────────────────────────────┘[#] wg setconf wg0 /dev/stdin[#] ifconfig wg0 inet 172.16.15.100/24 alias[#] ifconfig wg0 mtu 1420[#] ifconfig wg0 up[#] route -q -n add -inet 172.16.15.5/32 -interface wg0[#] route -q -n add -inet 172.16.10.0/24 -interface wg0[#] rm -f /var/run/wireguard/wg0.sock
[#] route -q -n add -inet 172.16.10.0/24 -interface wg0[#] rm -f /var/run/wireguard/wg0.sock
[#] route -q -n add -inet 192.168.20.0/24 -interface wg0[+] Backgrounding route monitor
root@OPNsense:~ # wg-quick up /usr/local/etc/wireguard/wg0.conf[#] ifconfig wg create name wg0[!] Missing WireGuard kernel support (ifconfig: SIOCIFCREATE2: Invalid argument). Falling back to slow userspace implementation.[#] wireguard-go wg0┌──────────────────────────────────────────────────────┐│ ││ Running wireguard-go is not required because this ││ kernel has first class support for WireGuard. For ││ information on installing the kernel module, ││ please visit: ││ https://www.wireguard.com/install/ ││ │└──────────────────────────────────────────────────────┘[#] wg setconf wg0 /dev/stdin[#] ifconfig wg0 inet 10.112.0.1/24 alias[#] ifconfig wg0 mtu 1420[#] ifconfig wg0 up[#] resolvconf -a wg0 -x[#] route -q -n add -inet 10.112.0.9/32 -interface wg0[#] route -q -n add -inet 10.112.0.8/32 -interface wg0[#] route -q -n add -inet 10.112.0.7/32 -interface wg0[#] route -q -n add -inet 10.112.0.5/32 -interface wg0[#] route -q -n add -inet 10.112.0.4/32 -interface wg0[#] route -q -n add -inet 10.112.0.3/32 -interface wg0[#] route -q -n add -inet 10.112.0.2/32 -interface wg0[#] route -q -n add -inet 10.112.0.10/32 -interface wg0[#] route -q -n add -inet 192.168.1.0/24 -interface wg0[#] resolvconf -d wg0[#] rm -f /var/run/wireguard/wg0.sock
I have the same problem, but after upgrading to 21.1.8. I tried to uninstall the wireguard plugin and install it back, but still no luck. I tried to activate Wireguard from cli but no luck :Code: [Select]root@OPNsense:~ # wg-quick up /usr/local/etc/wireguard/wg0.conf[#] ifconfig wg create name wg0[!] Missing WireGuard kernel support (ifconfig: SIOCIFCREATE2: Invalid argument). Falling back to slow userspace implementation.[#] wireguard-go wg0┌──────────────────────────────────────────────────────┐│ ││ Running wireguard-go is not required because this ││ kernel has first class support for WireGuard. For ││ information on installing the kernel module, ││ please visit: ││ https://www.wireguard.com/install/ ││ │└──────────────────────────────────────────────────────┘[#] wg setconf wg0 /dev/stdin[#] ifconfig wg0 inet 10.112.0.1/24 alias[#] ifconfig wg0 mtu 1420[#] ifconfig wg0 up[#] resolvconf -a wg0 -x[#] route -q -n add -inet 10.112.0.9/32 -interface wg0[#] route -q -n add -inet 10.112.0.8/32 -interface wg0[#] route -q -n add -inet 10.112.0.7/32 -interface wg0[#] route -q -n add -inet 10.112.0.5/32 -interface wg0[#] route -q -n add -inet 10.112.0.4/32 -interface wg0[#] route -q -n add -inet 10.112.0.3/32 -interface wg0[#] route -q -n add -inet 10.112.0.2/32 -interface wg0[#] route -q -n add -inet 10.112.0.10/32 -interface wg0[#] route -q -n add -inet 192.168.1.0/24 -interface wg0[#] resolvconf -d wg0[#] rm -f /var/run/wireguard/wg0.sockMore over, Wireguard interface is DOWN in the dashboard and does not appear anymore in the assignments part of the interface.
Hmmm, without info on config hard to debug. I have a S2S wireguard between 2x 21.1.8 working fine before and after updating to 21.1.8.
[Interface]PrivateKey = Edited =Address = 172.16.15.100/24ListenPort = 51820[Peer]PublicKey = 9mpcKwmI0CeNs9RTlow3i/TV3Amu1gF7nvMmdgHfMAM=Endpoint = DNS Name of access server:51805AllowedIPs = 172.16.10.0/24,172.16.15.5/32
wg-quick up wg0[#] ifconfig wg create name wg0[#] wg setconf wg0 /dev/stdin[#] ifconfig wg0 inet 172.16.15.100/24 alias[#] ifconfig wg0 mtu 1420[#] ifconfig wg0 up[#] route -q -n add -inet 172.16.15.5/32 -interface wg0[#] route -q -n add -inet 172.16.10.0/24 -interface wg0[#] ifconfig wg0 destroy
Quote from: oupsman on July 12, 2021, 07:11:14 amI have the same problem, but after upgrading to 21.1.8. I tried to uninstall the wireguard plugin and install it back, but still no luck. I tried to activate Wireguard from cli but no luck :Code: [Select]root@OPNsense:~ # wg-quick up /usr/local/etc/wireguard/wg0.conf[#] ifconfig wg create name wg0[!] Missing WireGuard kernel support (ifconfig: SIOCIFCREATE2: Invalid argument). Falling back to slow userspace implementation.[#] wireguard-go wg0┌──────────────────────────────────────────────────────┐│ ││ Running wireguard-go is not required because this ││ kernel has first class support for WireGuard. For ││ information on installing the kernel module, ││ please visit: ││ https://www.wireguard.com/install/ ││ │└──────────────────────────────────────────────────────┘[#] wg setconf wg0 /dev/stdin[#] ifconfig wg0 inet 10.112.0.1/24 alias[#] ifconfig wg0 mtu 1420[#] ifconfig wg0 up[#] resolvconf -a wg0 -x[#] route -q -n add -inet 10.112.0.9/32 -interface wg0[#] route -q -n add -inet 10.112.0.8/32 -interface wg0[#] route -q -n add -inet 10.112.0.7/32 -interface wg0[#] route -q -n add -inet 10.112.0.5/32 -interface wg0[#] route -q -n add -inet 10.112.0.4/32 -interface wg0[#] route -q -n add -inet 10.112.0.3/32 -interface wg0[#] route -q -n add -inet 10.112.0.2/32 -interface wg0[#] route -q -n add -inet 10.112.0.10/32 -interface wg0[#] route -q -n add -inet 192.168.1.0/24 -interface wg0[#] resolvconf -d wg0[#] rm -f /var/run/wireguard/wg0.sockMore over, Wireguard interface is DOWN in the dashboard and does not appear anymore in the assignments part of the interface.After a bit of diging, I found something : I removed all the clients but my iPhone and tried to activate the wireguard service : it worked. I then added back all the clients and it still works. I tried to find some debug logs but did not found anything, where are they ?