Installing Entware-3X
From DD-WRT Wiki
Revision as of 19:44, 14 March 2018 (edit) Ian5142 (Talk | contribs) (Changed link to package list.) ← Previous diff |
Revision as of 20:18, 14 March 2018 (edit) (undo) Ian5142 (Talk | contribs) (Removed.) Next diff → |
||
Line 6: | Line 6: | ||
What is Entware? Entware is similar to Optware but updated more often. Entware will allow you to add programs to your router such as transmission, a bitorrent client. See more here: [https://github.com/Entware/Entware Entware on Github] | What is Entware? Entware is similar to Optware but updated more often. Entware will allow you to add programs to your router such as transmission, a bitorrent client. See more here: [https://github.com/Entware/Entware Entware on Github] | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
==Installation== | ==Installation== |
Revision as of 20:18, 14 March 2018
English • Deutsch • Español • Français • Italiano • 日本語 • Polski • Português • Русский • Svenska • 中文(中国大陆) • 中文(台灣) • |
Contents |
Introduction
What is Entware? Entware is similar to Optware but updated more often. Entware will allow you to add programs to your router such as transmission, a bitorrent client. See more here: Entware on Github
Installation
- Plug in the USB stick or harddrive into the router. The router 'may' have to be rebooted. Check Services – USB to see if it shows up. Make a note of the current mount point, ex: /tmp/mnt/sda_part1, should be /opt if you did the above correctly.
- Open up a putty (SSH) terminal to the router. Type in the following commands using the mount point above:
cd /opt (click enter) wget -O {link to std install script for your router} | sh (click enter)
For MIPS based devices (Atheros, not dual core), this will be:
cd /opt (click enter) wget -O http://bin.entware.net/mipssf-k3.4/installer/generic.sh | sh (click enter)
For MIPSEL based devices (Broadcom, not dual core), this:
cd /opt (click enter) wget -O http://bin.entware.net/mipselsf-k3.4/installer/generic.sh | sh (click enter)
For dual-core routers, ARMv7 based, this:
cd /opt (click enter) wget -O http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh (click enter)
- The install script will now download several files from the internet and set up Entware. It will most likely show several packages that have no valid architecture, just ignore them. These will show up when any opkg command is run. When it is done run:
opkg update (click enter) opkg upgrade (click enter)
The final step is to add the following commands to the start-up script (Administration tab - then Commands). The sleep value can be adjusted, but 10 is long enough for most USB Harddrives/routers:
sleep 10 /opt/etc/init.d/rc.unslung start
Note: Don’t add anything to the PATH or LD_LIBRARY_PATH variables, they already include the /opt locations of the necessary folders.
Note: Be aware that routers have limited RAM and some have a weak CPU, do not expect a $10 or $20 device to be able to handle torrenting (Transmission) for example.
You are now ready to install any Entware packages you want. Package List for MIPSEL, most likely the same for all architectures
opkg update (click enter) opkg install (name of package) (click enter)
Upgrading DD-WRT
Before upgrading DD-WRT, it is best to remove the Entware drive, or at least disable USB support. Upgrading DD-WRT should not cause any problem to your Entware installation, so long as the devs do not change the PATH or LD_LIBRARY_PATH variables mentioned above. After upgrading, just plug the drive back in or enable USB support again. Then open a SSH terminal and issue the following commands:
opkg update (click enter) opkg upgrade (click enter)