Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

无法使用wget #16

Open
mayaxcn opened this issue Mar 9, 2020 · 38 comments
Open

无法使用wget #16

mayaxcn opened this issue Mar 9, 2020 · 38 comments

Comments

@mayaxcn
Copy link

mayaxcn commented Mar 9, 2020

我写了一个小脚本用于获取github上的BT tracker list...直到更新了rtd295 2.0.0版本后发现wget访问https时缺乏ssl依赖,请问是否有代替的选项?

相关日志如下:
wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

@jjm2473
Copy link
Owner

jjm2473 commented Mar 9, 2020

curl应该支持https。
OP里面的wget是阉割版,需要安装 ca-bundle ca-certificates 以及任意一个 libustream- 开头的包,才能支持https。

@mayaxcn
Copy link
Author

mayaxcn commented Mar 9, 2020

可是在1.9.0版本没有任何问题

@jjm2473
Copy link
Owner

jjm2473 commented Mar 9, 2020

可是在1.9.0版本没有任何问题

之前是基于Snapshot版本的镜像,2.0 更新到了Release版本,可能忘了加上https支持。不过因为是Release版,可以直接使用官方的稳定软件仓库,安装https支持也不难,即使这个固件很久都不更新也还能安装软件(Snapshot可能在某个时间之后就不兼容了)。

下次发版我注意加上https支持吧。

@mayaxcn
Copy link
Author

mayaxcn commented Mar 10, 2020

是否会在近期发布新的版本?因为发现安装程序依赖的太多了,想完完整整安装新版本再重置一遍,谢谢

@jjm2473
Copy link
Owner

jjm2473 commented Mar 10, 2020

wget的依赖不多吧。

盒子在公寓里,看这周末能不能回去吧。

@mayaxcn
Copy link
Author

mayaxcn commented Mar 17, 2020

emmm....借问一下,有新版本释出吗?

@jjm2473
Copy link
Owner

jjm2473 commented Mar 17, 2020

正在迁移到openwrt的构建脚本,需要一些时间

@mayaxcn
Copy link
Author

mayaxcn commented Mar 21, 2020

释出了新版本???

@jjm2473
Copy link
Owner

jjm2473 commented Mar 21, 2020

释出了新版本???

没有啊,哪里看到的

@mayaxcn
Copy link
Author

mayaxcn commented Mar 21, 2020

释出了新版本???

没有啊,哪里看到的

只是询问而已,因为想尽快用上支持https的新版本,后续自己想写些脚本实现一些其他功能~~~

@jjm2473
Copy link
Owner

jjm2473 commented Mar 21, 2020

用这两个命令先装上https吧

opkg update
opkg install libustream-mbedtls20150806 ca-bundle

@mayaxcn
Copy link
Author

mayaxcn commented Mar 21, 2020

用这两个命令先装上https吧

opkg update
opkg install libustream-mbedtls20150806 ca-bundle

发现好像无法写入

  • verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg libustream-mbedtls20150806 needs 4
  • opkg_install_cmd: Cannot install package libustream-mbedtls20150806.
  • verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg ca-bundle needs 113
  • opkg_install_cmd: Cannot install package ca-bundle.

@jjm2473
Copy link
Owner

jjm2473 commented Mar 21, 2020

你的overlay分区已经满了

@mayaxcn
Copy link
Author

mayaxcn commented Mar 29, 2020

我又来了...还是期待你的支持https版本

@jjm2473
Copy link
Owner

jjm2473 commented Mar 29, 2020

这里有正在开发中的版本,目前只编译了Z9S的,有兴趣可以试下 :https://github.com/jjm2473/openwrt/actions

@jjm2473
Copy link
Owner

jjm2473 commented Mar 29, 2020

注意看分支,有些是18.06,有些是19.07,目前来看还是18稳定一些

@mayaxcn
Copy link
Author

mayaxcn commented Mar 30, 2020

可是我不太了解这方面的内容,平时主要是做后端代码开发,关于编译方面的事情了解比较肤浅,所以只能等大神编译好后刷机使用...

@jjm2473
Copy link
Owner

jjm2473 commented Mar 30, 2020

