Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我也过来请教下哈 #7

Open
hmilye opened this issue Mar 27, 2020 · 23 comments
Open

我也过来请教下哈 #7

hmilye opened this issue Mar 27, 2020 · 23 comments

Comments

@hmilye
Copy link

hmilye commented Mar 27, 2020

coolsnowwolf/lede#4014
#2
之前试过混编,也试过把ssr+的ipk安装到原版
看了这两个issues之后,又尝试了一次混编
问题还是一样:
1无法导入节点信息。在“服务器节点”-“添加”-“导入配置信息”,粘贴之后无法成功导入。
然后我绕过了这一点,把lean大编译好的系统里的shadowsocksr配置文件直接copy过来了,代理可以用,但是出现了问题2,状态页里,连通性检查都可以工作,更新数据的按钮明显跟检查按钮长得不一样,点了之后也是更新失败。
想问下您是否也是这个情况,是否有办法解决,谢谢

@iyuangang
Copy link
Owner

你好,第一个问题,是因为openwrt 19.07luci v2openwrt snapshotluci v1 有不兼容。需要重新适配。 我的项目拷贝L大代码过来后都要检查一遍做一次适配。具体请比较代码
第二个问题,我的界面如下。请对比下。
图片

@hmilye
Copy link
Author

hmilye commented Mar 27, 2020

我下载了您的release中的vmdk,同样无法导入,问题2是正常的。
代码我还不是很熟悉,等下慢慢研究

@iyuangang
Copy link
Owner

release 中的可以正常导入。我自己用过好几周。有没有可能是你的网络配置问题?

@hmilye
Copy link
Author

hmilye commented Mar 27, 2020

我反复测试了几次,也换了浏览器,确实无法导入。网络是正常的,再说导入节点跟网络是否连通不相关吧。

@hmilye
Copy link
Author

hmilye commented Mar 27, 2020

看了下代码,好像只有两处差异
require 'uci' 删除
local ucic = luci._增加model.uci._cursor()

代码不太懂,纯外行

@hmilye
Copy link
Author

hmilye commented Mar 27, 2020

/usr/lib/lua/luci/controller/shadowsocksr.lua
这个文件似乎也有许多修改,其中的get_first函数应该是更新失败的原因,这个lean大之前提到过。
不过我还不懂怎么改,哈哈

@iyuangang
Copy link
Owner

比较奇怪,要不我弄个临时机器给你测试一下?

@hmilye
Copy link
Author

hmilye commented Mar 27, 2020

可以用虚拟机测试呀。不过总体上感觉意义不大,L大说了是get_first的问题,那可能所有用到这个函数的地方都需要修改,我目前没有能力解决这个···

@iyuangang
Copy link
Owner

可以用虚拟机测试呀。不过总体上感觉意义不大,L大说了是get_first的问题,那可能所有用到这个函数的地方都需要修改,我目前没有能力解决这个···

http://www.timyuan.net:32237 密码是你的github用户名 更新需要点 Update All Subscribe Severs

@hmilye
Copy link
Author

hmilye commented Mar 27, 2020

这个是有点误会的,我说的无法导入节点信息是指这里:
微信截图_20200327163348

@iyuangang
Copy link
Owner

哦,我都是用的订阅,没用过ssr 所以这方面不清楚。

@hmilye
Copy link
Author

hmilye commented Mar 27, 2020

不光是ssr,v2什么的都能导入的
我都是自己搭的,没有弄订阅链接

@iyuangang
Copy link
Owner

iyuangang commented Mar 27, 2020

图片

哦,使用场景不一样。我看看日志。

@iyuangang
Copy link
Owner

导入确实不能用,我有空了看看能不能修复。

@iyuangang
Copy link
Owner

测试机器我销毁了哈

@hmilye
Copy link
Author

hmilye commented Mar 28, 2020

好的,谢谢了。话说你这个黑背景不错,自己做的吗

@iyuangang
Copy link
Owner

黑背景用的浏览器插件 Dark Reader
FireFox 和 chrome 都有用。

@iyuangang
Copy link
Owner

iyuangang commented Apr 4, 2020

问题已修复,测试可以成功导入。
图片

@hmilye
Copy link
Author

hmilye commented Apr 4, 2020

问题已修复,测试可以成功导入。
图片

能请教下怎么做的吗

@iyuangang
Copy link
Owner

getElementById 修改为 getElementByName 具体请看这个commit
已编译可用的版本为最新 Release

@hmilye
Copy link
Author

hmilye commented Apr 9, 2020

再请教下这种情况怎么处理
WARNING: Makefile 'package/lean/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
WARNING: Makefile 'package/lean/luci-app-dockerman/Makefile' has a dependency on 'docker-ce', which does not exist

我是用19.07.02的官方包加目前lean最新的pack,搜了半天也没弄明白怎么自己添加依赖。feeds update和install也都解决不了

ub@ub-vm:~/openwrt-19.07.2$ ./scripts/feeds install kmod-crypto-arc4
WARNING: Makefile 'package/lean/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
WARNING: No feed for package 'kmod-crypto-arc4' found

ub@ub-vm:~/openwrt-19.07.2$ make defconfig
Collecting package info: done
WARNING: Makefile 'package/lean/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
tmp/.config-package.in:150904:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:150904: symbol PACKAGE_netopeer2-keystored is selected by PACKAGE_netopeer2-keystored
configuration written to .config

又发现/feeds/packages/kernel/ksmbd/makefile 与package/lean/ksmbd/Makefile不同,就是差了那一行 'kmod-crypto-arc4', 于是添加进去,这样/feeds/package.index中也出现了kmod-crypto-arc4,可是无论怎样update && install,也无法安装这个依赖

@tuTuStream
Copy link

再请教下这种情况怎么处理
WARNING: Makefile 'package/lean/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
WARNING: Makefile 'package/lean/luci-app-dockerman/Makefile' has a dependency on 'docker-ce', which does not exist

我是用19.07.02的官方包加目前lean最新的pack,搜了半天也没弄明白怎么自己添加依赖。feeds update和install也都解决不了

ub@ub-vm:~/openwrt-19.07.2$ ./scripts/feeds install kmod-crypto-arc4
WARNING: Makefile 'package/lean/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
WARNING: No feed for package 'kmod-crypto-arc4' found

ub@ub-vm:~/openwrt-19.07.2$ make defconfig
Collecting package info: done
WARNING: Makefile 'package/lean/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
tmp/.config-package.in:150904:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:150904: symbol PACKAGE_netopeer2-keystored is selected by PACKAGE_netopeer2-keystored
configuration written to .config

又发现/feeds/packages/kernel/ksmbd/makefile 与package/lean/ksmbd/Makefile不同,就是差了那一行 'kmod-crypto-arc4', 于是添加进去,这样/feeds/package.index中也出现了kmod-crypto-arc4,可是无论怎样update && install,也无法安装这个依赖

虽然有报 WARNING 但是没有任何我需要的软件依赖这个,所以忽略就好了。

@hmilye
Copy link
Author

hmilye commented Apr 13, 2020

那个cifs的sever需要这个,我本来想试试的,没办法也只能放弃了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants