OpenWrt opkg update Falha na verificação da assinatura

0

Eu tenho um roteador TP-Link. TL-WDR4300. Eu configurei o ambiente OpenWrt nele.

Detalhes da versão são os seguintes:

Versão do Linux 4.4.14 (alex @ AlexPC) (gcc versão 5.3.0 (OpenWrt GCC 5.3.0 50108))

Eu usei o seguinte comando

 root@OpenWrt:~# opkg update


Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.gz.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.sig.
 Signature check failed.
Remove wrong Signature file.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.gz.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.sig.
Signature check failed.
 Remove wrong Signature file.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.gz.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.gz.
  Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.sig.
Signature check failed.
  Remove wrong Signature file.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.gz.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.sig.
 Signature check failed.
 Remove wrong Signature file.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.gz.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.sig.
 Signature check failed.
  Remove wrong Signature file.
  Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.gz.
  Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.sig.
  Signature check failed.
  Remove wrong Signature file.




   Collected errors:
      * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.gz, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.sig, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.gz, wget returned 8.
       * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.sig, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.gz, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.sig, wget returned 8.
     * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.gz, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.sig, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.gz, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.sig, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.gz, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.sig, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.gz, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.sig, wget returned 8.

Alguém pode resolver este problema

    
por Avishek Banerjee 19.09.2018 / 23:59

1 resposta

0

Foi assim que consegui trabalhar com o meu Orbi:

sed -i -re 's/^(option check_signature.*)/#/g' /etc/opkg.conf
mv /usr/bin/wget /usr/bin/wget.bin

Em seguida, crie / usr / bin / wget com o seguinte:

#!/bin/sh
/usr/bin/wget.bin --no-check-certificate "$@"

E finalmente chmod + x / usr / bin / wget

root@SRR60:/etc/ssl/certs# opkg update
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_management.
    
por 29.10.2018 / 07:01

Tags