AsusWRT install Entware - Entware/Entware GitHub Wiki
-
format a usb drive as ext3 or etx4
use i.e. https://www.easeus.com/partition-manager/epm-free.html -
insert the usb drive into the Asus router**
-
install the Download Manager via the web-interface of your Asus router**
-
enable SSH access via the web-interface of your Asus router**
-
setup a SSH connection & login using i.e. Putty
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html -
i
pkg update
-
ipkg install nano
-
cd /tmp
9 mkdir opt
-
b
lkid
-
mount /dev/sda /tmp/opt
run "df" to check if "sda" is your USB drive, if not, change it -
cd /root
-
touch ~/.wget-hsts
-
chmod 644 .wget-hsts
-
cd /jffs/scripts
-
mkdir scripts
-
chmod 0775 ./scripts
-
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
-
press "esc"
-
type ":x"
-
press ënter"
23 chmod 0775 ./mountOp
-
nvram set script_usbmount="/jffs/scripts/mountOpt"
-
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
-
reconnnect to the router using SSH
-
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`
-
opkg install nano
-
finished