Problem with opkg Update

Hello everyone,

I have a TP-LINK Router model TL-WR740N version 2.5 which was in disuse and was given to me as a gift. I managed to realize that it has an OpenWRT version installed after several tests. I managed to perform a hard reset to be able to enter its administration, since I did not know the credentials that had been previously configured.

First I was able to enter via TELNET to the address 192.168.1.1.1 and I changed the password of the ROOT user which deactivated Telnet and activated SSH.

The main problem is that when I enter the address 192.168.1.1.1 in my web browser, it does not load a graphical interface for administration. After reading a lot on the internet and different publications on the subject, I conclude that some versions of OpenWRT can be installed without a web interface and I think this is my case.

With this researched, I searched how to install a web interface to the version, in this case Luci and according to the procedure, I must perform a system update with the opkg update command but I get the following error.

login as: root
root@192.168.1.1's password:


BusyBox v1.19.4 (2012-08-28 23:48:59 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r33288)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Packages.gz, wget returned 1.
root@OpenWrt:~#
root@OpenWrt:~#

If I copy the link that tries to reach the wget command and copy it to my browser it does not find the file.

So my question is, how can I update my computer to be able to install Luci?

In advance thank you all very much for your contributions.

Regards

You shouldn't.
Attitude Adjustment is roughly 11 years old from year 2012.
Full of security holes.

But you may find the downloadable packages in the dperecated archive in

You just need to edit the links in /etc/opkg/distfeeds.conf (or whatever that was 11 years ago) to point to the release archive instead of the "snapshot"

1 Like

I understand.
I figured that the version installed on the router was a very old version.

My final intention is to install the official TP-LINK firmware.

What can you suggest?

Then you might read the wiki and seek router-specific advice about flashing. (Sounds like the OEM TFTP tool might likely be usable for flashing the OEM firmware if that is what you seek.)

1 Like