vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
15.72k stars 2.93k forks source link

[Bug] Linksys E7350 OpenWrt官方最新正式版无法安装OpenClash #3914

Open Subtly7360 opened 2 weeks ago

Subtly7360 commented 2 weeks ago

Verify Steps

OpenClash Version

v0.46.014-beta

Bug on Environment

Official OpenWrt

OpenWrt Version

OpenWrt 23.05.3 r23809-234f1a2efa / LuCI openwrt-23.05 branch git-24.086.45142-09d5a38

Bug on Platform

Other

Describe the Bug

尝试1、领势E7350硬路由刷了OpenWrt官方固件系统后更新了软件源并解决了OpenClash要求的全部依赖的情况下提示找不到OpenClash包;2、本地磁盘手动上传和命令行本地安装也无法安装OpenClash。

To Reproduce

每次按E7350背后的Reset键OpenWrt都会恢复到初始状态,就可以还原初次安装OpenClash时所遇到的问题: 1、首先把OpenWrt官方源换成中国境内的源这样下载软件插件网速才比较快也不容易出现问题导致安装终止。 2、浏览器打开OpenClash releases页按照注意事项栏提醒把指令复制,后用ssh登陆路由器OpenWrt后台,黏贴指令安装OpenClash所有依赖:

root@OpenWrt:~# #iptables
root@OpenWrt:~# opkg update
pkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-baseDownloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-
tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
Installing coreutils-nohup (9.3-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/coreutils-nohup_9.3-1_mipsel_24kc.ipk
Installing coreutils (9.3-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/coreutils_9.3-1_mipsel_24kc.ipk
Installing bash (5.2.15-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/bash_5.2.15-1_mipsel_24kc.ipk
Installing terminfo (6.4-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/terminfo_6.4-2_mipsel_24kc.ipk
Installing libncurses6 (6.4-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libncurses6_6.4-2_mipsel_24kc.ipk
Installing libreadline8 (8.2-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libreadline8_8.2-1_mipsel_24kc.ipk
Installing iptables-nft (1.8.8-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/iptables-nft_1.8.8-2_mipsel_24kc.ipk
Installing kmod-nf-ipt (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-nf-ipt_5.15.150-1_mipsel_24kc.ipk
Installing kmod-ipt-core (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-ipt-core_5.15.150-1_mipsel_24kc.ipk
Installing libxtables12 (1.8.8-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/libxtables12_1.8.8-2_mipsel_24kc.ipk
Installing libiptext0 (1.8.8-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/libiptext0_1.8.8-2_mipsel_24kc.ipk
Installing libiptext6-0 (1.8.8-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/libiptext6-0_1.8.8-2_mipsel_24kc.ipk
Installing libiptext-nft0 (1.8.8-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/libiptext-nft0_1.8.8-2_mipsel_24kc.ipk
Installing kmod-nft-compat (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-nft-compat_5.15.150-1_mipsel_24kc.ipk
Installing xtables-nft (1.8.8-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/xtables-nft_1.8.8-2_mipsel_24kc.ipk
Installing dnsmasq-full (2.90-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/dnsmasq-full_2.90-2_mipsel_24kc.ipk
Installing libgmp10 (6.2.1-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libgmp10_6.2.1-1_mipsel_24kc.ipk
Installing libnettle8 (3.9.1-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libnettle8_3.9.1-1_mipsel_24kc.ipk
Installing libnfnetlink0 (1.0.2-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libnfnetlink0_1.0.2-1_mipsel_24kc.ipk
Installing kmod-nf-conntrack-netlink (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-nf-conntrack-netlink_5.15.150-1_mipsel_24kc.ipk
Installing libnetfilter-conntrack3 (1.0.9-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libnetfilter-conntrack3_1.0.9-2_mipsel_24kc.ipk
Installing curl (8.7.1-r1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/curl_8.7.1-r1_mipsel_24kc.ipk
Installing libnghttp2-14 (1.57.0-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/libnghttp2-14_1.57.0-1_mipsel_24kc.ipk
Installing libcurl4 (8.7.1-r1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/libcurl4_8.7.1-r1_mipsel_24kc.ipk
Installing ca-certificates (20230311-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/ca-certificates_20230311-1_all.ipk
Installing ipset (7.17-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/ipset_7.17-1_mipsel_24kc.ipk
Installing kmod-ipt-ipset (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-ipt-ipset_5.15.150-1_mipsel_24kc.ipk
Installing libipset13 (7.17-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libipset13_7.17-1_mipsel_24kc.ipk
Installing ip-full (6.3.0-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/ip-full_6.3.0-1_mipsel_24kc.ipk
Installing zlib (1.2.13-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/zlib_1.2.13-1_mipsel_24kc.ipk
Installing libelf1 (0.189-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libelf1_0.189-1_mipsel_24kc.ipk
Installing libbpf1 (1.2.2-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libbpf1_1.2.2-1_mipsel_24kc.ipk
Installing iptables-mod-tproxy (1.8.8-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/iptables-mod-tproxy_1.8.8-2_mipsel_24kc.ipk
Installing kmod-nf-tproxy (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-nf-tproxy_5.15.150-1_mipsel_24kc.ipk
Installing kmod-ipt-tproxy (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-ipt-tproxy_5.15.150-1_mipsel_24kc.ipk
Installing iptables-mod-extra (1.8.8-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/iptables-mod-extra_1.8.8-2_mipsel_24kc.ipk
Installing kmod-ipt-extra (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-ipt-extra_5.15.150-1_mipsel_24kc.ipk
Installing libcap (2.69-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libcap_2.69-1_mipsel_24kc.ipk
Installing libcap-bin (2.69-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libcap-bin_2.69-1_mipsel_24kc.ipk
Installing ruby (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby_3.2.2-2_mipsel_24kc.ipk
Installing librt (1.2.4-4) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/librt_1.2.4-4_mipsel_24kc.ipk
Installing libruby3.2 (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/libruby3.2_3.2.2-2_mipsel_24kc.ipk
Installing ruby-yaml (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby-yaml_3.2.2-2_mipsel_24kc.ipk
Installing ruby-digest (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby-digest_3.2.2-2_mipsel_24kc.ipk
Installing ruby-enc (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby-enc_3.2.2-2_mipsel_24kc.ipk
Installing ruby-pstore (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby-pstore_3.2.2-2_mipsel_24kc.ipk
Installing ruby-bigdecimal (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby-bigdecimal_3.2.2-2_mipsel_24kc.ipk
Installing ruby-date (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby-date_3.2.2-2_mipsel_24kc.ipk
Installing ruby-forwardable (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby-forwardable_3.2.2-2_mipsel_24kc.ipk
Installing ruby-stringio (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby-stringio_3.2.2-2_mipsel_24kc.ipk
Installing libyaml (0.2.5-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/libyaml_0.2.5-1_mipsel_24kc.ipk
Installing ruby-psych (3.2.2-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/ruby-psych_3.2.2-2_mipsel_24kc.ipk
Installing kmod-tun (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-tun_5.15.150-1_mipsel_24kc.ipk
Installing kmod-inet-diag (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-inet-diag_5.15.150-1_mipsel_24kc.ipk
Installing unzip (6.0-8) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/unzip_6.0-8_mipsel_24kc.ipk
Installing luci-compat (git-24.086.45108-51aee90) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/luci-compat_git-24.086.45108-51aee90_all.ipk
Installing liblua5.1.5 (5.1.5-11) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/liblua5.1.5_5.1.5-11_mipsel_24kc.ipk
Installing lua (5.1.5-11) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/lua_5.1.5-11_mipsel_24kc.ipk
Installing luci-lib-nixio (git-24.034.54875-21210dc) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/luci-lib-nixio_git-24.034.54875-21210dc_mipsel_24kc.ipk
Installing luci-lib-ip (git-23.311.79290-c2a887e) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/luci-lib-ip_git-23.311.79290-c2a887e_mipsel_24kc.ipk
Installing luci-lib-jsonc (git-23.298.74571-62eb535) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/luci-lib-jsonc_git-23.298.74571-62eb535_mipsel_24kc.ipk
Installing liblucihttp-lua (2023-03-15-9b5b683f-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/liblucihttp-lua_2023-03-15-9b5b683f-1_mipsel_24kc.ipk
Installing luci-lib-base (git-22.308.54612-9118452) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/luci-lib-base_git-22.308.54612-9118452_all.ipk
Installing libubus-lua (2023-06-05-f787c97b-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/libubus-lua_2023-06-05-f787c97b-1_mipsel_24kc.ipk
Installing ucode-mod-lua (1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/ucode-mod-lua_1_mipsel_24kc.ipk
Installing luci-lua-runtime (git-23.233.52805-dae2684) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/luci-lua-runtime_git-23.233.52805-dae2684_mipsel_24kc.ipk
Package luci (git-23.051.66410-a505bb1) installed in root is up to date.
Upgrading luci-base on root from git-24.073.29889-cd7e519 to git-24.086.45142-09d5a38...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/luci-base_git-24.086.45142-09d5a38_mipsel_24kc.ipk
Configuring terminfo.
Configuring liblua5.1.5.
Configuring lua.
Configuring luci-lib-nixio.
Configuring luci-lib-ip.
Configuring luci-lib-jsonc.
Configuring liblucihttp-lua.
Configuring luci-lib-base.
Configuring kmod-nf-ipt.
Configuring kmod-nft-compat.
Configuring libxtables12.
Configuring kmod-ipt-core.
Configuring kmod-ipt-extra.
Configuring iptables-mod-extra.
Configuring zlib.
Configuring libelf1.
Configuring libbpf1.
Configuring ip-full.
Configuring libubus-lua.
Configuring kmod-nf-tproxy.
Configuring kmod-ipt-tproxy.
Configuring kmod-tun.
Configuring libncurses6.
Configuring libreadline8.
Configuring bash.
Configuring kmod-inet-diag.
Configuring luci-base.
Configuring libiptext0.
Configuring libcap.
Configuring libcap-bin.
Configuring ucode-mod-lua.
Configuring luci-lua-runtime.
Configuring coreutils.
Configuring libnfnetlink0.
Configuring kmod-nf-conntrack-netlink.
Configuring libnetfilter-conntrack3.
Configuring librt.
Configuring libgmp10.
Configuring libruby3.2.
Configuring ruby.
Configuring ruby-digest.
Configuring ruby-enc.
Configuring ruby-pstore.
Configuring ruby-forwardable.
Configuring ruby-stringio.
Configuring ruby-bigdecimal.
Configuring ruby-date.
Configuring libyaml.
Configuring ruby-psych.
Configuring ruby-yaml.
Configuring libiptext6-0.
Configuring libiptext-nft0.
Configuring xtables-nft.
Configuring iptables-nft.
Configuring unzip.
Configuring libnghttp2-14.
Configuring libcurl4.
Configuring curl.
Configuring luci-compat.
Configuring kmod-ipt-ipset.
Configuring libipset13.
Configuring ipset.
Configuring libnettle8.
Configuring iptables-mod-tproxy.
Configuring ca-certificates.
Configuring coreutils-nohup.
### Collected errors:
 * check_data_file_clashes: Package dnsmasq-full wants to install file /etc/hotplug.d/ntp/25-dnsmasqsec
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /etc/init.d/dnsmasq
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/lib/dnsmasq/dhcp-script.sh
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/sbin/dnsmasq
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/acl.d/dnsmasq_acl.json
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/dnsmasq/dhcpbogushostname.conf
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/dnsmasq/rfc6761.conf
        But that file is already provided by package  * dnsmasq
 * opkg_install_cmd: Cannot install package dnsmasq-full.
 * resolve_conffiles: Existing conffile /etc/config/luci is different from the conffile in the new package. The new conffile will be placed at /etc/config/luci-opkg.

随后通过Google 搜Collected errors后面的内容找到本OpenClash Issues下一个以前被关闭的类似Issues复制用户 @vernesong 的For 22.03 openwrt这段指令到SSH后面Issue段不用目的是重装libcap & libcap-bin:

root@OpenWrt:~# #nftables
root@OpenWrt:~# opkg update
pkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ipset ip-full libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-baseDownloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ipset ip-full libcap libcap-bin ruby
 ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
Package coreutils-nohup (9.3-1) installed in root is up to date.
Package bash (5.2.15-1) installed in root is up to date.
Installing dnsmasq-full (2.90-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/dnsmasq-full_2.90-2_mipsel_24kc.ipk
Package curl (8.7.1-r1) installed in root is up to date.
Package ca-certificates (20230311-1) installed in root is up to date.
Package ipset (7.17-1) installed in root is up to date.
Package ip-full (6.3.0-1) installed in root is up to date.
Package libcap (2.69-1) installed in root is up to date.
Package libcap-bin (2.69-1) installed in root is up to date.
Package ruby (3.2.2-2) installed in root is up to date.
Package ruby-yaml (3.2.2-2) installed in root is up to date.
Package kmod-tun (5.15.150-1) installed in root is up to date.
Package kmod-inet-diag (5.15.150-1) installed in root is up to date.
Package unzip (6.0-8) installed in root is up to date.
Installing kmod-nft-tproxy (5.15.150-1) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/kmod-nft-tproxy_5.15.150-1_mipsel_24kc.ipk
Package luci-compat (git-24.086.45108-51aee90) installed in root is up to date.
Package luci (git-23.051.66410-a505bb1) installed in root is up to date.
Package luci-base (git-24.086.45142-09d5a38) installed in root is up to date.
Configuring kmod-nft-tproxy.
Collected errors:
 * check_data_file_clashes: Package dnsmasq-full wants to install file /etc/hotplug.d/ntp/25-dnsmasqsec
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /etc/init.d/dnsmasq
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/lib/dnsmasq/dhcp-script.sh
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/sbin/dnsmasq
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/acl.d/dnsmasq_acl.json
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/dnsmasq/dhcpbogushostname.conf
        But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /usr/share/dnsmasq/rfc6761.conf
        But that file is already provided by package  * dnsmasq
 * opkg_install_cmd: Cannot install package dnsmasq-full.
root@OpenWrt:~# Unable to set capabilities [--caps=cap_sys_resource,cap_dac_override,cap_net_raw,cap_net_bind_service,ca
p_net_admin,cap_sys_ptrace+eip]
-ash: Unable: not found

还是提示这个Err随后又Google搜索找到本OpenClash Issues另一个以前被关闭的无法安装问题#923 复制@Geekiter 给出的指令黏贴到ssh里:

root@OpenWrt:~# opkg update
 remove dnsmasq && opkg install dnsmasq-full Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg remove dnsmasq && opkg install dnsmasq-full
Removing package dnsmasq from root...
Not deleting modified conffile /etc/config/dhcp.
Installing dnsmasq-full (2.90-2) to root...
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/dnsmasq-full_2.90-2_mipsel_24kc.ipk
Configuring dnsmasq-full.
udhcpc: started, v1.36.1
udhcpc: broadcasting discover
udhcpc: no lease, failing
Collected errors:
 * resolve_conffiles: Existing conffile /etc/config/dhcp is different from the conffile in the new package. The new conffile will be placed at /etc/config/dhcp-opkg.

3、解决所有依赖后,更新源安装OpenClash: 输入opkg install openclash提示找不到软件包

root@OpenWrt:~# opkg update
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install openclash
Unknown package 'openclash'.
Collected errors:
 * opkg_install_cmd: Cannot install package openclash.

之后复制精确完整的文件名或复制包的下载超链接依然提示找不到:

root@OpenWrt:~# opkg install luci-app-openclash_0.46.014-beta_all.ipk
Collected errors:
 * wfopen: luci-app-openclash_0.46.014-beta_all.ipk: No such file or directory.
 * pkg_init_from_file: Failed to extract control file from luci-app-openclash_0.46.014-beta_all.ipk.
root@OpenWrt:~# opkg install https://github.com/vernesong/OpenClash/releases/download/v0.46.014-beta/luci-app-openclash_
0.46.014-beta_all.ipk
Collected errors:
 * wfopen: https://github.com/vernesong/OpenClash/releases/download/v0.46.014-beta/luci-app-openclash_0.46.014-beta_all.ipk: No such file or directory.
 * pkg_init_from_file: Failed to extract control file from https://github.com/vernesong/OpenClash/releases/download/v0.46.014-beta/luci-app-openclash_0.46.014-beta_all.ipk.

之后通过搜索找到 @teamalpha5441作为参考:

Opkg cannot install directly from an URL. Download the .ipk-File first, then install it locally. The following works, but needs some flash space for the full wget and doesn't check TLS certificates:


opkg update
opkg install wget
cd /tmp
wget --no-check-certificate https://github.com/k-szuster/luci-access-control/releases/download/0.4.1/luci-app-access-control_0.4.1_all.ipk
opkg install luci-app-access-control_0.4.1_all.ipk
把软件包改为OpenClash包的超链接下载地址:

root@OpenWrt:~# opkg update Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/targets/ramips/mt7621/packages/Packages.sig Signature check passed. Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/base/Packages.sig Signature check passed. Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/luci/Packages.sig Signature check passed. Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/routing/Packages.sig Signature check passed. Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.sig Signature check passed. root@OpenWrt:~# opkg install wget Package uclient-fetch (2023-04-13-007d9454-1) installed in root is up to date. root@OpenWrt:~# cd /tmp root@OpenWrt:/tmp# wget --no-check-certificate https://github.com/vernesong/OpenClash/releases/download/v0.46.014-beta/l uci-app-openclash_0.46.014-beta_all.ipk Downloading 'https://github.com/vernesong/OpenClash/releases/download/v0.46.014-beta/luci-app-openclash_0.46.014-beta_all.ipk' Connecting to 20.205.243.166:443 Redirected to /github-production-release-asset-2e65be/189256120/30baca20-a8d7-498b-8636-f433c8fa92dd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240610%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240610T151034Z&X-Amz-Expires=300&X-Amz-Signature=dacc7e441ea89d898f407a292e221bfcc72cd4d868843d34a52873a4514f3e97&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=189256120&response-content-disposition=attachment%3B%20filename%3Dluci-app-openclash_0.46.014-beta_all.ipk&response-content-type=application%2Foctet-stream on objects.githubusercontent.com Writing to '30baca20-a8d7-498b-8636-f433c8fa92dd?X-Amz-Algorithm=AWS4-HMAC-SHA256' 30baca20-a8d7-498b-8 100% |***| 5542k 0:00:00 ETA Download completed (5675080 bytes)

路由磁盘本地安装,依然提示无法安装OpenClash:

root@OpenWrt:/tmp# opkg install luci-app-openclash_0.46.014-beta_all.ipk Collected errors:

OpenClash Log

无法安装到OpenClash所以无OC log。

OpenClash Config

No response

Expected Behavior

能够完美安装OpenClash并运行完美无Err。

Additional Context

Status System Hostname OpenWrt Model Linksys E7350 Architecture MediaTek MT7621 ver:1 eco:3 Target Platform ramips/mt7621 Firmware Version OpenWrt 23.05.3 r23809-234f1a2efa / LuCI openwrt-23.05 branch git-24.073.29889-cd7e519 Kernel Version 5.15.150 Local Time 2024-06-10 12:39:11 Uptime 0h 9m 1s Load Average 0.00, 0.03, 0.03

本地时间这栏初始刷入官方原版就是不可调(没看到在哪跳时间和时区)

xianren78 commented 2 weeks ago

Writing to '30baca20-a8d7-498b-8636-f433c8fa92dd?X-Amz-Algorithm=AWS4-HMAC-SHA256' cd /tmp && ls -lh luci-app-openclash_0.46.014-beta_all.ipk 看看这个文件真的存在于/tmp里面吗?

Subtly7360 commented 2 weeks ago

Writing to '30baca20-a8d7-498b-8636-f433c8fa92dd?X-Amz-Algorithm=AWS4-HMAC-SHA256' cd /tmp && ls -lh luci-app-openclash_0.46.014-beta_all.ipk 看看这个文件真的存在于/tmp里面吗?

不在,命令行查了两次,一次在/tmp,一次退回到根目录,奇怪了,命令行明明提示已经下载完毕,为啥就是没有呢:

root@OpenWrt:/tmp# wget --no-check-certificate https://github.com/vernesong/OpenClash/releases/download/v0.46.014-beta/l
uci-app-openclash_0.46.014-beta_all.ipk
Downloading 'https://github.com/vernesong/OpenClash/releases/download/v0.46.014-beta/luci-app-openclash_0.46.014-beta_all.ipk'
Connecting to 20.205.243.166:443
Redirected to /github-production-release-asset-2e65be/189256120/30baca20-a8d7-498b-8636-f433c8fa92dd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240611%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240611T052133Z&X-Amz-Expires=300&X-Amz-Signature=9d1c2eca4dad769434d52ba404e939bffbd11dbda9a4ad4b6904356a643ac85b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=189256120&response-content-disposition=attachment%3B%20filename%3Dluci-app-openclash_0.46.014-beta_all.ipk&response-content-type=application%2Foctet-stream on objects.githubusercontent.com
Writing to '30baca20-a8d7-498b-8636-f433c8fa92dd?X-Amz-Algorithm=AWS4-HMAC-SHA256'
30baca20-a8d7-498b-8 100% |*******************************|  5542k  0:00:00 ETA
Download completed (5675080 bytes)
root@OpenWrt:/tmp# cd /tmp && ls -lh luci-app-openclash_0.46.014-beta_all.ipk
ls: luci-app-openclash_0.46.014-beta_all.ipk: No such file or directory
root@OpenWrt:/tmp# ls -lh luci-app-openclash_0.46.014-beta_all.ipk
ls: luci-app-openclash_0.46.014-beta_all.ipk: No such file or directory

root@OpenWrt:~# cd /tmp && ls -lh luci-app-openclash_0.46.014-beta_all.ipk
ls: luci-app-openclash_0.46.014-beta_all.ipk: No such file or directory
minisind commented 2 weeks ago

用这个网站重新编译一个你路由器的固件吧。 https://firmware-selector.immortalwrt.org/?version=23.05.2&target=ramips%2Fmt7621&id=linksys_e7350

minisind commented 2 weeks ago

编译的时候可以选好所有的依赖包。

l0g1n commented 2 weeks ago

我在NAS上x86_64版本中,遇到相同的问题。 请尝试使用:opkg --force-overwrite install luci-app-openclash_0.46.014-beta_all.ipk来安装

minisind commented 2 weeks ago

都能知道翻墙了,遇到问题多问GOOGLE,多思考。 赶紧把这个Issue关了吧,自己装不好APP怪APP有BUG,这是你家哪个家长教你的? 要用OPENWRT官方的,也能自己直接定制好所有依赖包的固件。 再上传IPK安装。 https://firmware-selector.openwrt.org/?version=23.05.3&target=ramips%2Fmt7621&id=linksys_e7350

Subtly7360 commented 2 weeks ago

编译的时候可以选好所有的依赖包。

多谢告知可以使用专门为中国地区用户量身定制的ImmortalWrt请问immortalwrt和lean的lede、官方的openwrt有什么不同点? 经刷入测得ImmortalWrt能安装使用: 下载固件前展开Customize installed packages and/or first boot script栏把所有依赖(#iptables和#nftables栏)只要通过网页检索没有的和openclash 都输入进去Installed Packages(预安装的软件包)框后点击REQUEST BUILD(请求构建)系统即可生成带OpenClash的镜像安装包。

Subtly7360 commented 2 weeks ago

我在NAS上x86_64版本中,遇到相同的问题。 请尝试使用:opkg --force-overwrite install luci-app-openclash_0.46.014-beta_all.ipk来安装

测试的环境:E7350 OpenWrt 23.05.3 r23809-234f1a2efa / LuCI openwrt-23.05 branch git-24.086.45142-09d5a38 下载固件前已提前安装所有依赖软件包【删除dnsmasq换成dnsmasq-full】 Screenshot OpenWrt Firmware E7350 Before downloading the firmware, the software to be pre-installed has been entered to build the firmware 但OpenWrt官方软件源库里就是没有OpenClash ScreenshotOpenWrt Firmware Cannot intall package openclash 用wget下载到/tmp目录里再执行你所说的opkg --force-overwrite install luci-app-openclash_0.46.014-beta_all.ipk同样提示找不到 Screenshot Can't find luci-app-openclash_0 46 014-beta_all ipk in tmp

Subtly7360 commented 2 weeks ago

都能知道翻墙了,遇到问题多问GOOGLE,多思考。 赶紧把这个Issue关了吧,自己装不好APP怪APP有BUG,这是你家哪个家长教你的? 要用OPENWRT官方的,也能自己直接定制好所有依赖包的固件。 再上传IPK安装。 https://firmware-selector.openwrt.org/?version=23.05.3&target=ramips%2Fmt7621&id=linksys_e7350

【都是下载固件时已重新编译安装好所有依赖的前提下】无论是通过SSH后台root安装,还是通过浏览器访问路由后台手动上传软件包进行安装,都提示无法安装的 Screenshot Unable to install openclash 你是不看贴上来就喷吗?就是Google和思考过后才反馈出来的。

minisind commented 2 weeks ago

我在NAS上x86_64版本中,遇到相同的问题。 请尝试使用:opkg --force-overwrite install luci-app-openclash_0.46.014-beta_all.ipk来安装

测试的环境:E7350 OpenWrt 23.05.3 r23809-234f1a2efa / LuCI openwrt-23.05 branch git-24.086.45142-09d5a38 下载固件前已提前安装所有依赖软件包【删除dnsmasq换成dnsmasq-full】 Screenshot OpenWrt Firmware E7350 Before downloading the firmware, the software to be pre-installed has been entered to build the firmware 但OpenWrt官方软件源库里就是没有OpenClash ScreenshotOpenWrt Firmware Cannot intall package openclash 用wget下载到/tmp目录里再执行你所说的opkg --force-overwrite install luci-app-openclash_0.46.014-beta_all.ipk同样提示找不到 Screenshot Can't find luci-app-openclash_0 46 014-beta_all ipk in tmp

手动下载IPK , 在OP界面操作,系统- 软件包, 上传软件包, 通过这个功能直接安装。

minisind commented 2 weeks ago

看到你定制的包里使用了 firewall4, 这个可能影响使用, 要自己测试,我在另一个平台测试是影响CLASH的。 使用 firewall 也许是更合适 openclash.

Subtly7360 commented 2 weeks ago

看到你定制的包里使用了 firewall4, 这个可能影响使用, 要自己测试,我在另一个平台测试是影响CLASH的。 使用 firewall 也许是更合适 openclash.

Screenshot OpenWrt Firmware Firewall4 has been changed to firewall Screenshot OpenWrt - LuCI 在OP界面操作,系统- 软件包, 上传软件包 Screenshot OpenWrt - LuCI 尝试第二次

Subtly7360 commented 2 weeks ago

下载固件前把全部依赖安装好后浏览器登录OpenWrt系统- 软件包, 上传软件包, 通过这个功能直接安装即可。firewall4在也能安装应该对后续没影响的。

原来是要在下载固件前把dnsmasq删掉换成dnsmasq-full才不会重叠报错,重新编译安装好所有缺少的依赖即可。 Screenshot OpenWrt Firmware delete the default dnsmasq SCREEN~2 初次在luci界面上传OpenClash会提示Unable to execute opkg install command: Error: XHR request aborted by browser Unable to execute opkg install command Error XHR request aborted by browser 再试上传第二次就提示已安装Package luci-app-openclash (0.46.014-beta) installed in root is up to date. Screenshot Prompt that openclash has been installed  OpenWrt - LuCI 退出登录路由界面,重新登录OpenWrt路由界面就可以看到有Services栏里有OpenClash了。

minisind commented 2 weeks ago

都会翻墙了,希望以后不要这样巨婴症。 牛头不对马嘴的在这发BUG. 以后遇到自己不懂的问题,搜不到可以去 Discussions Q&A 发问,别在这里瞎叭。 赶紧的把这个 CLOSE了吧。

Subtly7360 commented 1 week ago

都会翻墙了,希望以后不要这样巨婴症。 牛头不对马嘴的在这发BUG. 以后遇到自己不懂的问题,搜不到可以去 Discussions Q&A 发问,别在这里瞎叭。 赶紧的把这个 CLOSE了吧。

我是故意说清楚的,给后来搜索这Err的人,能准确决定要不要换到ImmortalWrt,还是想继续不放弃想折腾使用OpenWrt官方原版固件。因为fork关注的人远远可能比ImmortalWrt的人多,也就意味着如果有漏洞很快会被发现并修复,意味着安全性和隐私性会得到更好的保障。

你没耐心,戾气重的话,请便吧。(请别误会在意,阁下并没有恶意攻击的意思)

在OpenWrt 23.05.3 r23809-234f1a2efa / LuCI openwrt-23.05 branch git-24.086.45142-09d5a38版本中运行openclash当前最新版发现: 很多网站在PC电脑端的Clash Verge运行同样的订阅链接,能正常访问啊(同样开的是规则模式)但OpenClash就无法加载访问成功了,也手段更换过默认的DNS解析地址,把它们改成1.1.1.1和9.9.9.9保存并应用,再试还是无法访问:比如,恩山无线论坛少数派chiphell豆瓣网什么值得买,测试都是使用同样的线路节点。

FireFox:Secure Connection Failed

An error occurred during a connection to www.right.com.cn. PR_CONNECT_RESET_ERROR

Error code: PR_CONNECT_RESET_ERROR

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.
Chrome:This site can’t be reachedThe connection was reset.
Try:

Checking the connection
[Checking the proxy and the firewall](chrome-error://chromewebdata/#buttons)
ERR_CONNECTION_RESET

还有每次OpenWrt luci点击打开openclash都需要握手加载很长时间才能加载完成控制面板,这是怎么回事呢 OpenClash-2024-6-16-16-20-5.log