OpenWrt Forum Archive

Topic: wr740n v4 USB mod! [AR9331] [FW compiled for all wr740/741 versions!]

The content of this topic has been archived between 6 Jun 2015 and 1 May 2018. Unfortunately there are posts – most likely complete pages – missing.

dabyd64 wrote:

Hi! Obviously that speed was between the router itself and the USB drive, tested with "dd if=/dev/zero of=/mnt/sda1/test.bin bs=1M count=100" , not through the LAN or Wireless.
It was slower when transferring through network, around 5MB/s over the wireless at 4 meters.
Also samba limits the speed pretty much due the cpu load.

hi, dabyd64,

You're so active. WOW.

Did you experience TX power penalty like this? Any test, any solution?

https://forum.openwrt.org/viewtopic.php?id=30565

Hi!
Well, the 740n is a small router, with a power output of 17-18dBm at most. So I didn't had any limitations!
I'll have a look to the regd.c file , but my knowledge about openwrt code is very small!

dabyd64 wrote:

Hi!
Well, the 740n is a small router, with a power output of 17-18dBm at most. So I didn't had any limitations!
I'll have a look to the regd.c file , but my knowledge about openwrt code is very small!

Hi, dabyd64,

the wr740n should be 20dbm, check http://www.dd-wrt.com/wiki/index.php/Su … es#TP-Link

Maybe you shall have a ar7241 like wr841, no need for the violent handling of the cpu, just add the usb and it's usb 2.0 vs usb 1.1 in ar7240.

I need my wr841n to have 20dbm for channel 12,13, but.... wait for your test.

I have two 741, with ar9331 and ar7241, both with USB mod and upgraded to 64MB RAM.
Always the max power was 18dBm, in all firmwares: stock, openwrt, ddwrt...
It's related to de ART partition, which defines the power levels at different channels.
In a newer 741 v4.23 the max txpower is 18dBm, in some high channels is 17 dBm.
So, it's the hardware limit.
I also saw the specifications, 20dBm, but it seems that is the max raw power in theory or something like that.

(Last edited by dabyd64 on 8 Nov 2013, 14:35)

dabyd64 wrote:

I have two 741, with ar9331 and ar7241, both with USB mod and upgraded to 64MB RAM.
...

Dear dabyd64! Nice work, I will try on my home second router smile , first D-Link DIR-620 with keenetic software.

Can you explain how to upgrade 741nd to 64MB RAM or DIR-620 64MB RAM?
Couple of years I succesfully performed RAM upgrades on Palm/IPaq, so old experience still exists smile and mayby you know: is it possible to FLASH upgrade?
BR Gennadiy.

Hi dabyd64,



Thanks for sharing your experience and experiment with all of us , by seeing your h/w hack, i really want  to do some thing like that .


in your starting post you mentioned  like
" I found this: http://www.zhigao5191.com/computer-netw … sbkou.html
There I saw what pins I had to scratch and solder. "

but unfortunately i didn't find any information about the pins which i need to scratch

can u mention the  pins....

thank you for your wonderful effort

By your comment, you didn't read anything.
That site just had a poor and small image without any numbers. Guide yourself by the pics on the post #1, they are more than enough!

dabyd64 wrote:

Click on the image for a hi-res version:
http://img69.imageshack.us/img69/6154/usb740nv4png.jpg

(Last edited by dabyd64 on 3 Dec 2013, 00:49)

Доброе время суток .Я прочитал эту стать и тоже попытался собрать этот мод, мне удалось .Всё работает.Но единственное чего я немогу добится это подключить usb hub и usb web cameru
  [ 1138.960000] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 1159.310000] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 1169.980000] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 1178.680000] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 1193.950000] hub 1-0:1.0: unable to enumerate USB device on port 1
при подключении флешки всё работает носкорость как я понял 1 0 .Собрать прошивку с TRUNK я пробовал но что то
неполучается если у кого нибудь есть прошивка под tplink 741ndv4 прошу выложите или скиньте на почту

How you all solder two small wires to the AR9331? Only with solder iron or with solder paste and heatgun?

pczolee wrote:

Hi all.

Finally I made my own image. It is based on Attitude Adjustment 12.09 final.
Removed IPv6 and pppoe support (I no need it, so just waste my free space), and unnecessary packages, now we have 668 KB free space after install.
There is usb support complied in with vfat and ext4 support. It have luci as web interface.

Everything else can install from packages.

WR741ND v1.x http://www.sendspace.com/file/7w2k7v
WR741ND v2.x http://www.sendspace.com/file/kdiiwf
WR741ND v4.x http://www.sendspace.com/file/50u2d6

The list of included packages and the md5sum infos are in packages above.

Other packages: http://www.sendspace.com/file/k7mcxr (13MB)
NEW LINK!!! http://data.hu/get/6937934/packages.tar.gz

Have fun wink

