1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

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

Discussion in 'Asuswrt-Merlin' started by zyxmon, Mar 6, 2018.

  1. zyxmon

    zyxmon Regular Contributor

    Joined:
    Feb 9, 2015
    Messages:
    166
    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: Mar 6, 2018
    cvx01, atkinsom, quaz and 6 others like this.
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. zyxmon

    zyxmon Regular Contributor

    Joined:
    Feb 9, 2015
    Messages:
    166
  4. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,360
    Location:
    Switzerland
    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.
     
  5. zyxmon

    zyxmon Regular Contributor

    Joined:
    Feb 9, 2015
    Messages:
    166
    Yes. sure!
     
  6. XIII

    XIII Very Senior Member

    Joined:
    Feb 27, 2014
    Messages:
    560
    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
     
  7. zyxmon

    zyxmon Regular Contributor

    Joined:
    Feb 9, 2015
    Messages:
    166
  8. zyxmon

    zyxmon Regular Contributor

    Joined:
    Feb 9, 2015
    Messages:
    166
    aarch64 will be fixed soon!
     
  9. XIII

    XIII Very Senior Member

    Joined:
    Feb 27, 2014
    Messages:
    560
    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.
     
  10. zyxmon

    zyxmon Regular Contributor

    Joined:
    Feb 9, 2015
    Messages:
    166
    aarch64 is fixed now. `opkg update & opkg upgrade` should work now!
     
  11. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,360
    Location:
    Switzerland
    I can't check now, but a user reports that package pixelserv-tls is not available through opkg over in the AB-Solution thread.
     
  12. john9527

    john9527 Part of the Furniture

    Joined:
    Mar 28, 2014
    Messages:
    5,602
    Location:
    United States
    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.
     
  13. Adamm

    Adamm Very Senior Member

    Joined:
    Mar 26, 2013
    Messages:
    1,585
    Shows for me on the aarch64 repo;

    Code:
    [email protected]:/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
    
     
  14. kvic

    kvic Part of the Furniture

    Joined:
    Aug 11, 2014
    Messages:
    2,258
    Location:
    22.4399N 114.2222E
    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.
     
    ryzhov_al likes this.
  15. jtp10181

    jtp10181 Regular Contributor

    Joined:
    Apr 6, 2015
    Messages:
    114
    Location:
    Wisconsin, USA
    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?
     
  16. zyxmon

    zyxmon Regular Contributor

    Joined:
    Feb 9, 2015
    Messages:
    166
    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).
     
  17. Protik

    Protik Regular Contributor

    Joined:
    Oct 31, 2017
    Messages:
    184
    Location:
    /boot
    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
    
     
  18. zyxmon

    zyxmon Regular Contributor

    Joined:
    Feb 9, 2015
    Messages:
    166
    There is something wrong with automatic upgrades. We are investigating the issue!
     
  19. zyxmon

    zyxmon Regular Contributor

    Joined:
    Feb 9, 2015
    Messages:
    166
    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!
     
  20. Protik

    Protik Regular Contributor

    Joined:
    Oct 31, 2017
    Messages:
    184
    Location:
    /boot
    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.
    
     
  21. john9527

    john9527 Part of the Furniture

    Joined:
    Mar 28, 2014
    Messages:
    5,602
    Location:
    United States
    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.
     
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!