root@RN-V2:~# bash <(curl -fsSL git.io/warp.sh) d
System Information
—————————————————
Operating System: Debian GNU/Linux 9 (stretch)
Linux Kernel: 4.9.0-4-amd64
Architecture: x86_64
Virtualization: kvm
—————————————————
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Get:2 http://deb.debian.org/debian unstable InRelease [165 kB]
Ign:3 http://ftp.us.debian.org/debian stretch InRelease
Err:2 http://deb.debian.org/debian unstable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D130 NO_PUBKEY 0E98404D386FA1D0
Hit:4 http://ftp.us.debian.org/debian stretch-updates InRelease
Hit:5 http://ftp.us.debian.org/debian stretch Release
Reading package lists… Done
W: GPG error: http://deb.debian.org/debian unstable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D0
E: The repository 'http://deb.debian.org/debian unstable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists… Done
Building dependency tree
Reading state information… Done
iproute2 is already the newest version (4.9.0-1+deb9u1).
openresolv is already the newest version (3.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 141 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package wireguard-tools
[INFO] Get CPU architecture …
[INFO] Architecture: amd64 (dpkg)
[INFO] Get wireguard-go download URL …
[INFO] Download URL: https://github.com/P3TERX/wireguard-go-builder/releases/download/0.0.20211016/wireguard-go-linux-amd64.tar.gz
[INFO] Installing wireguard-go …
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 670 100 670 0 0 2014 0 –:–:– –:–:– –:–:– 2012
100 1992k 100 1992k 0 0 3971k 0 –:–:– –:–:– –:–:– 3971k
[INFO] Done.
[INFO] WireGuard is disabled.
[INFO] Getting the network interface IPv4 address…
[INFO] IPv4 Address: 107.108.156.186
[INFO] Getting the best MTU value for WireGuard…
[INFO] WireGuard MTU: 1420
[INFO] WireGuard profile (/etc/wireguard/wgcf.conf) generation in progress…
==========================================================================================================================
# Generated by P3TERX/warp.sh
# Visit https://github.com/P3TERX/warp.sh for more information [Interface] PrivateKey = CLAD7QfREBmR/RqF1NBVxkBZR7SQqpL598spqnFBvG9=
Address = 172.16.0.2/32,fd01:5ca1:ab1e:8cef:47ef:dbb1:dafc:21c7/128
DNS = 8.8.8.8,8.8.4.4,2001:4860:4860::8888,2001:4860:4860::8844
MTU = 1420
PostUp = ip -4 rule add from 107.173.156.86 lookup main prio 18
PostDown = ip -4 rule delete from 107.173.156.86 lookup main prio 18 [Peer] PublicKey = bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = 162.159.192.1:2408
==========================================================================================================================
sysctl: reading key "net.ipv6.conf.all.stable_secret"
sysctl: reading key "net.ipv6.conf.default.stable_secret"
sysctl: reading key "net.ipv6.conf.eth0.stable_secret"
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
[INFO] Starting WireGuard…
Failed to enable unit: File wg-quick@wgcf.service: No such file or directory
[ERROR] WireGuard failure to run!
— No entries —
有没有大佬指点一下这是啥屌毛病?
海南省网友说:和warp关系不大,你源有问题,wireguard程序没下下来
河南省网友说:用这个脚本
https://github.com/fscarmen/warp/
四川省网友说:不支持 Debian 10 以下系统
辽宁省网友说:update再upgrade后居然ok了