v2ss/OpenWRT 软路由,如何下载安装SSR plus 插件.md
fw876/helloworld 仓库是一个 OpenWRT 的自定义软件包集合,其中包含 SSR Plus(ShadowsocksR Plus+)等插件(如 luci-app-ssr-plus)。这个仓库主要用于将插件集成到 OpenWRT 的构建系统中,而不是直接在运行中的路由器上安装 IPK 文件。如果你想在已运行的 OpenWRT 软路由上安装,需要先确保你的系统支持自定义 feeds,或者通过编译自定义固件来集成插件。
前提条件:
opkg update && opkg install clang(如果 opkg 支持)。仓库提供了三种集成方法,我会逐一解释。选择一种适合你的方式(推荐方法 3,作为 feed 添加,最简单)。安装后,需要运行 make menuconfig 选择插件(如 Network > luci-app-ssr-plus),然后编译固件(make -j$(nproc))并刷入路由器,或者如果有预编译 IPK,可以直接 opkg 安装(但仓库未提供发布版,需要自己构建)。
rm -rf package/helloworld
git clone --depth=1 https://github.com/fw876/helloworld.git package/helloworld
git -C package/helloworld pull
rm -rf package/helloworld
rm -rf package/helloworld
git submodule add -f --name helloworld https://github.com/fw876/helloworld.git package/helloworld
git submodule update --remote package/helloworld
git submodule deinit -f package/helloworld
git rm -f package/helloworld
git reset HEAD .gitmodules
rm -rf .git/modules{/,/package/}helloworld
sed -i "/helloworld/d" "feeds.conf.default"
echo "src-git helloworld https://github.com/fw876/helloworld.git" >> "feeds.conf.default"
./scripts/feeds update helloworld
./scripts/feeds install -a -f -p helloworld
sed -i "/helloworld/d" "feeds.conf.default"
./scripts/feeds clean
./scripts/feeds update -a
./scripts/feeds install -a
安装后步骤:
make menuconfig,在菜单中选择 SSR Plus 相关插件(通常在 LuCI > Applications 或 Network 类别下,搜索 ssr-plus)。make -j$(nproc)(使用多核加速)。注意事项:
opkg install golang)。相关文章:
推荐免费翻墙软件:
<a href="https://github.com/bannedbook/fanqiang/wiki/%E5%AE%89%E5%8D%93%E7%BF%BB%E5%A2%99%E8%BD%AF%E4%BB%B6">安卓手机翻墙</a>、<a href="https://github.com/bannedbook/fanqiang/wiki/Chrome%E4%B8%80%E9%94%AE%E7%BF%BB%E5%A2%99%E5%8C%85" class="wiki-page-link">Chrome一键翻墙包</a>、<a href="https://github.com/bannedbook/fanqiang/tree/master/EdgeGo" target="_blank">EdgeGo-Edge一键翻墙包</a>、<a href="https://github.com/bannedbook/fanqiang/wiki/%E7%81%AB%E7%8B%90firefox%E4%B8%80%E9%94%AE%E7%BF%BB%E5%A2%99%E5%8C%85" class="wiki-page-link">火狐firefox一键翻墙包</a>
<b>或者也可以购买现成的翻墙服务(跟本库无关哦):</b>
<a href="https://github.com/bannedbook/fanqiang/wiki/V2ray%E6%9C%BA%E5%9C%BA"></a>