1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DualWan+speedmod+PPTPVPN

Discussion in 'Tomato Firmware' started by kenyloveg, Mar 3, 2009.

  1. Toastman

    Toastman Super Moderator Staff Member Member

    I'm sorry. I am trying Dual-WAN again. The port forwarding is broken, it appears. PM me with your email? I'll send it quickly.

    Another couple of comments on Dual-WAN.

    1) When maxxing out all outgoing bandwidth, instead of showing the total outgoing speed of each class in the pie charts, it seems to limit at the amount set in QOS. i.e. If the outgoing limit is 350k PER WAN, the pie chart shows 350k and not 700k. There really ought to be two columns, one for each WAN.

    2) When under heavy load, free memory drops to under 500k (sometimes 1M is enough) all communication with the web GUI is lost, and it does not usually recover until rebooted. Telnet on the LAN still works. This was why I dumped it yesterday. The router is still functional, however, but very unpredictable in operation.

    3) Under normal operation while load balancing the two WAN connections, with moderate to high traffic, CPU load often exceeds 1.0 When the CPU load is higher than about .3 the router is actually quite slow and ping time to my ISP gateway (normally around 21 to 30 mS) suffers badly. Around 1 and above it exceeds 100mS and up to 200mS. (IP traffic monitor was "OFF" ). Web pages open very slowly. That was why my users said the internet was crap yesterday. Example - my favorite test page opens in 15 seconds + - instead of the usual 4 or less.

    4) The nocat splash page doesn't work here. Is this due to the lack of a default page or is it broken?

    My thoughts are that a) The CPU is not fast enough even at 250MHz and b) memory is insufficient. I don't think this is really useable - even on my two 5Mbps lines, it is too slow when operating at full speed. This is well before the memory drops so low as to cause problems, I believe.

    The top screenshot below was taken when the router had become unstable and the web GUI was inaccessible. The load average is shown as 0/0/0 - I pass on this. Maybe someone else will find this useful!

    EDIT: After 2 more trials on a busy network, both of which resulted in router failure, I am probably giving up on this firmware, it's just not really useable here.
     

    Attached Files:

    • TOP.jpg
      TOP.jpg
      File size:
      48.7 KB
      Views:
      115
  2. mstombs

    mstombs Network Guru Member

    This is a typo in the original Chinese version - it has '/update.cgi' where is should be 'update.cgi', same bug on qos-detailed.asp

    I'm now looking at a version with both sets of web screens using itanium's method.

    Preview

    http://rapidshare.com/files/303852649/Tomato_DualWan_1230409_Dual_lang.7z.html

    Just a new folder added so no change to original www files or encryption. Have incorporated Itanium's links and many different wordings, most pages will be transferable except those that refer to "ext/", they will be "en/". I found and fixed several locations where pages jumped back to Chinese - probably still more.

    Navigate to http:/router_ip/en/status-overview.asp to access the English pages. Can even have both sets open in different windows if you want to improve the translation
     
  3. itanium

    itanium Addicted to LI Member

    I've translated all chinese text inside status-data.jsx, but somewhow the "Connected" text is not shown, and the chinese text shown instead.
    Maybe it looks for the /status-data.jsx, instead of /ext/status-data.jsx.

    itanium EN language pack will take another ~600KB of memory...
    Maybe the best way to use it is to upload it to the router while the router load is not high (load high = freeze? and high mem usage), maintain/do admin stuff on the router using the English language, save, and then remove the English language from /ext/.. save another ~600KB of memory
     
  4. Toastman

    Toastman Super Moderator Staff Member Member

    Could what you're doing be used to change class labels from Highest through to E, to user's own class names? (Normal Tomato/RAF etc). Just curious, as it's something I need :erm:
     
  5. itanium

    itanium Addicted to LI Member

    Are you asking mstombs mod or itanium mod?
    The itanium mod is only GUI. The execution itself rely on the cgi, and it's point back to the /???.cgi, not /ext/???.cgi. So this mod is not only modifying the language, but also the path for the cgi (e.g. tomato.cgi replaced to something like ../tomato.cgi), otherwise the execution (save, format, refresh, etc) won't work
     
  6. Toastman

    Toastman Super Moderator Staff Member Member

    Thanks for reply!

    I was just wondering if there was an easy way to replace the class labels - Highest though to E - with a user's own labels such as DNS, WWW, P2P etc. This makes it easier to use QOS system. Something that would work with any tomato version, without having to recompile it, which is what I do now. It just occurred to me that what you guys are doing could have other uses.

    It's not important, but it would be a convenience!
     
  7. kenyloveg

    kenyloveg LI Guru Member

  8. Toastman

    Toastman Super Moderator Staff Member Member

    TBH I think most of us are just interested in something that works and is stable. It's already got too many bells and whistles...
     
  9. ng12345

    ng12345 LI Guru Member

    i noticed an update on the dualwan page in feb 2010; is there still interested in this project? unfortunately i don't understand chinese and have just been sitting on the sidelines hoping for a workable english version :-P
     
  10. Toastman

    Toastman Super Moderator Staff Member Member

    Doubt there will ever be one. The author(s) have recently stated that their intention is to develop the firmware for commercial purposes in China, to over come the restrictions on speeds. What about copyright, GPL etc? Well, it's China...
     
  11. commandonut

    commandonut LI Guru Member

    any update here ? while i'm using 1230409 en gui with WRT54GL it's unable to connect to the internet . for now i'm still using 1.23.0286 :(
     
  12. vortex91

    vortex91 Guest

    so this is dead for english? maybe somone is kind enough to reload the 409 english one as the old links are broken
     
  13. mstombs

    mstombs Network Guru Member

  14. kenyloveg

    kenyloveg LI Guru Member

  15. mstombs

    mstombs Network Guru Member

    A lot of bugs identified and addressed

    but I don't see mention of a critical one for me - dhcp wan connection RENEW restarts the WAN. Also the web buttons for RELEASE and RENEW didn't work, but may have been fixed in 0341

    . I guess most CN users are using PPPOE and Wireless Client (Steal from your neighbour) WAN modes.
     
  16. Toastman

    Toastman Super Moderator Staff Member Member

    Was that changelog in English originally or has the translation program got better?

    kenyloveg - thanks for the offer. However, it isn't just for me. I have many sites that have to maintain the program. They can just about cope with English, but Chinese would be impossible. I still have hope that one day ZD will see the light!
     
  17. mstombs

    mstombs Network Guru Member

    Just Google translating into Engris!
     
  18. kenyloveg

    kenyloveg LI Guru Member

    There is a 3rd party firmware called WayOS, based on Tomato code.
    http://www.wayos.cn/
    It would be too easy for this kind of company to integrate dualwan feature into comerical firmware when dualwan MOD is GPLed......
    I guess that's why zd decide not to obey the rules we know.
     
  19. Lifeform

    Lifeform Networkin' Nut Member

    Hello
    Could you explain how to translate the chinese firmware to english version?
    I interested with this firmware
    The firmware at 1.25 now
    But the real tomato version is 1.28


    Could you help?

    Thx before
     
  20. chinawrj

    chinawrj Addicted to LI Member

    呵呵~I agree with you.
     
  21. erwinr9207

    erwinr9207 LI Guru Member

  22. Lifeform

    Lifeform Networkin' Nut Member

  23. commandonut

    commandonut LI Guru Member

    This 1.28 dualwan disable WAN port on WRT54GL rights ?

    Then i have to use LAN port number 1 3 as a lan port and 2 , 4 as a wan port.

    Please correct me if i went wrong.
     
  24. maurer

    maurer LI Guru Member

    maybe some of the chinese forum members can help with the translation.
    even google translation is better than nothing
     
  25. latdna

    latdna Addicted to LI Member

    Latest Dual Wan 1.28.0526 for MIPSR1/MIPSR2 translated to english.

    I did my best to translate China to English, should be better then google translate. You are welcome to correct and fix the translation better.

    1. Get http://dl.dropbox.com/u/2880566/tomato_dual_1.28.0526.7z or from dualwan.cn website.
    2. Flash it
    3. Enable JFFS/USB or something where you can save files.
    4. Upload http://dl.dropbox.com/u/2880566/tomato-dualwan-final-eng.zip to some folder on router.
    5. Edit cn.to.eng.sh and correct the $engfiles path
    6. Run it, you could save it under "Scripts -> Firewall"
    7. Done, Dual Wan/transmission Web Interface is converted to English.

    If someone know's how to make custom flash with those files, tell me or do it :)
     
  26. Toastman

    Toastman Super Moderator Staff Member Member

    If you have access to the source code, we can compile it with the translation. But so far zd takes code from others, but does not give back in the spirit of GPL.
     
  27. Toastman

    Toastman Super Moderator Staff Member Member

    Also, a warning, I have just finished trying this on my spare router (the translation works fine), and Avira guard just popped up saying it has found 35 files infected with Worm /vb.ay2 (google for info).

    mstombs - your warning appears to be correct. Anyone playing with this stuff, be very careful.
     
  28. latdna

    latdna Addicted to LI Member

    No i don't have the source code but it's still should be a posible to modify the .trx file and change old /www/ files to those what are translated. I did just translate the .asp files and .js files. About your avira warning about virus i have no idea why. They are just clean .asp/.js files what are translated from China to English. I did just use mount --bind /jffs/wwwext/ /www/ and service httpd restart to change the language. Works totally fine on my router.

    Here is screenshots from all categories to show how it's looks like: http://www.dropbox.com/gallery/2880566/1/eng translation?h=8e4c9c

    All tomato orginal texts are taken from it and only translation is made to new text coded by that dualwan guy.
    You could just add it under: Administration -> Scripts -> /jffs/cn.to.eng.sh and it will automaticly convert to English.

    Virustotal:
    http://www.virustotal.com/file-scan...a31fde6bd2c62ed5b9e5cd997f27c1d71f-1296231149
    Result:
    0/ 43 (0.0%)

    http://www.virustotal.com/file-scan...7eb6cdcad0b857f13edac63392ad5d18c3-1296231319
    Result:
    0/ 43 (0.0%)
     
  29. mstombs

    mstombs Network Guru Member

    You can modify the trx using the "Firmware Mod kit" on a Linux PC, but certain www files are checked using an md5sum and the router crashes if not the same as that stored in file.dig .
     
  30. latdna

    latdna Addicted to LI Member

    I did look about that MD5 Checksum think:
    Check is located under/sbin/rc file.

    Code:
    .text:00408F0C                 .globl verify_firmware_checksum
    .text:00408F0C verify_firmware_checksum:                # CODE XREF: .text:004094A8p
    .text:00408F0C                                          # DATA XREF: .text:004094A0o ...
    .text:00408F0C
    .text:00408F0C var_498         = -0x498
    .text:00408F0C var_490         = -0x490
    .text:00408F0C var_450         = -0x450
    .text:00408F0C var_410         = -0x410
    .text:00408F0C var_10          = -0x10
    .text:00408F0C var_C           = -0xC
    .text:00408F0C var_8           = -8
    .text:00408F0C
    .text:00408F0C                 li      $gp, 0x53674
    .text:00408F14                 addu    $gp, $t9
    .text:00408F18                 addiu   $sp, -0x4A8
    .text:00408F1C                 sw      $ra, 0x4A8+var_8($sp)
    .text:00408F20                 sw      $s1, 0x4A8+var_C($sp)
    .text:00408F24                 sw      $s0, 0x4A8+var_10($sp)
    .text:00408F28                 sw      $gp, 0x4A8+var_498($sp)
    .text:00408F2C                 la      $a0, 0x430000
    .text:00408F30                 la      $a1, 0x430000
    .text:00408F34                 la      $t9, f_write_string
    .text:00408F38                 move    $a3, $0
    .text:00408F3C                 addiu   $a0, (aVarTmp68b39c1e - 0x430000)  # "/var/tmp/68b39c1ea7"
    .text:00408F40                 addiu   $a1, (a68b39c1ea70f2c - 0x430000)  # "68b39c1ea70f2cfa50af5a854287ab44\n"
    .text:00408F44                 jalr    $t9 ; f_write_string
    .text:00408F48                 move    $a2, $0
    .text:00408F4C                 lw      $gp, 0x4A8+var_498($sp)
    .text:00408F50                 la      $a2, 0x430000
    .text:00408F54                 la      $t9, snprintf
    .text:00408F58                 addiu   $s0, $sp, 0x4A8+var_410
    .text:00408F5C                 addiu   $a2, (aCdWwwMd5sumAbo - 0x430000)  # "cd /www\nmd5sum about.asp basic-network."...
    .text:00408F60                 li      $a1, 0x400
    .text:00408F64                 jalr    $t9 ; snprintf
    .text:00408F68                 move    $a0, $s0
    .text:00408F6C                 lw      $gp, 0x4A8+var_498($sp)
    .text:00408F70                 la      $t9, system
    .text:00408F74                 jalr    $t9 ; system
    .text:00408F78                 move    $a0, $s0
    .text:00408F7C                 lw      $gp, 0x4A8+var_498($sp)
    .text:00408F80                 la      $a0, 0x430000
    .text:00408F84                 la      $t9, f_read_string
    .text:00408F88                 addiu   $s1, $sp, 0x4A8+var_490
    .text:00408F8C                 addiu   $a0, (aWwwFile_dig - 0x430000)  # "/www/file.dig"
    .text:00408F90                 move    $a1, $s1
    .text:00408F94                 jalr    $t9 ; f_read_string
    .text:00408F98                 li      $a2, 0x20
    .text:00408F9C                 lw      $gp, 0x4A8+var_498($sp)
    .text:00408FA0                 la      $a0, 0x430000
    .text:00408FA4                 la      $t9, f_read_string
    .text:00408FA8                 addiu   $s0, $sp, 0x4A8+var_450
    .text:00408FAC                 move    $a1, $s0
    .text:00408FB0                 li      $a2, 0x20
    .text:00408FB4                 jalr    $t9 ; f_read_string
    .text:00408FB8                 addiu   $a0, (aVarTmp68b39c_0 - 0x430000)  # "/var/tmp/68b39c1ea8"
    .text:00408FBC                 lw      $gp, 0x4A8+var_498($sp)
    .text:00408FC0                 la      $a0, 0x430000
    .text:00408FC4                 la      $t9, system
    .text:00408FC8                 jalr    $t9 ; system
    .text:00408FCC                 addiu   $a0, (aRmVarTmp68b39c - 0x430000)  # "rm /var/tmp/68b39c1ea8\n"
    .text:00408FD0                 lw      $gp, 0x4A8+var_498($sp)
    .text:00408FD4                 la      $t9, check_wanup
    .text:00408FD8                 jalr    $t9 ; check_wanup
    .text:00408FDC                 li      $a0, 1
    .text:00408FE0                 bnez    $v0, loc_408FFC
    .text:00408FE4                 lw      $gp, 0x4A8+var_498($sp)
    .text:00408FE8                 la      $t9, check_wanup
    .text:00408FEC                 jalr    $t9 ; check_wanup
    .text:00408FF0                 li      $a0, 2
    .text:00408FF4                 beqz    $v0, loc_409048
    .text:00408FF8                 lw      $gp, 0x4A8+var_498($sp)
    .text:00408FFC
    .text:00408FFC loc_408FFC:                              # CODE XREF: verify_firmware_checksum+D4j
    .text:00408FFC                 la      $t9, strcmp
    .text:00409000                 move    $a0, $s1
    .text:00409004                 jalr    $t9 ; strcmp
    .text:00409008                 move    $a1, $s0
    .text:0040900C                 beqz    $v0, loc_409048
    .text:00409010                 lw      $gp, 0x4A8+var_498($sp)
    .text:00409014                 la      $t9, get_uptime
    .text:00409018                 jalr    $t9 ; get_uptime
    .text:0040901C                 nop
    .text:00409020                 lw      $gp, 0x4A8+var_498($sp)
    .text:00409024                 la      $t9, sleep
    .text:00409028                 jalr    $t9 ; sleep
    .text:0040902C                 andi    $a0, $v0, 0xFF
    .text:00409030                 lw      $gp, 0x4A8+var_498($sp)
    .text:00409034                 la      $t9, kill
    .text:00409038                 li      $a0, 1
    .text:0040903C                 jalr    $t9 ; kill
    .text:00409040                 li      $a1, 3
    .text:00409044                 lw      $gp, 0x4A8+var_498($sp)
    .text:00409048
    .text:00409048 loc_409048:                              # CODE XREF: verify_firmware_checksum+E8j
    .text:00409048                                          # verify_firmware_checksum+100j
    .text:00409048                 lw      $ra, 0x4A8+var_8($sp)
    .text:0040904C                 lw      $s1, 0x4A8+var_C($sp)
    .text:00409050                 lw      $s0, 0x4A8+var_10($sp)
    .text:00409054                 jr      $ra
    .text:00409058                 addiu   $sp, 0x4A8
    .text:00409058  # End of function verify_firmware_checksum
    .rodata:00436E1C aCdWwwMd5sumAbo:.ascii "cd /www\n"       # DATA XREF: verify_firmware_checksum+50o
    .rodata:00436E1C                 .ascii "md5sum about.asp basic-network.asp status-overview.asp status"
    .rodata:00436E1C                 .ascii "-devices.asp status-data.jsx qos-settings.asp forward-basic.a"
    .rodata:00436E1C                 .ascii "sp admin-access.asp admin-upgrade.asp logo1.gif | md5sum >> /"
    .rodata:00436E1C                 .ascii "var/tmp/68b39c1ea7\n"
    .rodata:00436E1C                 .ascii "md5sum /var/tmp/68b39c1ea7 > /var/tmp/68b39c1ea8\n"
    .rodata:00436E1C                 .ascii "rm  /var/tmp/68b39c1ea7\n"<0>
    .rodata:00436F38 aWwwFile_dig:   .ascii "/www/file.dig"<0>
    
    
    Should be easy to modify it little bit with hex editor and skip the stupid check. I will see if i can patch it successfully and build it pack to .trx
    Dunno why he tries to prevent it getting translated it to English. Well what ever i will patch it anyway. This firmware has a lot features what i need for my usage.

    Code:
    Orignal:
    00008FF0  02 00 04 24 14 00 40 10 10 00 BC 8F 14 82 99 8F  ...$..@...¼..‚™.
    00009000  21 20 20 02 09 F8 20 03 21 28 00 02 0E 00 40 10  !  ..ø .!(......
    .text:00408FFC loc_408FFC:                              # CODE XREF: verify_firmware_checksum+D4j
    .text:00408FFC                 la      $t9, strcmp
    .text:00409000                 move    $a0, $s1
    .text:00409004                 jalr    $t9 ; strcmp
    .text:00409008                 move    $a1, $s0
    .text:0040900C                 beqz    $v0, loc_409048
    
    Patched:
    00008FF0  02 00 04 24 14 00 40 10 10 00 BC 8F 14 82 99 8F  ...$..@...¼..‚™.
    00009000  21 20 20 02 09 F8 20 03 21 28 00 02 0E 00 00 10  !  ..ø .!(......
    .text:00408FFC loc_408FFC:                              # CODE XREF: verify_firmware_checksum+D4j
    .text:00408FFC                 la      $t9, strcmp
    .text:00409000                 move    $a0, $s1
    .text:00409004                 jalr    $t9 ; strcmp
    .text:00409008                 move    $a1, $s0
    .text:0040900C                 b       loc_409048
    
    Link for patched/translated to eng version of MIPSR2-8M:
    http://dl.dropbox.com/u/2880566/tomato-K26USB-1.28.0526-MIPSR2-8M.zip

    Tested with my router:
    Model Asus RT-N16
    CPU Broadcom BCM4716 chip rev 1 pkg 10
    CPU frequency 480MHz
    Flash capacity 32MB
    Work's perfectly.

    If someone need's i can patch it to MIPSR1 and to those smaller flash versions but i can't confirm it will work becouse i have no router where to test it.
     
  31. murphm4n

    murphm4n Network Guru Member

    So, this mean we're close to getting working pptp VPN server (with gui)? :D anyone able to extract, & write a mod tutorial??
    (of course dual wan is sweet too!!)
     
  32. dulehak

    dulehak Networkin' Nut Member

    Please, patch MIPSR1 version. I will test it.
     
  33. latdna

    latdna Addicted to LI Member

    Tomato DualWan English Version
    ---------------------------------
    Translated using Tomato NDUSB files and google translate/brains.
    If you can offer better translation for new features of dualwan firmware please do it.

    Patched: /sbin/rc to allow modifying the /www/ files.

    Changed files: /www/* and /usr/share/transmission/index.html


    www-orginal-tomatodualwan-china: Orginal www files for translation usage.
    www-orginal-tomato-eng: Orginal Tomato NDUSB www files for translation usage.
    www-translated-tomatodualwan-eng: Tomato DualWan translated to english for translation usage.

    Confirmed to work:

    tomato-K26USB-1.28.0526-MIPSR2-8M-eng.trx
    Tested with:
    Model Asus RT-N16
    CPU Broadcom BCM4716 chip rev 1 pkg 10
    CPU frequency 480MHz
    Flash capacity 32MB

    tomato-K26USB-1.28.0526-MIPSR1-8M-eng.trx
    Tested with:
    Model Asus WL-500gP v2
    CPU Broadcom BCM5354
    CPU frequency 240MHz
    Flash capacity 8MB

    tomato-K26-1.28.0526-MIPSR1-4M-eng.trx
    Tested with:
    Model Linksys WRT54G/GS/GL
    CPU Broadcom BCM5352 chip rev 0 pkg 2
    CPU frequency 200MHz
    Flash capacity 4MB

    For those who want improve translating: http://dl.dropbox.com/u/2880566/tomato-firmware-building-tools.tar.gz
    just extract with tar -zxvf and change tomato-firmware/www-translated-tomatodualwan-eng files. and run tomato-firmware/build.sh
    firmwares will be created at: tomato-firmware/firmwares/. You could just copy them and flash.


    DL Link: http://dl.dropbox.com/u/2880566/tomato-dualwan-final-eng.zip
    Last Update For translation: 2011-01-30 12:02:47


    Screenshots: http://www.dropbox.com/gallery/2880566/1/eng translation?h=8e4c9c
     
  34. gr8aussie

    gr8aussie Networkin' Nut Member

    I have read this post (and many other similar) from the beginning to the end, and I must say thanks to everyone who has helped and contributed and not given up. Been quite a while patiently waiting for a usable version. It appears it is finally here, but I have not yet tried it myself, I am just a bit unsure of how to...I have an Asus WL520GU, only 4MB flash, I remember seeing on the dualwan page that for this router I needed to use the ND.trx version....
    Can anyone tell me if this is still true? Can I just use the 4MB version included with latdna's file?

    Thank you in advance for your thoughts.
     
  35. Toastman

    Toastman Super Moderator Staff Member Member

    The last one in the post above should work for you.
     
  36. canaxis

    canaxis Networkin' Nut Member

    i've been testing this firmware (tomato-K26-1.28.0526-MIPSR1-4M-eng.trx) for a day, quite satisfied with the qos, limiting inbound traffic is now work flawlessly. thx for translations, latdna.
     
  37. gr8aussie

    gr8aussie Networkin' Nut Member

    thank you for your quick reply, Toastman, would you happen to know if there is a way to set rules, for say my web server. It needs to be on my dsl line, because port 80 is open. But then torrents and nzb's need to be on cable because of MUCH greater speed. I would like to load balance, but my web server is priority number one. It's a shame cable is so fast but blocks ports. Thanks again.
     
  38. latdna

    latdna Addicted to LI Member

    If you use dualwan with this. Your webserver will be available at both of lines(ips).
     
  39. dulehak

    dulehak Networkin' Nut Member

    Thanks "latdna" for translation, both MIPSR1 version work on my asus WL-500GP v1. Thanks a lot.
     
  40. latdna

    latdna Addicted to LI Member

    You are welcome. I hope someone can offer better translation to those dualwan features.
     
  41. manyak

    manyak Networkin' Nut Member

    Thanks

    Thanks latdna for translation. I try MIPSR2 version and work on my asus Asus RT-N16.
     
  42. SuSe

    SuSe Guest

  43. latdna

    latdna Addicted to LI Member

    Works now.
     
  44. latdna

    latdna Addicted to LI Member

    Gaah this **** is gone from my router. My net has 2-3 seconds disconnect's every time when the 10min isp dhcp lease ends. I did try factory reset and even with orginaal china version to be sure it's not my translation. No help i can't find solution for 2-3 seconds disconnect times and connection uptime getting restarted.
     
  45. mstombs

    mstombs Network Guru Member

    Yup, same as I found before - I don't think they use dhcp wan much in china - and I use a 60 second wan lease with half-bridge pppoa adsl connection, it clearly still does a full wan restart, rebuilding all the firewall rules on a simple renew.
     
  46. Toastman

    Toastman Super Moderator Staff Member Member

    Hmmm. I am on ADSL and PPPOE, I did try this firmware yesterday but it crashed repeatedly under load. Not much use I am afraid. It would be SOOOO nice to have the source code and port the useful bits. I think it's suffering from "bloat".
     
  47. gr8aussie

    gr8aussie Networkin' Nut Member

    Wow, every time I get the time AND nerve to flash my router, it seems there is somehing that gives me doubt...is it know decided this is unusable? I guess I should have mentioned earlier that one of my connections is DHCP (cable) and the other DSL (PPOE), I am willing to try it and see myself if it might owrk, but looks like everyone is now saying it doesn't....I'm kind of confused with this thread now, but thank you to everyone who helped and put in all the hours.
     
  48. latdna

    latdna Addicted to LI Member

    Well, it will work but you have 2-3s timeouts from internet when it will renew ip from dhcp becouse lease time ending. It is buggy on that china version too what is untouched.
     
  49. gr8aussie

    gr8aussie Networkin' Nut Member

    ok, thanks, I guess it's probably dumb question then but I've got to wonder if it's there somewhere...to change the lease option to, say, 24 hours. I see reconnection time after 30 seconds. . . maybe i'm way off. anyway, like toastman says, a shame. and thank you also for your help latdna.
     
  50. latdna

    latdna Addicted to LI Member

    You can't change WAN DHCP lease time. If your isp DHCP server don't get renew from you, it will stop routing for you(no internet for bad boy).
     
  51. gr8aussie

    gr8aussie Networkin' Nut Member

    Does this only happen to the DHCP connection? What about PPPOE? (I'm thinking I might be able to stand cable going out for a couple seconds if the DSL stays on)
     
  52. latdna

    latdna Addicted to LI Member

    PPPOE should work
     
  53. tuxing

    tuxing Networkin' Nut Member

    thanks latdna for the translation. great job and very helpful.
    using the tomato-K26USB-1.28.0526-MIPSR2-8M-eng.trx version on asus RT-N16.
    works quite well with wan static ips. but occasionally one wan seems not to work.

    note - has been using this dualwan for 2 days now - works great, 0 issues, both static wans works without problem.
     
  54. deltoid84

    deltoid84 Networkin' Nut Member

    Hi, I'm new on this forum and I have a question regarding Tomato DualWAN Mod.
    Has anyone got english version of the latest build of this firmware for ASUS RT-N12?
    To my knowledge it needs to be K26 MIPSR2 version which would fit on 4MB of flash.

    I looked in the following package http://dl.dropbox.com/u/2880566/tomato-dualwan-final-eng.zip but I couldn't find K26 MIPSR2 4MB version.

    If you know where I can download it from, please post a link.

    Thanks for your help!
     
  55. erwinr9207

    erwinr9207 LI Guru Member

    hi! can i flash this to my e2000?
     
  56. Black6spdZ

    Black6spdZ Networkin' Nut Member

    I installed 1.28-Mips1-4M on my WRT54GS v1 "32MB/8MB/200Mhz" router this afternoon with two 6Mb DSL connections. Everything appeared to be working at first until I hammered it pretty hard with a few downloading torrents. Right about 1300 connections the unit reboots itself. This is with everything default, no QoS, no overclocking. Any ideas?
     
  57. leoquin

    leoquin Networkin' Nut Member

  58. deltoid84

    deltoid84 Networkin' Nut Member

    Cheers for that link,
    But still there isn't any "MIPSR2" version of Tomato DualWAN which would be less than 4MB.
    * What I really need it a TomatoUSB (with no USB support) which would come with PPTP VPN server built-in). I read that DualWAN comes with pptp server, so that's why I've posted my request.

    My router is ASUS RT-N12 (according to info found on www.tomatousb.org, it can be only flashed with MIPSR2 since it has "R2" CPU).

    Thanks for help, guys! Much appreciated!
     
  59. latdna

    latdna Addicted to LI Member

    Tomato DualWan English Version
    ---------------------------------


    Translated using Tomato NDUSB files and google translate/brains.
    If you can offer better translation for new features of dualwan firmware please do it.
    Changed files: /www/* and /usr/share/transmission/index.html
    Confirmed to work:

    tomato-K26USB-1.28.0530-MIPSR2-8M-eng.trx
    Tested with:
    Model Asus RT-N16
    CPU Broadcom BCM4716 chip rev 1 pkg 10
    CPU frequency 480MHz
    Flash capacity 32MB

    tomato-K26USB-1.28.0530-MIPSR1-8M-eng.trx
    Tested with:
    Model Asus WL-500gP v2
    CPU Broadcom BCM5354
    CPU frequency 240MHz
    Flash capacity 8MB

    tomato-K26-1.28.0530-MIPSR1-4M-eng.trx
    Tested with:
    Model Linksys WRT54G/GS/GL
    CPU Broadcom BCM5352 chip rev 0 pkg 2
    CPU frequency 200MHz
    Flash capacity 4MB

    Version Update History
    ===== 2011-3-23 | 1.28.0530 private beta release =====

    * Fix BUG: fix the previous version of dual-WAN port forwarding can only be transmitted when a WAN port BUG. BUG are described http://bbs.dualwan.cn/thread-131982-1-1.html
    * Fix BUG: fix version of opening before the DMZ, the external network can not download the remote access to BT's 9091 management port offline
    * Fix BUG: fix previous version of the WAN2 user name can not enter more than 50 characters of the BUG
    * Fix BUG: fix version of the application before the restrictions on the use of all IPP2P iptables error resulted in the net after the Internet or network can not be non-functional BUG
    * Fix BUG: solve some of the user 518 later emerged brush restart BUG. Note: Brush 518T3 version does not restart, the brush 0530, it should not restart. Brush 518T2 stable users please be patient with the next private beta, thank you! ! !
    * Details of the adjustment: correcting the offline settings interface to monitor BT download directory name is misspelled

    Download: http://dl.dropbox.com/u/2880566/tomato-dualwan-1.28.0530.zip
     
    wilsonhlacerda likes this.
  60. Toastman

    Toastman Super Moderator Staff Member Member

    Translated DUAL-WAN with 2 x 16 Mbps PPPoE connections

    Ayway, latdna, the translation work that has been done is absolutely superb. Thanks for taking the trouble to put this together and share it.

    The translation was so good that it inspired me to try this firmware again. I really would like to use it in my apartment blocks for obvious reasons!

    I used the MIPSR2 8MB version on an RT-N16. I set it up as dual PPPoE - both lines 1Mbps UP and 16Mbps DOWN. I've just finished exploring and trying this firmware for over 13 hours. I did not get around to testing the wireless, the reason for that will become clear.

    So, this is what I found. After connecting up, everything was so slow I almost pulled it right away. So bloated.

    With QOS and everything else off I did a speedtest and got 5-6Mbps, very ragged and intermittent downloads, apparently mostly from WAN2. In order to see what was wrong I disabled WAN2 and tried again. WAN1 gave around 1.5 Mbps at best but again was very ragged and spiky. Web browsing was dreadfully slow and sometimes would hang for long periods. I tried changing MTU - no better. The same line gave 15970 Mbps on my spare RT-N16.

    Changing to WAN2 - maximum was 6-7 Mbps. Same line gave 17300 Mbps on my spare RT-N16. At least this line gave a reasonably fast response for web browsing.

    So what happened to the combined 33 Mbps?

    With both WAN enabled I looked at the combined throughput and it was impossible to get it above 7 Mbps. Sometimes it would slow to almost nothing for no apparent reason. I experimented with QOS and at that point gave up because everything was so unpredictable I couldn't even tell if it worked. My QOS rules were apparently not compatible- there's been some change in the format. So I re-entered most of them by hand. Some of the save functions did not work reliably, and after saving the details would disappear. Often, checkboxes that weren't even in use needed to be populated with some bogus figure each and every time something was changed, before the page would even save. It's extremely tedious and unreliable.

    Web pages took several seconds to open instead of around a second. It did seem to work with WAN2 alone. "Assign Out" did not work properly. Whatever I set to divert a port or IP to one or other gateways, it would always show up on both gateways in the same proportion as before. QOS did not appear to work properly with two gateways, it seemed OK with one, but hard to be sure as the whole thing was so unstable. The Smart QOS didn't seem to do anything useful at all. Bit Torrent couldn't reach the admin page - not found.

    Placing it back online with around 30 users showed it to be so slow and intermittent in operation I just couldn't use it. It's not the router's resources - the CPU was barely ticking over. Granted, there seemed to be something drastically wrong with WAN1, but even with it disabled the router was still not up to par on WAN2.

    Some of the features are very nice, such as the bandwidth details per user. The Portal (nocatsplash) did work after a short delay after pressing the accept button I was redirected back to the internet. Some of the features are clearly built around the same IMQ code and are unnecessarily complicated.

    As a final check, I flashed the Chinese version on top of the same configuration and confirmed that it behaves in the same fashion. In fact, if anything it seems to get worse every time I try it.

    I really don't know what to think of this. If only the source code were available it would be great to co-operate and to slowly sort out each function one at a time. Some of the work done on this is really nice, and very much worth incorporating. But as it is, the whole thing made me so glad to flash back to a normal build - it was like being let out of jail.

    Now- time for something to eat ! :biggrin:
     
    RobRedbeard likes this.
  61. Black6spdZ

    Black6spdZ Networkin' Nut Member

    Toastman, I too was seeing slow problems using PPPoE on the router itself.. so I reverted to just use PPPoE on the modems, then set static NAT on each modem with a static IP connection to each. I was having stability issues with the old 1.28.0526 version on my 200Mhz WRT unit so I reverted to 1.23.0409 that has been rock solid for two months now with only one reboot.
     
  62. THE_CD

    THE_CD Addicted to LI Member

    Hello everyone

    Got one question to latdna.
    Is there any chance for your Tomato DualWan English Version 1.28.0532 ?
    This is the latest release, dated 2011-4-28.
     
  63. FDisk

    FDisk Addicted to LI Member

    Yes, the new version is out for some time. http://www.dualwan.cn/index.php/download/category/72-1.28

    Someone must translate it to English. :biggrin:
     
  64. latdna

    latdna Addicted to LI Member

    Tomato DualWan English Version
    ---------------------------------

    Translated using Tomato NDUSB files and google translate/brains.
    If you can offer better translation for new features of dualwan firmware please do it.
    Changed files: /www/* and /usr/share/transmission/index.html
    Confirmed to work:

    tomato-K26USB-1.28.0532-MIPSR2-8M-eng.trx
    Tested with:
    Model Asus RT-N16
    CPU Broadcom BCM4716 chip rev 1 pkg 10
    CPU frequency 480MHz
    Flash capacity 32MB

    tomato-K26USB-1.28.0532-MIPSR1-8M-eng.trx
    Tested with:
    Model Asus WL-500gP v2
    CPU Broadcom BCM5354
    CPU frequency 240MHz
    Flash capacity 8MB

    tomato-K26-1.28.0532-MIPSR1-4M-eng.trx
    Tested with:
    Model Linksys WRT54G/GS/GL
    CPU Broadcom BCM5352 chip rev 0 pkg 2
    CPU frequency 200MHz
    Flash capacity 4MB

    ===== 2011-4-28 | 1.28.0532 private beta release =====

    * Fix BUG: Repair Advanced Settings -> Connection tracking points save the error report ct_hashsize invalid
    * function to enhance: the specified generic name export support (such as *. baidu.com)
    * function to enhance: PPTP VPN client VPN new intelligent routing function, when access to the selected ISP IP traffic from the VPN section of line out when
    * function to enhance: BT download offline transmission upgrade to 2.22
    *** Brush 518T2 stabilize the user, this version of the test brush ***

    Download: http://dl.dropbox.com/u/2880566/tomato-dualwan-1.28.0532.zip
     
    wilsonhlacerda likes this.
  65. FDisk

    FDisk Addicted to LI Member

    Awesomeness! Trying it right now. :)
     
  66. Toastman

    Toastman Super Moderator Staff Member Member

    To ZD - I know you read this forum and that you can understand English. Do you know what Open-Source means? Why not give back to the community to compensate for what you are taking from it?
     
  67. THE_CD

    THE_CD Addicted to LI Member

    Many thanks latdna

    YOU ARE THE MAN !!!
     
  68. shibby20

    shibby20 Network Guru Member

    +1. Toastman have 100% right!!
     
  69. wilsonhlacerda

    wilsonhlacerda Networkin' Nut Member

  70. Toastman

    Toastman Super Moderator Staff Member Member

    wilsonhlacerda, we'll be glad to include the code if you upload it to the git repository.
     
  71. latdna

    latdna Addicted to LI Member

    Tomato DualWan English Version
    ---------------------------------

    Translated using Tomato NDUSB files and google translate/brains.
    If you can offer better translation for new features of dualwan firmware please do it.
    Changed files: /www/* and /usr/share/transmission/index.html
    Confirmed to work:

    tomato-K26USB-1.28.0533-MIPSR2-8M-eng.trx
    Tested with:
    Model Asus RT-N16
    CPU Broadcom BCM4716 chip rev 1 pkg 10
    CPU frequency 480MHz
    Flash capacity 32MB

    tomato-K26USB-1.28.0533-MIPSR1-8M-eng.trx
    Tested with:
    Model Asus WL-500gP v2
    CPU Broadcom BCM5354
    CPU frequency 240MHz
    Flash capacity 8MB

    tomato-K26-1.28.0533-MIPSR1-4M-eng.trx
    Tested with:
    Model Linksys WRT54G/GS/GL
    CPU Broadcom BCM5352 chip rev 0 pkg 2
    CPU frequency 200MHz
    Flash capacity 4MB

    ===== 2011-5-29 | 1.28.0533 private beta release =====
    * Fix BUG: fix Firefox name to edit the rules specified in the export error of the BUG
    * Fix BUG: Repair Basic -> Static DHCP saved browser JS error BUG report
    * Fix BUG: fix MU350/MU351 and other 3G network card can not dial-up problem, thanks dindindang solve this BUG, once again thank ss383849 to help test (last year also ss383849 to lend me his MU350 card that makes TTDW support MU350/MU351)
    * Fix BUG: re-enter the user mode VPN PPTP client (PPTP client setup interface "Using the kernel driver"does not apply), attempt to resolve the VPN PPTP client can sometimes cause the router to restart the question (the original VPN PPTP Client Are using the kernel driver)
    * function to enhance: optimizing real-time traffic flows 24 hours a display item (identify which is the WAN1, WAN2, LAN port)
    * function to enhance: New features -> QoS contract speed limit in the number of UDP per second by the 1-100 / s increased to 10-1000 / s
    * details of the adjustment: Basic Settings -> Network settings to increase the service name of the text suggest that the service name to avoid arbitrary institution led some users can not dial

    *** version 6.1 have been prepared to improve the intelligence in the QoS, but the difficult and not complete, so not yet updated for the next private beta to provide improved intelligence QoS ***

    Download: http://dl.dropbox.com/u/2880566/tomato-dualwan-1.28.0533.zip
     
    wilsonhlacerda likes this.
  72. tifozi

    tifozi LI Guru Member

    Thanks latdna :wave:

    Is there a way to *not* load balance but actively use both WANs at the same time? the request may sound bizarre but my speeds are not that great and I wish I could use both connections at the same time to increase download speeds.
     
  73. FDisk

    FDisk Addicted to LI Member

    Amazing stuff. Thank you latdna. :D
     
  74. manyak

    manyak Networkin' Nut Member

    Thanks latdna for you great work.
    Can you help me(us) to translate 534 version?
    I have this BUG(Fix BUG: resolve Windows called Microsoft KB2536276 cannot access the router after the patch Samba share the BUG), that is solved in 534 version.

    :bounce:
     
  75. kinekine

    kinekine Networkin' Nut Member

    VPN client problems

    I have some troubles with the OpenVpn Client settings, when i set it as in my old tomatousb and I hit start the router comes back with a misconfigured vpn client settings page. After this, once I try to reboot, the router goes back to factory settings.

    Any idea?
     
  76. latdna

    latdna Addicted to LI Member

    Tomato DualWan English Version
    ---------------------------------

    Translated using Tomato NDUSB files and google translate/brains.
    If you can offer better translation for new features of dualwan firmware please do it.
    Changed files: /www/* and /usr/share/transmission/index.html
    Confirmed to work:

    tomato-K26USB-1.28.0534-MIPSR2-8M-eng.trx
    Tested with:
    Model Asus RT-N16
    CPU Broadcom BCM4716 chip rev 1 pkg 10
    CPU frequency 480MHz
    Flash capacity 32MB

    tomato-K26USB-1.28.0534-MIPSR1-8M-eng.trx
    Tested with:
    Model Asus WL-500gP v2
    CPU Broadcom BCM5354
    CPU frequency 240MHz
    Flash capacity 8MB

    tomato-K26-1.28.0534-MIPSR1-4M-eng.trx
    Tested with:
    Model Linksys WRT54G/GS/GL
    CPU Broadcom BCM5352 chip rev 0 pkg 2
    CPU frequency 200MHz
    Flash capacity 4MB

    ===== 2011-6-21 | 1.28.0534 beta release =====
    * Fix BUG: fix version of the designated export 532,533 to use the domain name after a memory leak issue (memory less and less, the last restart or crash)
    * Fix BUG: Intelligent QoS sometimes solve the problem of collapse
    * Fix BUG: resolved to fight Microsoft KB2536276 patch Windows can not access router after the BUG Samba share
    * Fix BUG: fix PPPOED, PPTPD users can not access the site by specifying the exit of the BUG. BUG reproduce: Specify export specified http 80 go WAN1, LAN users can go right from WAN1, but pppoed, pptpd users can not go through WAN1
    * Fix BUG: fix the export does not support specifying the user's VPN PPTP server BUG
    * Fix BUG: fix 4M version (no USB function) of the Basic Settings -> Network Settings option in the dial also shows the BUG 3G
    * Fix BUG: repair communication breakdown in the flow sorting incorrect BUG
    * Function: Communication breakdown by adding up the average packet size, average packet size of the display down
    * Function: models correctly identify the ZTE H618B
    * Function: Improved Intelligent QoS algorithms to improve performance and stabil

    Download: http://dl.dropbox.com/u/2880566/tomato-dualwan-1.28.0534.zip
     
    wilsonhlacerda, marian3k and wlkn like this.
  77. dpalbsp

    dpalbsp Networkin' Nut Member

    Thank you very much. Now the Samba share is working perfectly on my Win 7 machine.
     
  78. marian3k

    marian3k LI Guru Member

    Hi Latdna, 535 is now out. Waiting for translation ;) Thanks in advance.
     
    wilsonhlacerda likes this.
  79. THE_CD

    THE_CD Addicted to LI Member

    Links not working, any mirrors or something... ?
     
  80. marian3k

    marian3k LI Guru Member

  81. wilsonhlacerda

    wilsonhlacerda Networkin' Nut Member

    Hi Latdna (and other Chinese speakers), I second that!
    Thanks in advance!

    Edit: I've done some DUALWAN + SELECTIVE VPN PPTP tests and it works like a charm! Everything very easily configurable on GUI. This mod does have VERY nice features (tks developers! Shame it's not GPL.) that would be great to be replicated on other popular mods that follow GPL.
     
  82. mirekjus

    mirekjus Guest

    Released version 1.28.0536. Latdna translate?
     
  83. HKPolice

    HKPolice LI Guru Member

    Latdna hasn't logged in since July 17th, can anyone get a hold of him? :(
     
  84. wilsonhlacerda

    wilsonhlacerda Networkin' Nut Member

    latdna ?
    Anyone that can help?

    Version 1.28.0536 is there for some time just waiting us to try it! ;)
    I've been testing 534 for some time now and it's really a nice mod. Pity not open source and only Chinese.

    It'd be nice to try 536 in English, Spanish or French.

    Thanks in advance!
     
  85. mitsa

    mitsa Networkin' Nut Member

  86. wilsonhlacerda

    wilsonhlacerda Networkin' Nut Member

  87. wilsonhlacerda

    wilsonhlacerda Networkin' Nut Member

    Latest one is now 1.28.0538 (2011-9-9)
     
  88. mitsa

    mitsa Networkin' Nut Member

    anyone can get English translation of 1.28.0538 ?
     
  89. maple.chick

    maple.chick Networkin' Nut Member

    I tried the PPTP VPN feature and I could connect to it from my Android tablet but I couldn't access the internet. Did you have similar issues?
     
  90. kinekine

    kinekine Networkin' Nut Member

  91. xtacydima

    xtacydima LI Guru Member

    So when using Load Balancing, which LAN port becomes the second WAN port, I presume LAN1 or LAN4?
     
  92. marian3k

    marian3k LI Guru Member

  93. puttapoom

    puttapoom Networkin' Nut Member

    guinnessthecat likes this.
  94. Cyberesc

    Cyberesc Networkin' Nut Member

    My 3.75G hspa+ stick Huawei e372 is working fine before i upgrade to 1.28.0539. After upgrading, i can no longer use my 3g modem with the error code on my logs as unrecognized option '/dev/ttyUSB0'.

    I think the problem is with usb_modeswitch 1.1.9 which is not compatible with e372 as i search google other users also experienced the same problem. The latest version of usb modeswith is 1.2.0. I already tried downgrade to older version but i can no longer use my modem with tomato dualwan router. How can i update or intall to my tomato router with the new usb_modeswitch?

    I hope the new dualwan version will come up with the lastest usb_modeswitch (1.2.0) as soon as possible. Hope this will solve my problem.

    Thanks to the Creator in advance.
     
  95. Kcolyhs

    Kcolyhs Networkin' Nut Member

    I need help!
    I have tried using dual-wan 1.28.0534 English version to load balance two DSL lines.
    I have tried using "static wan" for both and "ppoe" for both, but I get no internet connection. It is as if the dual-wan router cannot see either of the two modems. I am using the wan port for wan1, and the lan1 port for wan2.
    I am not sure what details to enter under static wan for: IP & gateway.
    Can anyone who successfully set it up using 2 static wans (in the interest of stability) provide an idiots guide?
    Any other settings needed to get load balancing working?
    Thank you for any feedback.
     
  96. xtacydima

    xtacydima LI Guru Member

    As it turns out the second WAN by default for me was LAN4 which is closest to the original blue colored WAN port separated by an antenna. Although you should really see one DSL line at least even if you plug one cat5 wrong.
     
  97. Kcolyhs

    Kcolyhs Networkin' Nut Member

    Thank you, that was the problem.
    After using the Lan4 port the modem was seen.
    I am still not seeing an increase in data rate with both Wan ports activated, and load balancing selected.

    Several posters indicate that the setup is much more stable if using Static Wan setting on both Wan ports.
    Have you used that option?
    What do I enter under Wan "Static": ip & gateway.
    If modem 1 is: 192.168.0.1 and modem 2 is: 192.168.0.2, then gateway would be the ip of each modem?
    What would I enter for the ip of each Wan port? 192.168.0.3 for the 1st and 192.168.0.4 for the 2nd or would I use the same ip setting for both such as 192.168.0.3?

    If I wanted to route the output of the Dual-Wan to another Tomato router to handle DHCP and QOS how to configure the second Tomato router for that?

    Thanks
     
  98. kenyloveg

    kenyloveg LI Guru Member

    DOn't forget to set DNS server (like 8.8.8.8 from google) on PPTP server;)
     
  99. Kcolyhs

    Kcolyhs Networkin' Nut Member

    I would really appreciate any advice you can provide.

    I have 2 DSL lines from two different providers.
    One is PPPoE, and the other PPPoA.
    I have 2 DSL modems, the 1st is connected to the PPPoE dsl line in full bridge mode, the second modem is connected to the PPPoA dsl line in half bridge mode.
    I am using a Buffalo WHR-G125 router (supposed to be fully compatible with Dual Wan tomato) running 1.23.0409 Dual-Wan.
    The 1st modem is connected to the Wan port using PPPoE setting on the Wan1 selection on the router.
    The 2nd modem is connected to the Lan1 port on the router (Wan2) using the DHCP setting on the Wan2 selection on the router.
    I have selected Load Balancing, and both modems are identified under overview.
    I have been unable to get any increase in data rate, actually it is worse than using a single modem.

    Is there anything I am doing wrong in the above setup?
    If the 2DSL lines are from different providers can I still use Load Balancing?
    If Intelligent Routing is more suitable in my case, what routing scripts would I need to add, and how to get the appropriate script for my setup?
    You mention success using static IP's, would that be applicable in my case and how to do it?

    Thanks for any input!
     
  100. maurer

    maurer LI Guru Member

Share This Page