I dont upgrade opkg manager

Hi guys, when i launch the command:

opkg update

repsonse:

Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.gz.

wget: not an http or ftp url: https://archive.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.gz

Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/Packages.gz.

wget: not an http or ftp url: https://archive.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/Packages.gz

Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/luci/Packages.gz.

wget: not an http or ftp url: https://archive.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/luci/Packages.gz

Collected errors:

* opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.gz, wget returned 1.

* opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/Packages.gz, wget returned 1.

* opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/luci/Packages.gz, wget returned 1.

i donw know how update opkg package manually.
without this update i cant install bash, netcat and ethtool.

help my, thanks very much

Hello,

It appears that your opkg update is utilizing OpenWRT links instead of Teltonika links. By default, it should use Teltonika links.

To ensure opkg update uses preconfigured Teltonika links, execute the following command instead of opkg update:

opkg -e /etc/opkg/teltonikafeeds.conf update

Give this a try, and let me know if the issue persists.

Best regards,

Marijus

thank you for reply

my router’s response is:

opkg: unrecognized option `-e'
opkg must have one sub-command argument
...

but in /etc/opkg/ there is not teltonikafeeds.conf only customfeeds.conf and distfeeds.conf

the content of the distfeeds.conf is

src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base
src/gz chaos_calmer_packages http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages
src/gz chaos_calmer_luci http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/luci

do i rewrite this links with which links?

Hi,

distfeeds.conf file should contain the following information:

src/gz openwrt_core https://downloads.openwrt.org/releases/21.02.0/targets/ipq40xx/generic/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/base
src/gz openwrt_luci https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/telephony
src/gz openwrt_vuci https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/vuci

I’m curious about the firmware you’re using? We usually don’t use paths like that. Also, could you share which Teltonika device you are using?

Kind regards,

Marijus

Hi,
i replaced the links with new links, but the response is alway the same:


opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.gz, wget returned 1.

 * opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/Packages.gz, wget returned 1.

 * opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/luci/Packages.gz, wget returned 1.



 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0/targets/ipq40xx/generic/packages/Packages.gz, wget returned 1.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz, wget returned 1.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.gz, wget returned 1.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz, wget returned 1.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.gz, wget returned 1.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.gz, wget returned 1.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/vuci/Packages.gz, wget returned 1.

My firmware is FW version: RUT9XX_R_00.06.08.6

I updated to 07.06.1.
when I launch “opkg update” the response is:

Downloading http://opkg.teltonika-networks.com/24a397efa34ef5fc24d7fb3a13d98809ec42e422994dca8c9bf7f7087b40678a/Packages.gz 
Updated list of available packages in /var/opkg-lists/tlt_packages                                                          
Downloading http://opkg.teltonika-networks.com/24a397efa34ef5fc24d7fb3a13d98809ec42e422994dca8c9bf7f7087b40678a/Packages.sig
Signature check passed. 

but it does not found “netcat” service.

opkg install netcat                                                                                          
Unknown package 'netcat'.                                                                                                   
Package installation encountered an error, removing previously installed packages. 

i have found that “netcat” is “nc” pre-installed

BusyBox v1.34.1 (2024-01-02 08:00:03 UTC) multi-call binary.

Usage: nc [IPADDR PORT]

is it correctly?

now i miss to install BASH

Hello,

Yes, nc is indeed Netcat. To install BASH, you can simply run this script:

opkg install bash

Best regards,

Marijus

This topic was automatically closed after 15 days. New replies are no longer allowed.