SVoxel / R9000

Custom firmware build for R9000
GNU General Public License v2.0
27 stars 9 forks source link

Outdated BusyBox #2

Open eastcoastcoder opened 5 years ago

eastcoastcoder commented 5 years ago

I’ve noticed the version of BusyBox included is 1.4.2 from 2007. I’m having issues getting some modern ssh software working correctly with this. I have attempted to upgrade from opkg, even adjusted my path and set an alias to /opt/bin/busybox but it still gives me 1.4.2 when I try to use it with this ssh software.

Is there any way this could include a new version baked in?

SVoxel commented 5 years ago

There are some specific features of this old BusyBox. It is changed by Netgear's outsource company DNI (Delta Network Inc). And just upgrade if BB could lead to a lot of scripts failed in my firmware. Just because of these scripts are not using anything modern. E.g. differences could be in tail, head, cat grep etc. BusyBox is second or even third importance for me. There will be headache to integrate the changes from next stock release modifying all the scripts to be workable with new BB I use.

So if you want to have modern BB just go with Entware. Install alternative version of Entware instead of generic. See the difference:

https://github.com/Entware/Entware/wiki/Alternative-install-vs-standard

The link on my site for alternative Entware initial installation:

https://www.voxel-firmware.com/Downloads/Voxel/Entware/entware-cortex-a15-3x-initial-alternative.tar.gz

BB version in Entware is 1.30. Also you can even install core utils from Entware instead of using BB.

Voxel.

eastcoastcoder commented 5 years ago

Yeah I was afraid there are some optimizations to the BusyBox which might make this request unfeasible so I totally understand. So I did install the Entware version and it works fine in an interactive terminal but there's some missing piece still. The way the software I'm trying to use works is that it fires off single commands at a time without an interactive terminal. As a result, it seems like any Entware are falling back to their builtin versions.

BusyBox Entware BusyBox SSH Find Entware Find SSH