可是我不太了解这方面的内容,平时主要是做后端代码开发,关于编译方面的事情了解比较肤浅,所以只能等大神编译好后刷机使用...

编译好了啊,Actions那边自动编译的

@jjm2473
Copy link
Owner

jjm2473 commented Mar 30, 2020

例如这个 https://github.com/jjm2473/openwrt/actions/runs/65873966 ,下载‘OpenWrt_firmware’这个文件,解压就有ota包了

@mayaxcn
Copy link
Author

mayaxcn commented Mar 30, 2020

got it. 今晚回家刷机试试

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

我的x9s 刷了你给的例如这个 https://github.com/jjm2473/openwrt/actions/runs/65873966 ,下载‘OpenWrt_firmware’这个文件,解压就有ota包了后,现在无法开机了...

@jjm2473
Copy link
Owner

jjm2473 commented Apr 3, 2020

这些都是Z9S的包啊,ota文件名称不是写着码

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

啊...我上面一直说我的设备是X9S,我以为你叫我也试试

@jjm2473
Copy link
Owner

jjm2473 commented Apr 3, 2020

要编译给X9S的话,

  1. fork https://github.com/jjm2473/openwrt
  2. 到fork的项目的Actions页面, 开启Actions。
  3. 回到首页,切换到‘openwrt-18.06’分支,打开文件.github/workflows/test.config
  4. 点击右边的编辑,修改第3行的‘z9s’为‘x9s’,然后点最后面的提交。
  5. 稍等GitHub就会开始编译了(如果没编译再找我吧),可以到Actions页面看编译进度。
  6. 大概一两个小时之后就编译好了。

@jjm2473
Copy link
Owner

jjm2473 commented Apr 3, 2020

或者我搞个Actions同时编译X9S也可以

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

我正在研究怎么配置actions....其他步骤已完成

@jjm2473
Copy link
Owner

jjm2473 commented Apr 3, 2020

这里在同时编译两个ota了 https://github.com/jjm2473/openwrt/actions/runs/69535206

@jjm2473
Copy link
Owner

jjm2473 commented Apr 3, 2020

其他步骤已完成

不能搞错顺序,先开Actions,然后改文件才能编译,反过来是没有反应的

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

我看到了,看原理应该类似数据库触发器的形式,我刚才开启了actions之后又提交了一次修改,现在有2个actions在跑了,不过我现在首先还是先根据这https://www.zidoo.tv/Support/support_guide/guide_target/1vhOLOoLZ3NKKmVViAFMcQ%3D%3D.html救砖

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

话说用了你最新编译出来的文件解压得出openwrt-18.06-snapshot-r0-6074b2f-realtek-rtd129x-zidoo-x9s-squashfs.ota.zip,升级时居然提示MD5校验失败

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

重新下载一次没问题了

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

貌似还是不行,进入刷完后重启就进不去界面了....

@jjm2473
Copy link
Owner

jjm2473 commented Apr 3, 2020

我下载了x9s的ota包,解压看起来没问题,你是不是刷错了。刷完启动有logo吗

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

我重新下载了,也校验过了,但是还是刷机后卡在LOGO画面,目前我只能用回你一月份发布的2.0.0版本

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

然后按照之前的命令,在安装时提示:
Collected errors:

  • check_data_file_clashes: Package libubox20191228 wants to install file /lib/libubox.so
    But that file is already provided by package * libubox20170601
  • opkg_install_cmd: Cannot install package libustream-mbedtls20150806.

wget依然还是支持不了HTTPS
wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

@jjm2473
Copy link
Owner

jjm2473 commented Apr 3, 2020

libubox20191228 和 libubox20170601 冲突了,openwrt的包管理不知道咋回事,非snapshot的镜像按道理不应该升级软件的ABI版本。可能要强行安装 libubox20191228 。

新ota包不能启动的问题我晚上看看,方便的话加我的微信或者qq

@mayaxcn
Copy link
Author

mayaxcn commented Apr 3, 2020

我加您微信,方便在这留下吗?

@jjm2473
Copy link
Owner

jjm2473 commented Apr 3, 2020

搜 jjm2473 应该可以找到我

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

No branches or pull requests

2 participants