New RUTX11- can't install Nano anymore?

Hey, I have a script I’ve been using, on all new RUTX11 modems, which updates the opkg repositories, and installs Nano as a text editor. Based on info found here-

My latest one doesn’t like the script. Keeps coming back with “Unknown package ‘nano’”

This one is FW version 7.22, all my older ones are 7.20 at the latest.

Is there something else I could try?

Greetings @valhalla,

Our apologies for the delayed response.

In recent versions of RutOS, Teltonika has completely removed the standard OpenWrt package repository list from the device’s custom feed settings. This is why standard OpenWrt commands fail — the router simply has no record of where actually resides online.

To install nano, you must manually append the correct package feed for the RUTX11’s architecture (arm_cortex-a7_neon-vfpv4) back into your configuration.

Please connect to the device via SSH or open the CLI from the device’s WebUI, then follow the steps below.

  1. Run this command to append the standard OpenWrt package repository feed directly to your distfeeds.conf file:

    echo "src/gz openwrt_packages https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/packages" >> /etc/opkg/openwrt/distfeeds.conf
    
  2. Instruct opkg to update its registry using the newly modified OpenWrt configuration file:

    opkg -e /etc/opkg/openwrt/distfeeds.conf update
    
  3. With the package list officially refreshed, run the install command with the same environment flag:

    opkg -e /etc/opkg/openwrt/distfeeds.conf install nano
    

After completing these steps, nano should be installed and ready to use.

Please let us know whether you are able to install and use nano after following these steps. If you encounter any issues, we will be happy to assist you further.

We look forward to your response.

Best regards,

:sign_of_the_horns: Teltonika rules! Will test this out ASAP

Thanks Povilas

I just checked /etc/opkg/openwrt/distfeeds.conf
to ensure it has it has an eol on the last line - some linux config files don’t,
in which case the command to append to distfeeds.conf would cause a malformed line.
No problem - it has an end-of-line at the end.

Current contents of /etc/opkg/openwrt/distfeeds.conf are:

src/gz openwrt_core Index of /releases/21.02.0/targets/ipq40xx/generic/packages/
src/gz openwrt_base Index of /releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/base/
src/gz openwrt_vuci ``https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/vuci

executing the full echo… command would just add one line to the distfeed.conf:

src/gz openwrt_core Index of /releases/21.02.0/targets/ipq40xx/generic/packages/
src/gz openwrt_base Index of /releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/base/
src/gz openwrt_vuci ``https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/vuci
src/gz openwrt_packages Index of /releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/packages/

so it looks ok.
I will get a chance later in the week to test it.

It works, with one error in the 2nd step.

Doesn’t stop nano from installing though, I’m assuming this problem is on OpenWrt’s end, not Teltonika’s?

Thanks Povilas!

============================

~# opkg -e /etc/opkg/openwrt/distfeeds.conf update

Downloading https://downloads.openwrt.org/releases/21.02.0/targets/ipq40xx/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/21.02.0/targets/ipq40xx/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/vuci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/vuci/Packages.gz

Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.sig
Signature check passed.
Collected errors:

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