Can you re-upload your firmware for V1 ? (Link seems dead).
Thank you.

(edit: 2014-02-21)
Opened my router, checked the IC for power supply.
IC: MC33063 (1.5-A PEAK BOOST/BUCK/INVERTING SWITCHING REGULATORS), with input voltage range 3v-40v. With max saturation voltage 1.3v (1v typical). So you can use power supply 5v with no problems. I don't have the original power supply, so I used one from DX (5v-2A) and worked great! With this, It can power router and usb device (both 5v).

(Last edited by xpiolx on 21 Feb 2014, 19:25)

Can someone provide patch for Barrier Breaker?

Thank you!

pczolee
Could you share module for usb-serial cp210x for 741 v4?

Can anyone upload me image with USB support for WR741ND v2.x ? The URL from pczolle doesnt work hmm

http://wiki.openwrt.org/_media/toh/tp-link/wr741nd-usb-poc.jpg


From the corner, the USB pins are the 9th and the 10th


http://spejlickari.wz.cz/public/galerie/heap/AR7240.JPG


*edit*
lol lol Sorry I understood wrong your "image" requirements.
I'll try to compile the latest trunk for all 740/741 with USB support.

(Last edited by dabyd64 on 18 Jun 2014, 16:46)

smile thanks, i will wait

dabyd64 wrote:

*edit*
lol lol Sorry I understood wrong your "image" requirements.
I'll try to compile the latest trunk for all 740/741 with USB support.

It will be useful.  However, can additional packages be installed on it?  Preferably the packages on trunk can be used.

Current trunk gave errors on compiling. I thought on adding relayd, luci, and most USB related. what else could be ok?
I say that because I won't be compiling each 2 days, I haven't free time enough, so I want to compile with the most versatile packages

*edit*
Few hours after I last tried, updating the trunk seems to have fixed the problem. Now it compiled OK.
*edit2*
failed after adding some packages...damn

(Last edited by dabyd64 on 19 Jun 2014, 06:02)

dabyd64 wrote:

......
*edit*
Few hours after I last tried, updating the trunk seems to have fixed the problem. Now it compiled OK.

Can you check in menuconfig/network/telephone if you can select the modules of Asterisk18?  A few days ago, I found these modules were mission on the depository.  The they reappeared.  However, I still cannot compile them in my own version.  Maybe you can check if they are available in your menuconfig.
BTW do you use git version or svn version?

I'm using svn version, but they should be the same, or not?
asterisk is one of the packages that fail to compile...

I'll add just relayd, luci and kmod-usb modules, ntfs support, thats all. The rest of packages can be downloaded from the trunk as most are not kernel depedant

dabyd64 wrote:

I'm using svn version, but they should be the same, or not?
asterisk is one of the packages that fail to compile...

I think you are right, they are the same.
I can compile asterisk but only with very limited modules.  However, the online depository has all of the modules.  Not sure why the difference.  They use different makefile for the only line version and the one used for us to compile our own version?  Not sure why.

I don't know why, but compiling fails if I use more than 1 core (using -j7 for 4 cores with hyperthreading, also failing with j3 or j2)
And yes, asterisk keeps failing. No idea why. But there were a lot of asterisk modules...20 maybe 30

Here are the compiled firmwares with usb support. I had to remove debug info and strip kernel symbols:

        USB support: usb2, ohci, storage
        Filesystems: ext4, ntfs, vfat
        Native language support: cp437,cp852,iso-8859-1, utf8.
        Other: Luci, relayd, ntfs-3g

Beware, only 30KB free on the device!


wr740n-v1-squashfs-factory.bin
wr740n-v1-squashfs-sysupgrade.bin
wr740n-v3-squashfs-factory.bin
wr740n-v3-squashfs-sysupgrade.bin
wr740n-v4-squashfs-factory.bin
wr740n-v4-squashfs-sysupgrade.bin
wr741nd-v1-squashfs-factory.bin
wr741nd-v1-squashfs-sysupgrade.bin
wr741nd-v2-squashfs-factory.bin
wr741nd-v2-squashfs-sysupgrade.bin
wr741nd-v4-squashfs-factory.bin
wr741nd-v4-squashfs-sysupgrade.bin

(Last edited by dabyd64 on 19 Jun 2014, 19:52)

Hi again.
I finished my USB mod with soldering wires and upgrading dabyd64`s patched firmwares successfully (thanks dabyd64). smile The soldering was more dificult than I thought.
So i try USB transfer but the speeds was horrible. Read: 1MB/s, write: 0,5kB/s from Samba server, EXT4. I tried other USB pen drives, and formats, bud the result was the same. hmm
I noticed, when i copied something from USB, the progress bar sometimes slow down(stops) and after continued again.This happens every 3-4 second, until copying was completed. It is normal?
From what depends the USB speed and how and how can i increase it?

Sorry, posts 101 to 100 are missing from our archive.