Toybrick

标题: 1808计算棒安装opencv timeout [打印本页]

作者: pzx19940110    时间: 2020-6-29 18:01
标题: 1808计算棒安装opencv timeout
按照文档http://t.rock-chips.com/wiki.php?mod=view&id=76, 在计算棒里面用sudo dnf install python3-opencv 显示timeout。网络共享的配置也已经提前配置好了。host系统是linux-ubuntu18。


安装  133 软件包

总下载:119 M
安装大小:460 M
确定吗?[y/N]:y
下载软件包:

下载的软件包保存在缓存中,直到下次成功执行事务。
您可以通过执行 'dnf clean packages' 删除软件包缓存。
错误:下载软件包出错
  Curl error (28): Timeout was reached for https://mirrors.fedoraproject.or ... 28&arch=aarch64 [Resolving timed out after 30000 milliseconds]




作者: pzx19940110    时间: 2020-6-29 19:16
之前的问题解决了,原因是在配置网络共享的时候iptables  -t  nat  -A POSTROUTING -o eno1 -j MASQUERADE,这句没有把eno1替换成自己的机器的对应的网卡序号。但是又出现了新的问题。
看起来是证书的问题:
Total download size: 119 M
Installed size: 460 M
Is this ok [y/N]: y
Downloading Packages:

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
  Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://mirrors.fedoraproject.or ... 28&arch=aarch64 [SSL certificate problem: certificate is not yet valid]
作者: hanxuan2021    时间: 2021-8-12 16:12
少了这一步未执行吧
sudo nmcli connection add con-name toybrick type ethernet ifname enp0s20u12u2i1 autoconnect yes ip4 192.168.180.1/24




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3