本帖最后由 jlytzy2 于 2019-7-22 00:59 编辑
首先呢,你要先下载两个源码一个是大佬的,一个是官方原版的。
下载官方固件:git clone https://github.com/openwrt/openwrt
下载大佬这个源码 git clone https://github.com/coolsnowwolf/lede
cd lede
选择这个时间节点 git checkout 2915c44a11ca0ee40b51ff5d9c18a0da1951e170
更新软件包 ./scripts/feeds update -a
安装软件包 ./scripts/feeds install -a
进入目录 cd package
改名目录lean为openwrt-S-S R mv lean/ openwrt-S-S R
查看时间节点 git branch -a
改变时间节点为最新 git checkout master
再次更新 ./scripts/feeds update -a
再次安装 ./scripts/feeds install -a
拷贝刚刚改名的目录到openwrt官方目录,目录名lean: cp -r openwrt-S-S R/ ~/openwrt/package/lean
拷贝lede/package/network/config/firewall/里的makefile文件及patches文件夹到openwrt下面的同目录里,覆盖openwrt官方的
cd openwrt
更新源码 ./scripts/feeds update -a
安装更新 ./scripts/feeds install -a
make menuconfig 你会看到S-S R pluss
make V=99
ok就是这样。
ssh登录
echo 0xDEADBEEF > /etc/config/google_fu_mode
reboot
修改主机名和S-S R-plus彩蛋,openwrt/package/lean/default-settings/f iles/zzz-default-settings, 在zzz文件中uciset system.@system[0].timezone=CST-8后增加 uci setsystem.@system[0].hostname=Openwrt-x86
Openwrt-x86可以改为你想要的名字
解封S-S R彩蛋,在该文件exit 0 上方适当的位置加上下列命令,安装后可以直接看到S-S R-plus echo 0xDEADBEEF >/etc/config/google_fu_mode
|