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.
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.
Run this command to append the standard OpenWrt package repository feed directly to your distfeeds.conf file:
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.
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:
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.