|
本帖最后由 keke1023 于 2019-1-21 18:17 编辑
我都没注意原来官方的源里就有这个luci,我还又自己用sdk编译了一次哈哈哈,也好算是练个手,都说pandorabox的sdk坑比较多,所以试试看
简而言之,就是一开始用ubuntu14和16去使用最新的pandorabox提供的sdk都提示glibc的版本不够高,干脆就直接上ubuntu18,果然可以用了
然后把feed改成lean大神的源,再把整个package里的lean文件夹复制过去,开始编译
因为pandorabox的opkg源已经提供了所有的包,除了kcp和不可描述的luci-app-xxr-plus
所以编译出来只需要把他们两个摘出来安装就行了
我手头有两台不同型号的机子,一个netgear r6220,固件本身就含有很多东西只剩了3.6mb空间,一个是wr1200js,留了8mb左右空间,所以碰到的问题就是r6220的空间不够装kcptun(1.53mb)
以及还有一个问题就是更新规则的时候要用到wget,pandorabox原本的/usr/bin/wget是链接到busybox的,得先删了它再安装,如果本身没有dnsmasq-full只有dnsmasq也先删了dnsmasq
于是最后的指令就是
rm /usr/bin/wget
把包上传到/tmp
cd /tmp && opkg install --force-depends luci-app-xxr-plus_1-85_all.ipk
如果要装kcptun的话就是
cd /tmp && opkg install kcptun_20181002-2_mipsel_1004kc_dsp.ipk && opkg install luci-app-xxr-plus_1-85_all.ipk
安装过程会从pandorabox服务器自动下载其他依赖
最后R6220成功的话会显示:
Configuring libpcre.
Configuring wget.
Configuring kmod-ipt-tproxy.
failed to find a module named nf_tproxy_core
Configuring bash.
Configuring libev.
Configuring coreutils.
Configuring coreutils-base64.
Configuring shadowsxcks-libev-config.
Configuring libsodium.
Configuring shadowsxcksr-libev-alt.
Configuring iptables-mod-tproxy.
Configuring libcares.
Configuring shadowsxcks-libev-xx-redir.
Configuring luci-app-xxr-plus.
uci: Entry not found
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-xxr-plus:
* kcptun *
虽然说没有满足kcptun的依赖,但是实际上是可以用的,就是没有kcp功能了而已,当然还得芝麻开门一下
echo 0xDEADBEEF > /etc/config/google_fu_mode
就可以看到了
|
|