Page 1 of 1

Manual install from OpenWRT on TP-Link TL-WR740N v4.20

Posted: Sun Mar 04, 2012 5:17 am
by Chilling_Silence
So I'm trying to install Gargoyle manually on this version, as it uses a different SOC apparently vs the standard WR740N. I'm thinking this is where my issue lies.

Code: Select all

Unknown package 'gargoyle'.
Collected errors:
 * opkg_install_cmd: Cannot install package gargoyle.
root@OpenWrt:/# cat /etc/opkg.conf
src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src gargoyle http://gargoyle-router.com/packages/kamikaze0809/atheros-2.6
root@OpenWrt:/#
Support has been added as you can see here:
http://wiki.openwrt.org/toh/tp-link/tl-wr740n

So I downloaded this version:
http://downloads.openwrt.org/snapshots/ ... actory.bin

Managed to telnet in and run a few things to get luci working:

Code: Select all

opkg update
opkg install luci
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start
Tested and it all appears fine, WiFi etc...

So I factory reset, tried to install Gargoyle, but I'm just not sure if there's any prebuilt binaries available for it?
According to here it says the Wireless is "SOC", and the CPU is a slightly different Atheros AR9331 (When compared to the AR7240 of the v1 / v2 / v3):
http://www.dd-wrt.com/wiki/index.php/Su ... es#TP-Link

Any ideas how I'd get Gargoyle installed on this device, as none of the pre-packaged WR740N versions work on v4 of the device, it errors with "Error Code: 18005 Upgrade unsuccessfully because the version of the upgraded file was incorrect" (I love the engrish used).

One other thing I noticed is it looks like it thinks its a WR741ND, even though the bottom of it is clearly labelled a WR740N v4.20:

Code: Select all

root@OpenWrt:/# cat /proc/cpuinfo
system type             : Atheros AR9330 rev 1
machine                 : TP-LINK TL-WR741ND v4
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 265.42
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0ff8, 0x0ff8, 0x0ff8]
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available
However, the WR741ND firmware files don't work on it, OpenWRT won't let me upgrade.

Open to any suggestions / ideas / comments / requests for more info on the device.

Thanks


Chill.

Re: Manual install from OpenWRT on TP-Link TL-WR740N v4.20

Posted: Sun Mar 04, 2012 8:48 pm
by DoesItMatter
v4 trunk (r29631), see this ticket
AR9330 400Mhz CPU 4 or 2MB Flash/32MB RAM

From the page you posted above.

The WR740N is only supported with the Trunk version of OpenWRT

You will probably have to wait for official support in Backfire

Also, your router has 4MB flash and 32MB ram, so you are limited
to the amount of stuff you can install on your router.

Gargoyle won't just install as a set of packages on a trunk build,
it requires a lot of changes to be made / reconfigured

Best advice I can give is stick with OpenWRT trunk, and compile
your own builds with Luci, QoS, etc and stick with that for now.

Re: Manual install from OpenWRT on TP-Link TL-WR740N v4.20

Posted: Tue Mar 06, 2012 3:25 pm
by Chilling_Silence
Hmm OK, so wait for Backfire support.

Appreciate your time, thankyou :)