本帖最後由 张无忌 於 2026-4-20 01:41 編輯

有时候发现 opkg update or apk update 有 wgetSSL verify error

apk update: wgetSSL verify error: unknown error
  1. root@OpenWrt:~# apk update
  2. wgetSSL verify error: unknown error
  3. ERROR: wget: exited with error 5
  4. WARNING: updating and opening https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/25.12.2/targets/mediatek/filogic/packages/packages.adb: unexpected end of file
複製代碼
..

原来时间不对 04:17:15 不对!!!


原先:不正常


点击 "Sync with browser" 和 "Sync with NTP-Server"

修改:正常


apk update 正常。


目录 OpenWrt on GL-MT6000 et al.
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

有时候发现 opkg update or apk update 有 wgetSSL verify error

apk update: wgetSSL verify error: unkn ...
张无忌 發表於 2026-4-20 09:20



    有關SSL error, 最近發現如果安裝了 wget-nossl apk, 會卡死
用 wget-ssl 無問題

TOP

本帖最後由 张无忌 於 2026-4-30 06:32 編輯

HomeProxy + 美国节点 + 3x-ui(VLESS + Reality + Vision)
VPS 1: RackNerb US10.6/yr
VPS 2: Vultr US60.48/yr
Debian 13 x64

Step 1:Default 22/tcp,再加其他
  1. ufw allow 80/tcp
  2. ufw allow 443/tcp

  3. ufw status
複製代碼
..

Step 2:Apt update and install git
  1. apt update -y && apt install git -y
複製代碼
..

Step 3:安装 3x-ui
  1. bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)
複製代碼
..

Step 4:按 Enter
  1. Would you like to customize the Panel Port settings? (If not, a random port will be applied) [y/n]:
複製代碼
..

Step 5:按 Enter
  1. Generated random port: 42739
  2. Port set successfully: 42739
  3. Username and password updated successfully
  4. Base URI path set successfully

  5. ═══════════════════════════════════════════
  6.      SSL Certificate Setup (MANDATORY)
  7. ═══════════════════════════════════════════
  8. For security, SSL certificate is required for all panels.
  9. Let's Encrypt now supports both domains and IP addresses!

  10. Choose SSL certificate setup method:
  11. 1. Let's Encrypt for Domain (90-day validity, auto-renews)
  12. 2. Let's Encrypt for IP Address (6-day validity, auto-renews)
  13. 3. Custom SSL Certificate (Path to existing files)
  14. Note: Options 1 & 2 require port 80 open. Option 3 requires manual paths.
  15. Choose an option (default 2 for IP):
複製代碼
..

Step 6:按 Enter
  1. Do you have an IPv6 address to include? (leave empty to skip):
複製代碼
..

Step 7:Setup https,按 Enter
  1. Port to use for ACME HTTP-01 listener (default 80):
複製代碼
..

Step 8:Panel
  1. ═══════════════════════════════════════════
  2.      Panel Installation Complete!
  3. ═══════════════════════════════════════════
  4. Username:    GsaplvD0Fd
  5. Password:    XSyhGGaNqu
  6. Port:        42739
  7. WebBasePath: gM4CMjjJ0zapaVJMuL
  8. Access URL:  https://149.248.6.5:42739/gM4CMjjJ0zapaVJMuL
  9. ═══════════════════════════════════════════
複製代碼
..

Step 9:Add port to allow
  1. ufw allow 42739/tcp
複製代碼
..

Step 10:Access URL:  https://149.248.6.5:42739/gM4CMjjJ0zapaVJMuL
1. 443
2. 安全 Reality
3. Get New Cert
4. 客户 Flow=xtls-rprx-vision
5. 创建

Step 11:VLESS + Reality + Vision
  1. vless://8e1357ec-b4ca-4b8d-8f3f-3a02da55b82b@149.248.6.5:443?type=tcp&encryption=none&security=reality&pbk=xykpYQWIw2uhLNC5rlrtxySYlALd0zlngP6jBq1px2U&fp=chrome&sni=aws.amazon.com&sid=b7f8ebaad22cbb16&spx=%2F&flow=xtls-rprx-vision#p6cumqoo
