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.


I ran the command:
opkg -e /etc/opkg/openwrt/distfeeds.conf update
without adding the new line to
/etc/opkg/openwrt/distfeeds.conf
and still get the same error.

So the error is still there and pre-dates / is independent of adding the additional repo.

As RutOS does use Vuce, this error seems significant?

I would be grateful if Teltonika could confirm we can ignore this error.

Since all I need is nano, I’m going back to DL’ing the ipk file, and bypassing the repo for now

These modems are amazing, but I need to avoid the temptation to treat it like a workstation :grin:

Especially now that the RUTX is EOL, and the RUTM isn’t as beefy on compute

I am using the solution above by Povilas, and it works for me.

Hello,

Glad to hear that this worked for you @alienheartbeat.

Regarding the error message @valhalla, it is not significant and should not affect the functionality. It is commonly thrown during opkg package deployment.

If you have any other questions or experience any issues, please do not hesitate to reach out to us.

Best regards,
P.

Hi all,

Upgrading to the newly released 7.25.1 seems to have changed a few things and the above doesn’t seem to install packages anymore, it complains about ‘nothing provides libc needed by …’.

I rely on fping not nano, but have tried to install nano as per above and end up with the same issue.

Previously I would just download and try to install the ipk through opkg, this worked up to 7.24.3, in 7.25.1 it throws an architecture error, so I tried an updated version from openwrt 24.10.8 (last version with ipk):

root@RUTX11:~# opkg install fping_5.0-1_arm_cortex-a7_neon-vfpv4.ipk
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - conflicting requests
 *   - package fping-5.0-1.arm_cortex-a7_neon-vfpv4 does not have a compatible architecture
 *
 * Solution 1:
 *   - do not ask to install fping-5.0-1.arm_cortex-a7_neon-vfpv4

root@RUTX11:~# opkg install fping_5.3-r1_arm_cortex-a7_neon-vfpv4.ipk
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - conflicting requests
 *   - package fping-5.3-r1.arm_cortex-a7_neon-vfpv4 does not have a compatible architecture
 *
 * Solution 1:
 *   - do not ask to install fping-5.3-r1.arm_cortex-a7_neon-vfpv4

Opkg configs look different between 7.24.3 and 7.25.1 so I added the architecture and tried again, now recognising the architecture but not the prerequisites:

root@RUTX11:~# echo arch arm_cortex-a7_neon-vfpv4 100 >> /etc/opkg/arch.conf

root@RUTX11:~# opkg install fping_5.0-1_arm_cortex-a7_neon-vfpv4.ipk 
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - conflicting requests
 *   - nothing provides libc needed by fping-5.0-1.arm_cortex-a7_neon-vfpv4
 * 
 * Solution 1:
 *   - do not ask to install fping-5.0-1.arm_cortex-a7_neon-vfpv4

Not knowing how to deal with this I tried the above solution of adding the openwrt distfeeds:

root@RUTX11:/etc/opkg# echo "src/gz openwrt_packages https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/packages" >> /etc/opkg/distfeeds.conf

root@RUTX11:/etc/opkg# opkg update
Downloading https://opkg.teltonika-networks.com/7475b37e2111a5496f88add811b44ce0fbc75210835908c5baa83474607470d7/Packages.gz.
Downloading https://opkg.teltonika-networks.com/7475b37e2111a5496f88add811b44ce0fbc75210835908c5baa83474607470d7/Packages.sig.
Updated source '3rd_party_packages'.
Downloading file:///tmp/run/opkg/custom_package/Packages.gz.
 * opkg_download_file: ///tmp/run/opkg/custom_package/Packages.gz: No such file.
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz.
Downloading https://downloads.openwrt.org/releases/21.02.0/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.sig.
Updated source 'openwrt_packages'.
Downloading https://opkg.teltonika-networks.com/be2e2d555f5d965cfde71bbaeb6690983f676c0df1d13bf8d654e501dd698def/Packages.gz.
Downloading https://opkg.teltonika-networks.com/be2e2d555f5d965cfde71bbaeb6690983f676c0df1d13bf8d654e501dd698def/Packages.sig.
Updated source 'tlt_packages'.

Then tried installing nano and fping:

root@RUTX11:~# opkg install nano
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - conflicting requests
 *   - nothing provides libc needed by nano-7.2-2.arm_cortex-a7_neon-vfpv4
 * 
 * Solution 1:
 *   - do not ask to install a package providing nano

root@RUTX11:~# opkg install fping
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - conflicting requests
 *   - nothing provides libc needed by fping-5.0-1.arm_cortex-a7_neon-vfpv4
 * 
 * Solution 1:
 *   - do not ask to install a package providing fping

Any ideas how to get around this libc requirement installing packages?

root@RUTX11:~# cat /etc/version 
RUTX_R_00.07.25.1

root@RUTX11:~# cat /etc/os-release 
NAME="RUTOS"
PRETTY_NAME="RUTOS R_00.07.25.1"
VERSION="R_00.07.25.1"
VERSION_ID="00.07.25.1"
BUILD_ID="1788433657"
ID="rutos"
ID_LIKE="tapos tswos openwrt lede"
HOME_URL="https://teltonika-networks.com/"
SUPPORT_URL="https://teltonika-networks.com/support"
DOCUMENTATION_URL="https://wiki.teltonika-networks.com/view/Main_Page"

Cheers,

Tnode.

Hello @tnode,

Please note that third-party packages are not officially supported on our devices. While we can provide some guidance on installing them, we cannot guarantee that they will function correctly, and we may have limited ability to assist with any issues or unexpected behavior caused by third-party software.

If you would still like to proceed with installing fping, you can try the following commands through the device CLI:

cd /tmp

wget https://downloads.openwrt.org/releases/24.10.8/packages/arm_cortex-a7_neon-vfpv4/packages/fping_5.3-r1_arm_cortex-a7_neon-vfpv4.ipk

cat /etc/opkg/arch.conf

echo "arch arm_cortex-a7_neon-vfpv4 100" >> /etc/opkg/arch.conf

opkg install --force-depends /tmp/fping_5.3-r1_arm_cortex-a7_neon-vfpv4.ipk

Once the commands have been executed, fping should be installed on the device. You can verify the installation with:

which fping

fping -c 3 1.1.1.1 8.8.8.8

Hope this helps. If you have any other questions, please feel free to let us know.

Best regards,
P.

Thanks @Povilas,

I’ve not used the --force-depends flag in v7.24.3 and earlier.

Just tested on v7.25.1 with the --force-depends flag and it installed and works perfectly.

Cheers,

Tnode.