|
本帖最后由 HurryPeng 于 2022-7-4 21:24 编辑
求助各位大神:
最近买了两台SF1200,想刷一个纯LuCI不带GL.iNet界面的干净固件出来玩,但是自己编译出来的固件没法刷新软件列表。流程基本照着这篇教程走,是用gl-infra-builder编译的,编译配置文件在target_siflower_gl-sf1200生成的基础上把LuCI以及libopenssl、ca-certificates、ca-bundle等https相关的组件勾上了。
进LuCI之后,也把软件源换成了GL.iNet提供的源:
- src/gz glinet_packages https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/packages
- src/gz glinet_private https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/glinet
- src/gz glinet_kmod https://fw.gl-inet.com/releases/v18.06.5/kmod-3.7/siflower/sf19a28
复制代码 在LuCI中按按钮刷新软件列表,会有下面的错误信息:
- Downloading https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/packages/Packages.gz
- *** Failed to download the package list from https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/packages/Packages.gz
- Downloading https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/glinet/Packages.gz
- *** Failed to download the package list from https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/glinet/Packages.gz
- Downloading https://fw.gl-inet.com/releases/v18.06.5/kmod-3.7/siflower/sf19a28/Packages.gz
- *** Failed to download the package list from https://fw.gl-inet.com/releases/v18.06.5/kmod-3.7/siflower/sf19a28/Packages.gz
- Collected errors:
- * opkg_download: Failed to download https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/packages/Packages.gz, wget returned 5.
- * opkg_download: Failed to download https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/glinet/Packages.gz, wget returned 5.
- * opkg_download: Failed to download https://fw.gl-inet.com/releases/v18.06.5/kmod-3.7/siflower/sf19a28/Packages.gz, wget returned 5.
复制代码 初步怀疑是与opkg后台用wget下载https内容的证书认证有关的问题,因此也改过几次menuconfig里面与ssl相关的项,但最后还是没能解决这个问题。我的.config配置也发在附件里了。
但最神奇的是,进ssh之后,用opkg update来刷新软件列表,却是一切正常的:
- root@SF1200:~# opkg update
- Downloading https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/packages/Packages.gz
- Updated list of available packages in /var/opkg-lists/glinet_packages
- Downloading https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/glinet/Packages.gz
- Updated list of available packages in /var/opkg-lists/glinet_private
- Downloading https://fw.gl-inet.com/releases/v18.06.5/kmod-3.7/siflower/sf19a28/Packages.gz
- Updated list of available packages in /var/opkg-lists/glinet_kmod
复制代码
刷新完之后甚至还能在LuCI界面里看到正常的软件列表。点击下载,会下载失败,类似的报错,而同样在ssh里用opkg install就没有问题。
各位大神能帮忙看一看吗?
PS:上面那个教程里面分享的固件我也试着刷过,可是刷完之后路由器没有任何反应,几个灯轮流闪,闪完过一会看起来像是自动重启了,然后又进入这个循环。ssh也进不去,LuCI也进不去,也不知道为什么。
PPS:另一个分享里面的固件,除了最后一个20220406的版本(带GL.iNet界面)以外的版本,我刷进去之后路由器也没有反映。实在是找不到能用的固件了才尝试自己编译的,又遇到这么奇怪的问题。
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|