AsusWRT install Entware - Entware/Entware GitHub Wiki

  1. format a usb drive as ext3 or etx4
    use i.e. https://www.easeus.com/partition-manager/epm-free.html

  2. insert the usb drive into the Asus router**

  3. install the Download Manager via the web-interface of your Asus router**

  4. enable SSH access via the web-interface of your Asus router**

  5. setup a SSH connection & login using i.e. Putty
    https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

  6. ipkg update

  7. ipkg install nano

  8. cd /tmp

9 mkdir opt

  1. blkid

  2. mount /dev/sda /tmp/opt
    run "df" to check if "sda" is your USB drive, if not, change it

  3. cd /root

  4. touch ~/.wget-hsts

  5. chmod 644 .wget-hsts

  6. cd /jffs/scripts

  7. mkdir scripts

  8. chmod 0775 ./scripts

  9. vi ./mountOp

19. paste this script:
#!/bin/sh
# recreate the opt dir after every reboot
mkdir /tmp/opt
# where /dev/sdX# is your usb opt partition
mount /dev/sdX# /tmp/opt

  1. press "esc"

  2. type ":x"

  3. press ënter"

23 chmod 0775 ./mountOp

  1. nvram set script_usbmount="/jffs/scripts/mountOpt"

  2. nvram commit

26. paste the srcipt below:

cat << EOF > /tmp/script_usbmount.tmp
if [ \ = "/tmp/mnt/MYPART" ]
then
ln -sf \ /tmp/opt
/opt/etc/init.d/rc.unslung start
fi
EOF
nvram set script_usbmount="cat /tmp/script_usbmount.tmp"

cat << EOF > /tmp/script_usbumount.tmp
if [ \ = "/tmp/mnt/MYPART" ]
then
/opt/etc/init.d/rc.unslung stop
fi
EOF
nvram set script_usbumount="cat /tmp/script_usbumount.tmp"

nvram commit
reboot

27. wait until the reboot is finished

  1. reconnnect to the router using SSH

  2. aarch64 4.1|+:
    wget -O - http://bin.entware.net/aarch64-k3.10/installer/generic.sh | sh
    or
    wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh


RT-AC66U B1, RT-AC68U, RT-AC56U, RT-AC87U, RT-AC3200, RT-AC88U, RT-AC3100, RT-AC5300:
`wget -O - http://bin.entware.net/armv7sf-k2.6/installer/generic.sh | sh`

RT-AC58U:
`wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh`

RT-N66U, RT-AC66U, RT-N16:
`wget -O - http://pkg.entware.net/binaries/mipsel/installer/installer.sh | sh`

30. `opkg update`
  1. opkg install nano

  2. finished

⚠️ **GitHub.com Fallback** ⚠️