RUT901 Useable text editor like nano, memory size and mc question

Hi, after recent update, i need to install useable text editor (nano) on every router and fix terminfo, which was moved to unexpected location.

opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf install nano
ln -s /usr/local/usr/share/terminfo /usr/local/share 

Do you plan to add useable text editor (like nano) by default? vim is not considered as useable editor, at least for WYSIWYG users like me.

Also why is the memory too small to install mc (Midnight Commander)? Can i somehow get more memory and be able to install these utilities?

Thank you, Michael

Hello,

No plans, but I can register this as a suggestion for our R&D.

The device has 16MBs of flash memory available, which is also partially used for other services that are already pre-installed on the device (GPS, VPNS, etc.) - if the package is too big for the device to be able to store, then I’m afraid there’s not much that can be done without risking of damaging the device software-wise. You may try the custom SDK option to remove some services to free up some space & just recompile it, but we cannot promise that the device will function properly. Some of our other devices feature a USB-port which allows you to save such packages or anything of the sort to it directly, essentially adding more space.

Regards,
M.

Thank you for reply and suggestion of editor to R&D. I also know of “pico” editor, that is even smaller than nano.

Do you have manual to install something (nano + mc for example) on the USB? Which routers that have cellular and Modbus support that? Thank you, Best regards, Michael

Hi there,

Will register the suggestion.

For devices, you can look here: Teltonika Networks - All products
For installing packages, you can look here: RUT901 Package Manager - Teltonika Networks Wiki

Custom packages should be installed with caution; make sure you download them from a trusted source.

Regards,
M.

Hello,

According to the RnD, there are no plans to add any extra editors.

They have suggested you look into building a custom SDK: Software Development Kit - Teltonika Networks Wiki

Or, when it comes to terminfo, nn Unix/Unix-like systems /usr/local subdir is fully supported when searching default directories for libraries, terminfo or similar.

usr subdir in /usr/local is not supported, that’s why it fails. If terminfo data were installed into /usr/local/share and not /usr/local/usr/share, then it should work.

Actually one of the fixes is to move /usr/local/usr/share/terminfo to /usr/local/share.

OR

Just export TERMINFO variable, as mentioned. This can be done in /etc/profile (globally, for all users) or in $HOME/.profile, so /home/root/.profile and /home/admin/.profile. The command for exporting is export TERMINFO=/usr/local/usr/share/terminfo

Regards,
M.