How To Install New Generation Entware

Entware-NG is a modern alternative to Optware. Originally designed for OpenWRT, it is also usable by other firmware platforms such as Asuswrt-Merlin based routers
Works only on usb drives formatted as EXT2, EXT3 or EXT4 for Arm devices

1 – Download RMerlin firmware from here, go to firmware upgrade page and upload normaly like a stock one

2 – Go to Advanced_System_Content, check  “Enable JFFS custom scripts and configs” and “Enable SSH“, press Apply and Reboot

4 – After reboot, connect to router with putty terminal and type:

cd /tmp
wget -c -O entware-ngu-setup.sh http://goo.gl/hshQkA
chmod +x ./entware-ngu-setup.sh
./entware-ngu-setup.sh

 

admin@RT-AC66U:/tmp# ./entware-ngu-setup.sh
Info: This script was created by ryzhov_al and modified by TeHashX.
Info: Thanks @zyxmon & @ryzhov_al for New Generation Entware
Info: and @Rmerlin for his awesome firmwares
Info: This script will guide you through the Entware-NG installation.
Info: Script modifies only “entware-ng” folder on the chosen drive,
Info: no other data will be touched. Existing installation will be
Info: replaced with this one. Also some start scripts will be installed,
Info: the old ones will be saved on partition where Entware-NG is installed
Info: like /tmp/mnt/sda1/jffs_scripts_backup.tgz Info: Looking for available partitions…
[1] –> /tmp/mnt/sda1
=> Please enter partition number or 0 to exit
[0-1]:

5 – Choose a partition where Entware-NG should be installed, in this case is only [1] –> /tmp/mnt/sda1

1

Press ENTER

Info: /tmp/mnt/sda1 selected.

* Warning: Found chrooted-debian installation, stopping…
* Warning: stopping running services…
* Warning: Found Entware installation, saving…
* Warning: Found Old Optware installation, saving…
* Warning: Found Old Optware-NG installation, saving…
* Warning: Found previous installation, saving…
Info: Creating /tmp/mnt/sda1/entware-ng folder…
* Warning: Deleting old /tmp/opt symlink…
Info: Creating /tmp/opt symlink…
Info: Creating /jffs scripts backup…
tar: removing leading ‘/’ from member names
Info: Modifying start scripts…
Info: Starting Entware-NG deployment….

Info: Creating folders…
Info: Deploying opkg package manager…
Info: Basic packages installation…
Downloading http://entware.zyxmon.org/binaries/mipsel/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/entware-ng.
Installing ldconfig (1.0.8-1) to root…
Downloading http://entware.zyxmon.org/binaries/mipsel/ldconfig_1.0.8-1_mipselsf.ipk.
Installing findutils (4.5.14-1) to root…
Downloading http://entware.zyxmon.org/binaries/mipsel/findutils_4.5.14-1_mipselsf.ipk.
Installing libc (1.0.8-1) to root…
Downloading http://entware.zyxmon.org/binaries/mipsel/libc_1.0.8-1_mipselsf.ipk.
Installing libgcc (4.8.5-1) to root…
Downloading http://entware.zyxmon.org/binaries/mipsel/libgcc_4.8.5-1_mipselsf.ipk.
Installing libssp (4.8.5-1) to root…
Downloading http://entware.zyxmon.org/binaries/mipsel/libssp_4.8.5-1_mipselsf.ipk.
Configuring ldconfig.
Configuring libgcc.
Configuring libc.
Configuring libssp.
Configuring findutils.

Router model
RT-AC66U
———
SWAP FILE
———
Choose swap file size (Highly Recommended)
1. 256MB
2. 512MB (recommended)
3. 1024MB
4. Skip this step, I already have a swap file / partition
   or I don’t want to create one right now
Enter your choice [ 1 – 4 ]

6 – Choose desired swap size (512MB is recommended)

2

Press ENTER

Info: Creating a 512MB swap file…
Info: This could take a while, be patient…
524288+0 records in
524288+0 records out
Setting up swapspace version 1, size = 536866816 bytes
UUID=547b665e-75c5-4f95-bf9a-ce487f75b712
Press [Enter] key to continue…

Press ENTER

Congratulations! If there are no errors above then Entware-NG is successfully initialized.

Found a Bug? Please report at https://github.com/Entware-ng/Entware-ng/issues

Type ‘opkg install <pkg_name>’ to install necessary package.

admin@RT-AC66U:/tmp#

7 – The script created a directory named “entware-ng” or “entware-ng.arm” in the selected partition, type cd /opt

cd /opt
admin@RT-AC66U:/tmp/mnt/sda1# cd /opt
admin@RT-AC66U:/tmp/mnt/sda1/entware-ng#

8 – Now Entware New Generation is installed on your asuswrt router, it’s time to install some packages, ex. nano text editor:

opkg install nano
admin@RT-AC66U:/tmp# opkg install nano
Installing nano (2.4.2-1) to root…
Downloading http://entware.zyxmon.org/binaries/mipsel/nano_2.4.2-1_mipselsf.ipk.
Installing libncursesw (6.0-1) to root…
Downloading http://entware.zyxmon.org/binaries/mipsel/libncursesw_6.0-1_mipselsf.ipk.
Configuring libncursesw.
Configuring nano.

9 – If you want to start / stop a single installed package, type “/opt/etc/init.d/SXXpackagename start / stop”

/opt/etc/init.d/SXX-package-name start
/opt/etc/init.d/SXX-package-name stop
/opt/etc/init.d/SXX-package-name restart

9b – To start / stop all installed packages, type only “services start / stop”

services start
services stop
services restart

You can install packages from here: ARM, Mipsel

Thanks @zyxmon and @ryzhov_al

hqt