Open james0751 opened 1 month ago
不太清楚,没有环境试。
Same problem here. I've been using version 3.0.0 for a long time. Today as soon as I upgraded to 3.0.6 I got the same error message. Downgraded to 3.0.0 and It's working again.
AlmaLinux 8.10 with linux kernel 4.18.0-553.el8_10.x86_64 + menu.sh 3.0.6 is OK
[root@instance-20240531-014951 ~]# bash menu.sh
Language:
1. English (default)
2. 简体中文
Choose: 2
安装依赖列表: wget
检查环境中……
本项目专为 VPS 添加 warp 网络接口,详细说明: [https://github.com/fscarmen/warp-sh]
脚本特点:
• 支持 WARP+ 账户,附带第三方刷 WARP+ 流量和升级内核 BBR 脚本
• 普通用户友好的菜单,进阶者通过后缀选项快速搭建
• 智能判断操作系统: Ubuntu 、Debian 、CentOS、 Alpine 和 Arch Linux,请务必选择 LTS 系统
• 支持硬件结构类型: AMD、 ARM 和 s390x
• 结合 Linux 版本和虚拟化方式,自动优选4个 WireGuard 方案。网络性能方面: 内核集成 WireGuard > 安装内核模块 > wireguard-go
• 支持 WARP Linux Socks5 Client
• 输出执行结果,提示是否使用 WARP IP ,IP 归属地和线路提供商
======================================================================================================================
脚本版本:3.0.6
功能新增:支持 Alpine edge 系统
系统信息:
当前操作系统:AlmaLinux 8.10 (Cerulean Leopard)
内核:4.18.0-553.el8_10.x86_64
处理器架构:amd64
虚拟化:kvm
IPv4: 35.227.145.235 美国 Google LLC
IPv6:
WARP 网络接口未开启
Client 未安装
WireProxy 未安装
======================================================================================================================
1. 为 IPv4 only 添加 WARP IPv4 网络接口 (bash menu.sh 4)
2. 为 IPv4 only 添加 WARP IPv6 网络接口 (bash menu.sh 6)
3. 为 IPv4 only 添加 WARP 双栈网络接口 (bash menu.sh d)
4. 打开 WARP (warp o)
5. 安装 CloudFlare Client 并设置为 Proxy 模式 (bash menu.sh c)
6. 更换支持 Netflix 的 IP (warp i)
7. 永久关闭 WARP 网络接口,并删除 WARP、 Linux Client 和 WireProxy (warp u)
8. 刷 WARP+ 流量 (warp p)
9. 升级内核、安装BBR、DD脚本 (warp b)
10. 同步最新版本 (warp v)
11. WARP 解锁 Netflix 等流媒体专业一键(支持多平台、多方式和 TG 通知)
12. 安装 iptable + dnsmasq + ipset,让 WARP IPv4 only 接管流媒体流量 (不适用于 IPv6 only VPS) (bash menu.sh e)
13. 安装 wireproxy,让 WARP 在本地创建一个 socks5 代理 (bash menu.sh w)
14. 安装 CloudFlare Client 并设置为 WARP 模式 (bash menu.sh l)
0. 退出脚本
请选择: 3
只能使用 wireguard-go with reserved 运行
工作模式:
1. 全局 (默认)
2. 非全局
请选择:
如有 WARP+ 或 Teams 账户请选择
1. 使用免费账户 (默认)
2. WARP+
3. Teams
请选择:
请选择优先级别:
1. IPv4
2. IPv6
3. 使用 VPS 初始设置 (默认)
请选择:
进度 1/3: 安装系统依赖……
Last metadata expiration check: 0:20:14 ago on Fri May 31 02:29:14 2024.
Dependencies resolved.
===================================================================================================================================================
Package Architecture Version Repository Size
===================================================================================================================================================
Installing:
epel-release noarch 8-19.el8 extras 24 k
Transaction Summary
===================================================================================================================================================
Install 1 Package
Total download size: 24 k
Installed size: 35 k
Downloading Packages:
epel-release-8-19.el8.noarch.rpm 165 kB/s | 24 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------
Total 48 kB/s | 24 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : epel-release-8-19.el8.noarch 1/1
Running scriptlet: epel-release-8-19.el8.noarch 1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
Verifying : epel-release-8-19.el8.noarch 1/1
Installed:
epel-release-8-19.el8.noarch
Complete!
进度 2/3: 已安装 WARP
Extra Packages for Enterprise Linux 8 - x86_64 13 MB/s | 14 MB 00:01
Last metadata expiration check: 0:00:11 ago on Fri May 31 02:49:35 2024.
Package net-tools-2.0-0.52.20160912git.el8.x86_64 is already installed.
Package iptables-1.8.5-11.el8_9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
进度 3/3: 寻找 MTU 最优值和优选 endpoint 地址已完成
Last metadata expiration check: 0:00:24 ago on Fri May 31 02:49:35 2024.
Dependencies resolved.
===================================================================================================================================================
Package Architecture Version Repository Size
===================================================================================================================================================
Installing:
wireguard-tools x86_64 1.0.20210914-1.el8 epel 125 k
Transaction Summary
===================================================================================================================================================
Install 1 Package
Total download size: 125 k
Installed size: 292 k
Downloading Packages:
wireguard-tools-1.0.20210914-1.el8.x86_64.rpm 989 kB/s | 125 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------
Total 259 kB/s | 125 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x2F86D6A1:
Userid : "Fedora EPEL (8) <epel@fedoraproject.org>"
Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : wireguard-tools-1.0.20210914-1.el8.x86_64 1/1
Running scriptlet: wireguard-tools-1.0.20210914-1.el8.x86_64 1/1
Verifying : wireguard-tools-1.0.20210914-1.el8.x86_64 1/1
Installed:
wireguard-tools-1.0.20210914-1.el8.x86_64
Complete!
Last metadata expiration check: 0:00:34 ago on Fri May 31 02:49:35 2024.
Dependencies resolved.
Nothing to do.
Complete!
--2024-05-31 02:50:12-- https://gitlab.com/fscarmen/warp/-/raw/main/wireguard-go/wireguard-go-linux-amd64-20230223
Resolving gitlab.com (gitlab.com)... 172.65.251.78
Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2691072 (2.6M) [application/octet-stream]
Saving to: ‘/usr/bin/wireguard-go’
/usr/bin/wireguard-go 100%[=====================================================================>] 2.57M --.-KB/s in 0.04s
2024-05-31 02:50:13 (57.3 MB/s) - ‘/usr/bin/wireguard-go’ saved [2691072/2691072]
创建快捷 warp 指令成功
运行 WARP
后台获取 WARP IP 中,最大尝试5次……
第1次尝试
已成功获取 WARP Free 网络, 工作模式: 全局
==============================================================
IPv4: 104.28.205.250 美国 Cloudflare, Inc.
IPv6: 2a09:bac1:76c0:dba8::1c:1f5 美国 Cloudflare Warp
恭喜!WARP Free 已开启,总耗时:52秒, 脚本当天运行次数:5453,累计运行次数:28022612
IPv6 优先 , 工作模式: 全局
==============================================================
再次运行用 warp [option] [lisence],如
warp h (帮助菜单)
warp n (获取 WARP IP)
warp o (临时warp开关)
warp u (卸载 WARP 网络接口和 Socks5 Client)
warp b (升级内核、开启BBR及DD)
warp a (更换账户为 Free,WARP+ 或 Teams)
warp p (刷WARP+流量)
warp v (同步脚本至最新版本)
warp r (WARP Linux Client 开关)
warp 4/6 (WARP IPv4/IPv6 单栈)
warp d (WARP 双栈)
warp c (安装 WARP Linux Client,开启 Socks5 代理模式)
warp l (安装 WARP Linux Client,开启 WARP 模式)
warp i (更换支持 Netflix 的IP)
warp e (安装 Iptables + dnsmasq + ipset 解决方案)
warp w (安装 WireProxy 解决方案)
warp y (WireProxy socks5 开关)
warp k (切换 wireguard 内核 / wireguard-go-reserved)
warp g (切换 warp 全局 / 非全局)
warp s 4/6/d (优先级: IPv4 / IPv6 / VPS default)
Thanks. But the problem occurs on Almalinux 9.4.
The error message doesn't make sense either because it mentions Centos 7 and 9.
The current operation is AlmaLinux 9.4 (Seafoam Ocelot)
does not support CentOS 9 and CentOS 7 and below systems
It seems that during the version check, it gives an error simply because it doesn't recognize the operating system as a valid option and thinks it's a CentOS 9.
脚本更新版本为 3.0.7,测试以下6个 CentOS 系,全部通过。 The script was updated to version 3.0.7 and tested the following 6 CentOS systems, all passed.
system | install warp test |
---|---|
AlmaLinux 9.4 | ✅ |
AlmaLinux 8.10 | ✅ |
CentOS Stream 9 | ✅ |
CentOS Stream 8 | ✅ |
Rocky Linux 9.4 | ✅ |
Rocky Linux 8.9 | ✅ |
Excellent work. Thank you. I successfully updated to v3.0.7. Everything went smoothly and the wireproxy works as it should on my Almalinux 9.4.
At some point in the past, Warp would no longer assign an IPV6 to the system and it would only work with IPV4. Not sure when the problem started. Probably after one of the system updates. I only noticed it a couple of weeks ago. However after this upgrade, that problem is solved too and I now successfully get both IPV4 and IPV6 addresses assigned from Cloudflare.
Thanks again. and thank you for the great work you've been doing.
Excellent work. Thank you. I successfully updated to v3.0.7. Everything went smoothly and the wireproxy works as it should on my Almalinux 9.4.
At some point in the past, Warp would no longer assign an IPV6 to the system and it would only work with IPV4. Not sure when the problem started. Probably after one of the system updates. I only noticed it a couple of weeks ago. However after this upgrade, that problem is solved too and I now successfully get both IPV4 and IPV6 addresses assigned from Cloudflare.
Thanks again. and thank you for the great work you've been doing.
Thanks to all of you for your support and rationalization to make the project better and better.
之前一直能用的,alma系统更新内核之后执行warp报错:
warp
当前操作是 AlmaLinux 9.4 (Seafoam Ocelot) 不支持 CentOS 9 及 CentOS 7 以下系统,问题反馈:[https://github.com/fscarmen/warp-sh/issues]
上面的网友已经成功安装,你可以试试。
之前一直能用的,alma系统更新内核之后执行warp报错:
warp
当前操作是 AlmaLinux 9.4 (Seafoam Ocelot) 不支持 CentOS 9 及 CentOS 7 以下系统,问题反馈:[https://github.com/fscarmen/warp-sh/issues]