Install additional packages on the router

You are here:
Estimated reading time: 1 min

It is possible to add additional software packages to your router by downloading and installing them from online repositories.

Install software package from GUI

To do so, go to System > Software > Configuration and paste following lines in the text area:

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/luci
src/gz barrier_breaker_management http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/management
src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/packages
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/oldpackages
src/gz barrier_breaker_routing http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/routing
src/gz barrier_breaker_telephony http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/telephony

Now click Submit at the bottom of the page.

Switch back to the Actions tab and click on Update lists:

Once the lists of available packages have been updated, it is possible to filter them to locate the desired applications more easily. Enter “python” in the Filter text box and then click on Find package. Switch to the “Available packages” to see the packages that match the filter.

Scroll down until you find python-mini and click on Install:

Sometimes the router may output a Bad gateway message. This happens because the download takes longer than expected and the operation times out. The router is still operative and you can browse back to the System > Software tab. By filtering by the package name again, it should be displayed in the installed packages this time:

By accessing the router via SSH, you can test the new package:

Install packages from the CLI

Packages can also be installed from the command line interface. In order to do so, the sequence is:

// Update software lists
opkg update
// Install package
opkg install python-mini
// Remove a package that is no longer needed
opkg remove python-mini

 

Was this article helpful?
Dislike 0 2 of 2 found this article helpful.
Views: 271
Back to Top