[SOLVED] Opkg update error wget returned 8

Right.

You use SCP to connect to the router in WinSCP.

Read the documentation.

The SCP protocol is part of SSH. The router will act as a SCP server and that functionality is always installed in a release build.

Please issue the following:

rm /etc/opkg.conf && cp /rom/etc/opkg.conf /etc/opkg.conf && opkg update
  • If you're still getting an error, please post the output of /etc/opkg.conf within code boxes

Unless one is going to verify the sha256 hashes of every package installed via opkg before installing, https should be utilized.

  • Not doing so opens the user to a possible MITM attack, which should not be an acceptable risk to anyone on a WAN facing router.

1 Like

Please note that opkg does not understand https://, only http:// urls by default.

there is no /rom/etc/opkg.conf . so i can't do that :frowning:

@dibdot I wasn't aware of that, thanks! =]

@cksum0120 SDcard images must be different then... verify /etc/opkg.conf matches the following:

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature 1
  • The only times I've seen a wget error 8 with opkg is when:
    • there's been corruption/changes to the opkg config files
    • the routers IP is not permitted to access WAN
    • WAN is inaccessible all together.

thank for your anwer
but now promblem is solved !!

i just tried many reply

the way i solved is install ca-bundle and ca-certificate and dependency pakages and move packages using winscp and
chage distribution feed http: to https: then the probelm solved ! thank you all !
:slight_smile:

1 Like

thank you

your answer is worked !!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.