複製代碼
..

Step 12. HomeProxy
Add "Step 11" VLESS URL

Performance:
1. In 7 a.m. both VPS were the same. After 8 a.m. RackNerb performed very bad however Vultr was good.
2. The cost of Vultr almost is 6 times higher than that of RackNerb.

References:
[1] MHSanaei / 3x-ui
[2] 别再给机场送钱了!2026 手把手教你自建 VLESS+Reality 天花板节点,稳如老狗,快到飞起!
[3] 3x-ui on Linux server


目录 OpenWrt on GL-MT6000 et al.

TOP

本帖最後由 张无忌 於 2026-7-24 02:33 編輯

WireGuard server

以前不太懂安装 OpenWrt WireGuard server [1],所以都没有安装,但是香港有些朋友要看 FIFA 2026,所以再测试安装,安装信息不是从网上找,而用 Google Gemini AI 找资料,速度比较快。

1: 大陆 ipk repository server,其他不用
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
複製代碼
..

2. Install wireguard-tools 和 luci-proto-wireguard
  1. opkg update
  2. opkg install wireguard-tools luci-proto-wireguard
複製代碼
..
  1. Configuring ip-tiny.
  2. Configuring kmod-crypto-lib-chacha20.
  3. Configuring kmod-crypto-lib-poly1305.
  4. Configuring kmod-crypto-lib-chacha20poly1305.
  5. Configuring kmod-crypto-kpp.
  6. Configuring kmod-crypto-lib-curve25519.
  7. Configuring kmod-udptunnel4.
  8. Configuring kmod-udptunnel6.
  9. Configuring kmod-wireguard.
  10. Configuring wireguard-tools.
  11. Configuring luci-lib-uqr.
  12. Configuring resolveip.
  13. Configuring luci-proto-wireguard.
複製代碼
..

3. Network restart
  1. /etc/init.d/network restart
複製代碼
..

4. Add WireGuard Network Interface
Add new interface
  1. a. Name=wg0
  2. b. Protocol=WireGuard VPN
複製代碼
Save

5. Configure the WireGuard Network Interface
  1. 1. Generate new key pair
  2. 2. Listen port=51820
  3. 3. IP=10.0.0.1/24
複製代碼
Save

6. Configure WireGuard Peers
Click on Add peer
  1. Click on Generate new key pair to populate the public and private key fields
  2. Allowed IPs: 10.0.0.2/32 or whatever other address you will assign to the client
  3. Endpoint port: 51820
  4. Persistent Keep Alive: 25
複製代碼
Save

7. Configure Firewall for WireGuard traffic
  1. Name: WireguardVPN (or preferred name)
  2. Input: accept
  3. Output: accept
  4. Intra zone forward: accept
  5. Masquerading: checked
  6. MSS Clamping: checked
  7. Covered networks: wg0
  8. Allow forward to destination zones: lan and wan
  9. Allow forward from source zones: lan
複製代碼
Save

8. Go to LuCI → Network → Firewall → Traffic Rules
  1. Name: WireGuard-incoming (or preferred name)
  2. Protocol: UDP <change>
  3. Source zone: wan
  4. Source address: -- add IP --
  5. Source port: any
  6. Destination zone: Device <change>
  7. Destination address: -- add IP--
  8. Destination port: 51820  <change>
  9. Action: accept
複製代碼
Save, Save & apply

9. /etc/init.d/network restart
多 peers,最后都要 /etc/init.d/network restart


Reference:
[1] WireGuard server

Configuring Wireguard on OpenWRT - Step by Step Guides https://www.youtube.com/watch?v=sFEff3geYdU

目录 OpenWrt on GL-MT6000 et al.

TOP

之前 GL 主要的 OpenWrt stable release 有 GL-MT6000,GL-MT3000,现在 GL-MT3600BE 也加入 OpenWrt  stable release。

