OpenWrt Forum Archive

Topic: tp link 940n v3 can't install luci

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I successfully install openwrt on this router 940n v3 international version using the following link

downloads.openwrt.org/snapshots/trunk/ar71xx/generic/openwrt-ar71xx-generic-tl-wr941nd-v6-squashfs-factory.bin

I can access internet through lan and have successfully configured password.When I try to use command "opkg install luci".In the end I get out of memory error always.


How can I install luci to access router gui ?

(Last edited by alifarrukh on 9 Jul 2017, 12:37)

Collected errors:
* gz_open: fork: Out of memory.
* opkg_install_pkg: Failed to extract data files for luci-app-firewall. Package debris may remain!
* opkg_install_cmd: Cannot install package luci.

Snapshots do not include Luci.  Install a release version.  Go to lede-project.org if your hardware is too new for 15.05.1.

On models with small RAM and flash you're often better off without Luci though.

Does this mean for gui I cannot use openwrt on this router.

I also cannot post ssh openwrt output here as no links are allowed

If I want to revert back to original firmware how it can be done since I don't have gui interface.

(Last edited by alifarrukh on 9 Jul 2017, 13:58)

This is the output I get when using commands

opkg update
opkg install luci

BusyBox v1.24.2 () built-in shell (ash)

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, 50107)
-----------------------------------------------------
  * 2 oz. Orange Juice         Combine all juices in a
  * 2 oz. Pineapple Juice      tall glass filled with
  * 2 oz. Grapefruit Juice     ice, stir well.
  * 2 oz. Cranberry Juice
-----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_base.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.sig.
Signature check passed.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_kernel.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.sig.
Signature check passed.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_luci.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.sig.
Signature check passed.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_management.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.sig.
Signature check passed.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_packages.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.sig.
Signature check passed.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_routing.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.sig.
Signature check passed.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_telephony.
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.sig.
Signature check passed.
root@OpenWrt:~# opkg install luci
Installing luci (git-17.183.73346-afa7a14-1) to root...
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/luci_git-17.183.73346-afa7a14-1_all.ipk.
Installing luci-app-firewall (git-17.183.73346-afa7a14-1) to root...
Downloading hmm/downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/luci-app-firewall_git-17.183.73346-afa7a14-1_all.ipk.
Collected errors:
* gz_open: fork: Out of memory.
* opkg_install_pkg: Failed to extract data files for luci-app-firewall. Package debris may remain!
* opkg_install_cmd: Cannot install package luci.

Now I want to revert back to original firmware,how can this be done?

There are some reverting instructions available at https://wiki.openwrt.org/toh/tp-link/tl … l_firmware

The wiki page is for TL-WR941ND device, but since there are similarities between WR941ND and WR940N, I believe you can use these instructions as a baseline for your own case.

Bear in mind these instructions might be out of date, if nobody has maintained them, and they might not even be applicable to your scenario.

The discussion might have continued from here.