[Sat Dec 7 09:45:07 CST 2019] systemctl start wg-quick@wg0
Job for wg-quick@wg0.service failed because the control process exited with error code.
See "systemctl status wg-quick@wg0.service" and "journalctl -xe" for details.
[Sat Dec 7 09:45:07 CST 2019] Execution command (systemctl start wg-quick@wg0) failed, please check it and try again.
[root@bogon ~]# journalctl -xe
Dec 07 09:44:29 bogon systemd[1]: Starting man-db-cache-update.service...
-- Subject: Unit man-db-cache-update.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit man-db-cache-update.service has begun starting up.
Dec 07 09:44:32 bogon systemd[1]: Started man-db-cache-update.service.
-- Subject: Unit man-db-cache-update.service has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit man-db-cache-update.service has finished starting up.
--
-- The start-up result is RESULT.
Dec 07 09:45:07 bogon systemd[1]: Reloading.
Dec 07 09:45:07 bogon systemd[1]: Starting WireGuard via wg-quick(8) for wg0...
-- Subject: Unit wg-quick@wg0.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit wg-quick@wg0.service has begun starting up.
Dec 07 09:45:07 bogon wg-quick[25551]: [#] ip link add wg0 type wireguard
Dec 07 09:45:07 bogon wg-quick[25551]: RTNETLINK answers: Operation not supported
Dec 07 09:45:07 bogon wg-quick[25551]: Unable to access interface: Protocol not supported
Dec 07 09:45:07 bogon wg-quick[25551]: [#] ip link delete dev wg0
Dec 07 09:45:07 bogon wg-quick[25551]: Cannot find device "wg0"
Dec 07 09:45:07 bogon systemd[1]: wg-quick@wg0.service: Main process exited, code=exited, status=1/FAILURE
Dec 07 09:45:07 bogon systemd[1]: wg-quick@wg0.service: Failed with result 'exit-code'.
Dec 07 09:45:07 bogon systemd[1]: Failed to start WireGuard via wg-quick(8) for wg0.
-- Subject: Unit wg-quick@wg0.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit wg-quick@wg0.service has failed.
--
我用官网 的方法安装失败,后来就想用大佬的脚本测试,一看果然也是挂的。CentOS8自带内核感觉跑不动。