注意:编译环境如果在gfw内必须编译机全局翻墙
七七用的是网件的r7000路由器,那就以bcm53xx为例,openwrt版本为18.16.04,其它路由器请自行查看处理器架构下载相应的openwrt sdk
bcm53xx用的处理器是armv7-a的架构,市面上很多高端路由器都用的此架构,原则上只要是对应openwrt版本的armv7a架构的处理器都是能运行此编译出来的ipk安装包的,附armv7常见路由器列表
品牌 | 型号 | 版本 | CPU |
Asus | RT-N18U | A1 | Broadcom BCM47081A0 |
Asus | RT-AC56U | Broadcom BCM4708A0 | |
Asus | RT-AC68U | Broadcom BCM4708A0 | |
Asus | RT-AC87U | Broadcom BCM4709A0 | |
Buffalo | WZR-600DHP2 | Broadcom BCM47081 | |
Buffalo | WZR-1750DHP(D) | Broadcom BCM4708A0 | |
Buffalo | WXR-1900DHP | Broadcom BCM4709A0 | |
Buffalo | WZR-900DHP | Broadcom BCM47081A0 | |
D-Link | DIR-885L | A1 | Broadcom BCM4709C0 |
Linksys | EA6200 | 1.0 | Broadcom BCM47081 |
Linksys | EA6300 | v1 | Broadcom BCM4708A0 |
Linksys | EA6400 | 1.0 | Broadcom BCM4708A0 |
Linksys | EA6500 | v2 | Broadcom BCM4708A0 |
Linksys | EA6700 | Broadcom BCM4708A0 | |
Linksys | EA9500 | v1 | Broadcom BCM4709C0 |
Meraki | MR32 | Broadcom BCM53016A1 | |
Netgear | R6250 | Broadcom BCM4708A0 | |
Netgear | R6300 | v2 | Broadcom BCM4708A0 |
Netgear | R7000 | Broadcom BCM4709A0 | |
Netgear | R7900 | Broadcom BCM4709A0 | |
Netgear | R8000 | Broadcom BCM4709A0 | |
PHICOMM | K3 | A1 | Broadcom BCM4709C0 |
Tenda | AC9 | Broadcom BCM47189 | |
TP-Link | Archer C5 AC1200 | v2 | Broadcom BCM47081 |
TP-Link | Archer C8 | v1.0 | Broadcom BCM4708 |
TP-Link | Archer C9 | v1 | Broadcom BCM4709 |
首先下载sdk:
wget https://downloads.openwrt.org/releases/18.06.4/targets/bcm53xx/generic/openwrt-sdk-18.06.4-bcm53xx_gcc-7.3.0_musl_eabi.Linux-x86_64.tar.xz
解压下载的sdk,然后cd到解压的sdk目录中,先运行以下代码更新和安装feed包:
./scripts/feeds update -a
./scripts/feeds install -a
复制lean源码中的package目录中lean文件夹到当前sdk目录中的package目录下
cp ../lede/package/lean/ package/ -R
运行”make menuconfig” 选中luCI–>Applictions–>luci-app-ssr-plus
ssrplus依赖于luci中的一些工具,所以要先编译luci-base组件,不编译此组件直接编译ssrplus会出现类似”bash: po2lmo: command not found
“的错误提示
make package/feeds/luci/luci-base/compile V=99
编译ssrplus:
make package/lean/luci-app-ssr-plus/compile V=99
喝杯咖啡去吧,等会编译完bin目录下就会有相应编译完的ipk包了,拖到路由器去安装吧,享受不受限制的网络吧。