What's new

Entware-ng & Entware-3x merge!!!

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

zyxmon

Regular Contributor
Entware developers are happy to announce Entware-ng and Entware-3x merge. The new project is called Entware. Entware will have all package repositories from Entware-3x (armv5, armv7, aarch64, mips, mipsel, x64) and a repo for armv7 (Linux kernel 2.6.36) from Entware-ng. All other repositories will be available for installation but will not be updated.

We have updated the toolchain in Entware. We use GCC 7.3 to build binaries and glibc 2.27 as a system library (glibc 2.23 is used for kernel 2.6.36 - it is glibс limitation).

All users of supported architectures can switch to Entware by running `opkg update; opkg upgrade` twice. The first upgrade changes repo URL in opkg.conf file, the second run updates the packages.

Entware standard installation is similar to Entware-ng. It does not install Entware version of busybox and adds /opt/bin and /opt/sbin to the end of PATH variable. There is also alternative installer in Entware that is similar to Entware-3x installer. It installs Entware version of busybox. For this installation Entware users are independent from firmware users. Entware has root user with 12345 password. Other users can be added permanently to Entware in this case to run services that require such users.

Currently different Entware versions are widely used in routers, NASes, Android devices and other hardware that uses Linux kernel.

Entware team is ready to add other repositories for different embedded devices running Linux kernel higher or equal than 2.6.36.
 
Last edited:
Updating a Entware-ng will update to 32-bit Entware I assume?
Thanks for the merge, it was a bit of a mess with three repository names.
Now we can again just call it Entware.
 
All users of supported architectures can switch to Entware by running `opkg update; opkg upgrade` twice. The first upgrade changes repo URL in opkg.conf file, the second run updates the packages.
Does not seem to work for me (coming from Entware-3x, aarch64):
Code:
# opkg update; opkg upgrade
Downloading http://entware-3x.zyxmon.org/binaries/armv8/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/packages
# opkg update; opkg upgrade
Downloading http://entware-3x.zyxmon.org/binaries/armv8/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/packages
And content of opkg.conf after that:
Code:
src/gz packages http://entware-3x.zyxmon.org/binaries/armv8
dest root /
dest ram /opt/tmp
lists_dir ext /opt/var/opkg-lists
option tmp_dir /opt/tmp
 
Probably firmware does not have sed that is used to edit opkg.conf
Then run
wget http://bin.entware.net/aarch64-k3.10/installer/opkg.conf -O /opt/etc/opkg.conf
This is on an ASUS RT-AC86U router; it does seem to have some variant of sed:
Code:
# sed
BusyBox v1.24.1 (2018-03-05 16:33:32 EST) multi-call binary.

Usage: sed [-inrE] [-f FILE]... [-e CMD]... [FILE]...
The second command did help though; a lot of packages got updated.
 
I can't check now, but a user reports that package pixelserv-tls is not available through opkg over in the AB-Solution thread.
 
There was an 'entware-setup.sh' script that was given to Merlin to package with the firmware (I also pick it up for my fork). Is there going to be an update, or should we just remove it?
I support both the MIPS and ARM routers, Merlin ARM and AARCH64.
 
I can't check now, but a user reports that package pixelserv-tls is not available through opkg over in the AB-Solution thread.

Shows for me on the aarch64 repo;

Code:
admin@RT-AC86U-2EE8:/tmp/home/root# opkg list | grep pixel
pixelserv-tls - 2.0.1-1 - pixelserv-tls is a tiny bespoke webserver for adblock with HTTP/1.1 and HTTPS support
pixelserv-tls - 2.0.1-1
 
The other night I was checking Entware-3.x GitHub page and landed on Entware repository instead. Cloned the repo and saw there was a config from armv7-ng. I thought such an announcement will be imminent.

@zyxmon @ryzhov_al Nice work! Good advancement on Entware. Thanks also go to OpenWRT that Entware derives from.
 
I just happened to run an update / upgrade and found this to my surprise (then found this thread later). I found things more settled after a reboot of the router also, namely the path changes putting /opt to the end.

Now one question which comes from this, I have the nano installed from entware as it does the syntax highlights (I dont have the new gen merlin yet to use the new nano config options). It was defaulting because the /opt folders were first in the path before, but now its not. The only thing I can think of to make 'nano' launch the /opt/bin/nano all the time is to add an alias to my profile.add, is there a slicker way to do this (that seems like a hack to me)?

Also thinking I could symlink something like /opt/bin/na -> /opt/bin/nano, same with grep and netstat and anything else that I would rather use from entware without typing out the full path. I also like the idea of keeping the /opt to end of path, that way anything installed in entware wont replace a system command other scripts might rely on with a certain syntax or output.

Thoughts?
 
There was an 'entware-setup.sh' script that was given to Merlin to package with the firmware (I also pick it up for my fork). Is there going to be an update, or should we just remove it?
I support both the MIPS and ARM routers, Merlin ARM and AARCH64.
There are generic.sh and alternative.sh installation scripts for each architecture. For example (armv7 with 2.6.36) -
http://bin.entware.net/armv7sf-k2.6/installer/generic.sh
http://bin.entware.net/armv7sf-k2.6/installer/alternative.sh

Mipsel for 2.6.22 is frozen and has old scripts (Entware-ng).
 
Very nice!

Most of the updates went well. I got the an error while doing the update and upgrade. The error is persistent in multiple tries.

Code:
opkg update;opkg upgrade
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Upgrading entware-opt on root from 222108-6 to 227000-1...
Downloading http://bin.entware.net/armv7sf-k2.6/entware-opt_227000-1_all.ipk
Collected errors:
 * check_data_file_clashes: Package entware-opt wants to install file /opt/etc/screenrc
    But that file is already provided by package  * screen
 
The error is persistent in multiple tries.
Try to `opkg install --force-reinstall --force-overwrite entware-opt`

THERE MAY BE SOMETHING WRONG WITH UPDATES. Please wait and do not update before we find the solution!
 
Try to `opkg install --force-reinstall --force-overwrite entware-opt`

THERE MAY BE SOMETHING WRONG WITH UPDATES. Please wait and do not update before we find the solution!

Now I got this,

Code:
opkg install --force-reinstall --force-overwrite entware-opt
Removing package entware-opt from root...
Installing entware-opt (227000-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/entware-opt_227000-1_all.ipk
Configuring entware-opt.
Collected errors:
 * resolve_conffiles: Existing conffile /opt/etc/profile is different from the conffile in the new package. The new conffile will be placed at /opt/etc/profile-opkg.
 
There are generic.sh and alternative.sh installation scripts for each architecture. For example (armv7 with 2.6.36) -
http://bin.entware.net/armv7sf-k2.6/installer/generic.sh
http://bin.entware.net/armv7sf-k2.6/installer/alternative.sh

Mipsel for 2.6.22 is frozen and has old scripts (Entware-ng).
Hmmm...for right now I think I'm just going to remove the old installer. @RMerlin, your thoughts?

Also, I looked at the wiki as a possible reference (make the setup script an info reference) and it appears that some updates would be needed. You may want to give that a review.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top