现在手里已经有 GL-MT6000,GL-MT3600BE,GL-MT3000,Cudy TR3000 256 MB v1,可以在 OpenWrt 上做测试。

TOP

係咪出咗 OpenWrt 上用嘅 OpenClaw/PicoClaw?

TOP

回覆 76# mlyu

找过你说的 OpenClaw/PicoClaw 都能安装 OpenWrt,但是这些主要是大陆人主使用,香港人主要用美国的 AI,根据要求 GL-MT6000,GL-BE6500,GL-MT5000,GL-MT2500/GL-MT2500A 可以使用。

TOP

本帖最後由 张无忌 於 2026-10-4 11:57 編輯

资料库 OpenWrt

一款闭源路由器系统是如何在博弈中走向开源的?https://www.youtube.com/watch?v=GjJZEpFFBtg

openwrt 科学上网 ,VirtualBox虚拟机安装Openwrt软路由,实现真全局代理,住宅IP加速,远程桌面加速 https://www.youtube.com/watch?v=q6_pQYCT2TM


目录 OpenWrt on GL-MT6000 et al.

TOP

本帖最後由 张无忌 於 2026-10-5 07:18 編輯

OpenWrt 怎样出来?

所有 OpenWrt 东西都是从 Linksys WRT54G 说起,有人 Andrew Miklas 发现 WRT54G 里有 Linux codes,后来 Cisco 2003 买入 Linksys,于是跟 Cisco 交涉,于是给出 WRT54G binary codes,那个时候 OpenWrt 2004 就成立,但是他们要求是从 source codes,how to make,combine,到 binary codes 等等,但是 Cisco 都没有给,有些人知道 Linksys 其他 wireless routers 里都是用 Linux codes,于是 2008 年 12 月有人在美国法院告 Cisco 侵权,2009 年 5 月 20 日 Cisco 公开所有资料。

除了 OpenWrt,还有 DD-WRT,Tomato,Merlin 出现,在 2008 年 OpenWrt Lua + UCI = LuCI,到 2009 中期附近 OpenWrt 便发展顺速。

大家看看 "一款闭源路由器系统是如何在博弈中走向开源的?" [1] 。
00:25 从 WRT54G 开始
01:18 很多的 notebook / laptop 都开始有 Wireless 连接
02:30 博通无线网卡与 OpenWrt 关系
02:41 安德鲁-米克拉希(Andrew Miklas) 第一人发现 "博通无线网卡" 用 Linux code
03:00 他看到 CramFS and Linux kernel
03:27 GPLv2 要求开源
03:36 Andrew Miklas,7 June 2003,写了一封信 KLML.ORG subject: WRG54G and Linux
04:09 转发 Slashdot,31 July 2003,WRT54G and Linux,更加人知道
06:23 Cisco June 2003(可能作者不对) released Linux binary codes
07:59 11 December 2008, Cisco 被告上法庭
08:53 20 May 2009 达成协议
11:02 Sveasoft
11:30 Brain Slayer DD-WRT
12:00 Tomato --> ASUSWRT --> ASUSWRT-Merlin
12:47 2004-2007, OpenWrt 用 Linux shell 进行
13:10 x-Wrt 2005
14:20 Unified Configuration Interface(UCI)
15:02 2008 年 Lua + UCI = LuCI


Reference:
[1] 一款闭源路由器系统是如何在博弈中走向开源的?

目录 OpenWrt on GL-MT6000 et al.

TOP

本帖最後由 张无忌 於 2026-11-11 15:46 編輯

在大陆可以科学上网有什么 routers?

在大陆很多时候的 routers,只是一个普通路由,没有科学上网功能,那么最主要可以用 OpenWrt 或者 ImmortalWrt 或同类的,你可以从 OpenWrt 可以找出,但是一定要有 release firmware 才能决定 [1]。


Reference:
[1] https://toh.openwrt.org/

目录 OpenWrt on GL-MT6000 et al.

TOP