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. kenyloveg

    kenyloveg LI Guru Member

    wilsonhlacerda likes this.
  2. schwung

    schwung Addicted to LI Member

  3. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    I can't seem to find the source (aided by Google Language Tools). If somebody speaks Chinese or is just more patient than me in reading badly translated pages, could you post a link to the source (if it's even available)?
     
  4. Toastman

    Toastman Super Moderator Staff Member Member

    kenyloveg - thanks for the post, and thanks to rightzd and all the guys in China.

    This is the first dual-wan implementation I've seen with two ppoe WAN interfaces (and indeed all other choices it seems). Am I right about that? You've got my attention! But as noted, we can't understand so much of it even with Google Translate, and experimenting is very difficult for me - though the firmware seems to run OK. I could not download the English version.

    Can someone post a link to the source code so we can share in the benefits?

    Thanks!
     
  5. mikester

    mikester Network Guru Member

    call it the ZOMBIE Trojan Tomato with dual back doors both going to china?
     
  6. kenyloveg

    kenyloveg LI Guru Member

    Be careful, you've been watched by us:biggrin:

    Anyway, currently the source code will not be released. But I'm sure some day he will do it.:thumbup:
     
  7. kenyloveg

    kenyloveg LI Guru Member

    Well, here is the readable translation.

    Code:
    tomato 1.23.0099 DualWan mod - 3月3日更新
    
    What is DualWan mod
    DualWan is a Tomato MOD which can add up to 2 WAN ports on any tomato compatible router (with vlan capable device only)
    
    Who need DualWan mod
    You tell me...
    
    Known compatible devices list, and vlan2 can be automatically enabled (report to me if your device in not on the list)
        Linksys WRT54GS 1.0, 1.1, 2.0
        Linksys WRT54G V2.1, V2.2, V3, V3.1, V4
        Moto 850G V2, V3
        Belkin 7231-4P
        DELL TrueMobile 2300 V2
        Bufaluo whr3-ag54
        Netcore NW 618
    
    Tomato DualWan QQ group 78021595
    Read the FAQ before you start
    [URL="http://www.right.com.cn/forum/viewthread.php?tid=22105&extra=page%3D1&frombbs=1"]http://www.right.com.cn/forum/viewthread.php?tid=22105&extra=page%3D1&frombbs=1[/URL]Tomato DualWan mod FAQ
    
    点此查看AssignOUT FAQ
      
    Changes log
    * 1.23.0099 - 200900303
    * enhanced feature: Add VPN (PPTP Server&PPTP Client)
    * enhanced feature: Dual WAN port now works on Netcore NW618 (ND build only)
    * enhanced feature: Support WindDNS in DDNS
    * BUG fixed: Minor bugs, off the record
    * PS 1: 1.23.0099 is in Chinese,included USB driver
    * PS 2: Updated load-balance.shand common-stop.sh under Script,please update these 2 files within "Enable/Disable policy routing" after upgrading to new firmware"
    
    Known bugs and limitations
    * DDNS、UPnP works on WAN1 port only
    * WAN2 port can't connect to wireless network on devices without vlan support
    * both none ND and ND are included in packages
    Some hints:
    1. type
    Code:
    ifconfig vlan1
    to check your device before you start flashing
    return reults
    Code:
    vlan1      Link encap:Ethernet...
    means vlan capable device
    Code:
    ifconfig: vlan1: error fetching interface information: Device not found...
    means negative
    2. type
    Code:
    nvram get t_dualwan_fix1
    after you flashed this MOD to check if the MOD automatically enabled WAN2
    if
    Code:
    nvram get t_dualwan_fix1
    returns nothing, please type
    Code:
    nvram get boardtype
        nvram get boardnum
        nvram get boardrev
        nvram get boardflags
        nvram get t_model
    and report me the results
    3. AssignOUT feature
    http://www.dualwan.cn/assignout_faq


    Well, enjoy it.:biggrin:
     
    wilsonhlacerda likes this.
  8. Toastman

    Toastman Super Moderator Staff Member Member

    Thanks kenyloveg,

    Can you point me in the direction of an English version? There was one (a little older than current release maybe) on the forum but when I followed the link I was unable to download.
     
  9. kenyloveg

    kenyloveg LI Guru Member

    You are welcom:)
    You may need to register in forum before download anything, at least most Chinese forums do:confused:
     
  10. Toastman

    Toastman Super Moderator Staff Member Member

    Unfortunately, even with the aid of Google Translator I was unable to do so. When I got to the download site I was unable to find a way to actually download a file. The only buttons that did anything at all downloaded zero byte files.

    If rightzd follows this forum, is it possible to share with us on here also? What you have done looks really great, I'd like to try to use it.

    Thanks!
     
  11. hsyah

    hsyah Addicted to LI Member

  12. mstombs

    mstombs Network Guru Member

    Thanks, that's the 3rd version of 1.23.0099 I have now downloaded (all with different size packaging) - it contains binaries for all routers including ND versions and some interesting shell scripts to configure the dual WAN - but no sign of the source-code, except an iptables route patch, I have found?

    [edit]I couldn't resist -on my WRT54G-TM with JTAG connector, 1st scary moment - I was plugged into LAN4 which presumably got hijacked for WAN! - it looks really good - my Chinese is improving!

    Code:
    Tomato v1.23.0099
    
    
    BusyBox v1.12.3 (2009-03-03 02:22:27 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    # pppd --version
    pppd version 2.4.4
     
  13. Toastman

    Toastman Super Moderator Staff Member Member

    Dual pppoe WAN

    I just tried it quickly on dual pppoe ADSL lines and it connected quickly on both. So that answers THAT question :thumbup:

    Back to looking for an English version !
     
  14. kenyloveg

    kenyloveg LI Guru Member

    Hey dude, maybe you wanner try this scenario if your ISP support multiple dialups or you have another pppoe account:
    Expand your WAN cable to 2 wires by attaching a switch, connect two cables to Router's WAN1 and WAN2, it works great:thumbup:
     
  15. Toastman

    Toastman Super Moderator Staff Member Member

    Not sure I understand, you mean take both LAN ports to one modem? If so, won't work here as dialup password account is tied to that phone line only. But I'd like to hear more... !

    Do you have an account with any of the hosts for English version? Any chance of getting it for me?
     
  16. Victek

    Victek Network Guru Member

    What the hell are trying to sale? we asked for two ISP connection and two independent WAN connection with PPPoE or DHCP in order to duplicate the bandwidth/rate of the Internet connection, not serious.. :cool:
    The dual/triple WAN connection comes from 2007 and various topics in dd-wrt firmware, the main problem is the sensing and balancing of the connection. Many manufacturers applied this configuration in their products BUT only as a backup when the main line is down, not as a merged connection.
     
  17. kenyloveg

    kenyloveg LI Guru Member

    Hi, Victek
    The thing is some place in China (at least most user report YES, but most are FTTB with PPPOE service, not xDSL), one account can dial up triple times in same time. So just duplicate one cable to 2 wires works flawless. As the load balance, It has been done in the scripts comes with the firmware (tested with download managers). Also you can define different service/IP/port to use certain WAN port by your own in web GUI, it's called AssignOUT feature. Plus, one cable to WAN1 and one wireless client mode in WAN2 work without problems. While the AP function will lose...Alternative way is to attach an AP in LAN.
     
  18. Victek

    Victek Network Guru Member

    Thanks for the explanation, now I know something more about China ;). (joke). FTTB is the key, so, you have enough capacity but limited by the account, so, having two or three PPPoE accounts you can duplicate the bandwidth. Very smart business.
     
  19. nowings

    nowings Addicted to LI Member

    Haha,in China most ISP limit home user's bandwith below 2M/bps. And in most of China we still use ADSL 1+,the capacity of the bandwidth is 8M/bps.FTTB is not the key. The key is the ISP allow you double or triple Dialing.Another situation is useing your own account as WAN1,your neighbor's wireless signal as WAN2.:):):)


    I am a chinese.I don't know whether you can understand what I am talking about. Forgive my poor English
     
  20. mstombs

    mstombs Network Guru Member

    Welcome! Receiving you loud and clear - I wouldn't even attempt to use your beautiful language.
     
  21. Victek

    Victek Network Guru Member

    ... It sounds like spanish.. loud and clear. Nowings, yes, understood. One question, who is the provider name in China that allows you to contract two or three accounts for the same phone line? Or you have to contract separate phone lines?
     
  22. nowings

    nowings Addicted to LI Member

    Haha, This is a very funny thing.In order to earn more money,China's ISP only allow one computer use one internet account.So the ISP development various software to limit router, then the proudecer of routers development firmware to anti-limit.

    limit anti-limit limit anti-limite.................

    China telecom,the biggest ISP in China,try to find a balance point between money and user's benefit. If users own more than one computer,they can ask for two or three accounts.Of course a little more money is needed.:):):)
     
  23. Toastman

    Toastman Super Moderator Staff Member Member

    Nowings, The same mentality exists in Thailand, although now foreign companies have changed that, and things are definitely improving. Can you help find us an English version of this software? I've been trying for 3 days but all I get from the host sites is zero byte 7z/zip files. The only one available so far has been the Chinese language version :-(
     
  24. nowings

    nowings Addicted to LI Member



    There is English version! But the newest version is only in Chinese.You can download form web site for free,but first you must login in.I will find a pace to upload this firmware,and give you URL
     
  25. Toastman

    Toastman Super Moderator Staff Member Member

    Thank you nowings, I really appreciate your help!

    EDIT: I managed to get v. 0061 now - English, but old UPnP. But good for experiment, I think.

    (QQ 858738405)
     
  26. mstombs

    mstombs Network Guru Member

    Still lots of activity in China for this - hope it can feed back into an English mod sometime!

    Chinese Language version can be downloaded from rayfile, no sign of source-code yet.

    tomato_dual_1.23.0128.7z
     
  27. ng12345

    ng12345 LI Guru Member

    anybody speak chinese and willing to try and get these guys to contribute to a common git repository (i.e. sgtpeppersku's http://repo.or.cz/w/tomato.git
    ) -- it would definitely open up a lot of options for tomato


    i dont know if you guys saw this link -- but this is their wiki:
    http://www.dualwan.cn/
     
  28. Toastman

    Toastman Super Moderator Staff Member Member

    No success. However, if you want to play, their scripts are in English, and I have an English version that appears to work. Yell if you need it!
     
  29. spliff

    spliff LI Guru Member

    PPTP would be nice, I could connect with my iphone :biggrin:
     
  30. ng12345

    ng12345 LI Guru Member

    if you could post those scripts/ an english version that would be awesome!

    does it include tweaks to the gui?
     
  31. Toastman

    Toastman Super Moderator Staff Member Member

    I don't have the scripts - they are on the chinese websites. There are several versions, you will have to use Google Translate and try to sort them out.

    You can download the files from here: http://tomato.softgroup.org/DualWAN_China/

    Please let me know if this link works.

    I think the English version is 0020 or 0061, I forget which now. One thing that was different about this version is that it is able to use two identical modems in pppoe bridge mode. I actually used the latest Chinese version to test that. I did not run any scripts, just verified that each line came up with a connection and separate IP.

    What I really would like, is a proper solution compiled into the firmware - could be a) A failover b) Random split between gateways c) Round -Robin equalisation etc. Oh, and for UPnP to work for clients whichever gateway they are using!
    .
     
  32. ng12345

    ng12345 LI Guru Member

    the link works

    also -- they did post their source on that page

    it is the file labeled tomatodual1_23_0099_fs.tar.gz

    i am not a firmware tinkerer -- but if someone else with more ability wants to take a look at it -- looks like all the pieces to add this functionality to other firmwares is available
     
  33. Toastman

    Toastman Super Moderator Staff Member Member

    You're right - an older source! And scripts to go with it. I sent a copy to Victek, to see if this version is worth investigation.
     
  34. ng12345

    ng12345 LI Guru Member

    what was the verdict?
     
  35. mstombs

    mstombs Network Guru Member

    I have never seen any GPL source-code - that tarball is just a router filesystem that I posted.

    Its still under very active development now up to version 195 http://www.dualwan.cn/ There are copies of the routing scripts with the firmware - they need to be edited/pasted into the init/firewall scripts etc.

    I see they are incorporating all the good work from the Git archive, miniupnp etc - I'd like to understand how that works with dual wan!

    I assume the GPL sourcecode will be published when stable.
     
  36. Toastman

    Toastman Super Moderator Staff Member Member

    Ah, yes, I remember now. As you say, just a tarball, interesting but not ultimately useful.

    Thanks for pointing this out!

    Last time I looked in earnest, UPnP only works on the one line - have they done anything since?
     
  37. mstombs

    mstombs Network Guru Member

    a few revs back...

    I can see that wan incoming upnp port forwards can easily be made to be applied to both WANs, but I don't know which WAN IP address miniupnpd will report to upnp or nat-pmp clients, or whether it matters to the upnp aware apps.
     
  38. Toastman

    Toastman Super Moderator Staff Member Member

    Well, it gets more interesting to me day by day. If the UPnP works with both WAN s and there is some kind of load balancing, which would need to be bug free, it will be useful to those of us with cheap promotional ADSL lines available. Since the firmware is all part of the same router it would be possible to arrange UPnP to forward ports on both WAN's I suppose, that would do the trick.

    Unfortunately, lately all my buildings have got so busy I have no opportunity to try anything out with dual-WAN without disturbing my clients, otherwise I would be trying to see if I can use it. But I think if and when I do, I'll need someone to help me with the scripts - I don't find them easy to use. What I would like, ultimately, would be a version with all of the script functions built in as part of the GUI. If that's possible, of course. Just something that works without having to fight with it.

    Maybe they'll even do it for us, you never know!
     
  39. nuypond

    nuypond Guest

  40. Victek

    Victek Network Guru Member

    It's a buggy version..
     
  41. kenyloveg

    kenyloveg LI Guru Member

  42. Toastman

    Toastman Super Moderator Staff Member Member

    klg, any chance of you talking to the developer, ask him to make an English version? I'd love to try it, but it's impossible for us at the moment...

    Thanks!
     
  43. mstombs

    mstombs Network Guru Member

    So only 68 recompiles since last version, and still no sign of source-code and "peer review" of whats going on - I wonder what state the code is in?

    Can anyone provide a better translation of the last line of the update readme?

    [edit]The firmware web gui files are now protected from change by a simple md5sum check, making it slightly harder to use the "Firmware Mod kit" to produce tweaked versions.

    So it looks like there is no intention to honour the obligations in using the GPL Linux code, or the more restrictive licence in the Tomato Author's great Web Interface.

    I wonder what the Author intends to do with this mod firmware? Sell it or use it create a custom botnet?

    Avoid!

    [/edit]

    I guess the discussion about rats lower down is not complimentary?
     
  44. kenyloveg

    kenyloveg LI Guru Member

    Well, I'm not sure if author would make a English release before all feature/bug fix is done. Currently, from user's feedback, dualwan feature is almost stable.
     
  45. mstombs

    mstombs Network Guru Member

    New version 286 published, adds a Smart QOS function

    No Sign of GPL sourcecode, but I think this means its not turning to the darkside?

    Here's an unofficial version of an unofficial mod with some sort of English language text on the web screens only, no deliberate change to any binary ND version only, produced using the "Firmware Mod Kit", NOT built from source - see original download for associated scripts

    http://megaupload.com/?d=P1L6ISSL

    Recommended only for Developers who know what they are doing and do not use Port 1 or 4 for LAN (may become WAN2!). Tested only with single WAN on WRT54G-TM (with serial console and JTAG for insurance).
     
  46. Toastman

    Toastman Super Moderator Staff Member Member

    What on earth does this mean? Is someone pointing out the lack of GPL compliance?

    "JS shameless distortion of the individual and the open firmware Tomato DualWan JS said that the development of their own, for the JS I, apart from such acts other than the text above with their how to I can?"
     
  47. mstombs

    mstombs Network Guru Member

    There are folk out there you feel the same

    When DualWan OpenSource

    There something strange/wrong with dhcp release and renew buttons from web gui. I'm sure that would easy to fix if we could see the source!
     
  48. jan.n

    jan.n Addicted to LI Member

    Interesting read. If I understand correctly there are supporters for both, the release of the code and keeping it private...
     
  49. jcsugrue

    jcsugrue Guest

    Has there been any progress with a translated version of this firmware? I've been running DD-WRT on a WRT54GL with dual wan for a while, the speeds are great but I really miss Tomato.
     
  50. mstombs

    mstombs Network Guru Member

    I will take a look at the latest version because they seem to have fixed the first bug I encountered dhcp release/renew buttons not working

    But this probably means still not usable

    They are clearly more interested in PPPoE or WLAN WAN connections
     
  51. itanium

    itanium Addicted to LI Member

    [edit]The firmware web gui files are now protected from change by a simple md5sum check, making it slightly harder to use the "Firmware Mod kit" to produce tweaked versions.

    Is it true?...
    As I use the 1.23.0286 version, it's in English and it's an unofficial one, I found also the 1.23.0286 version with the warning show on the bottom of the changelog...

    Well, you never say "It's impossible" to produce tweaked version, but how hard is it actually...

    Dual WAN has released the 1.25 version!...
     
  52. mstombs

    mstombs Network Guru Member

  53. kenyloveg

    kenyloveg LI Guru Member

    Current build are very stable, at least I've got 1MBps download speed with 2 PPPoE account (each one of them are 5Mbps) on one cable.
     
  54. itanium

    itanium Addicted to LI Member

    Wow.. excellent...
    btw, can you confirm using 1.25.0341 CN with 2 scripts uploaded?

    So you understand the chinese language, right?
    Lucky... you:wink:
     
  55. kenyloveg

    kenyloveg LI Guru Member

    There is no need to pasting the old 2 scripts anymore in latest build, it's already in webGUI. Most time you don't need to adjust router tables, only when your 2 WAN from different ISP.
     
  56. ipse

    ipse LI Guru Member

    Itanium...where did you get the ENGLISH version 1.23.0286? I poked around but cannot find it on the developer site...probably obsoleted or never "officially" released?

    Thanks...if you have a link or something it would be great.
     
  57. itanium

    itanium Addicted to LI Member

    Actually I got it from mstombs... I got it from this thread at previous post
    Here's the link:
    http://www.linksysinfo.org/forums/showpost.php?p=346853&postcount=45

    So, you actually can read chinese?...
    Which webGUI menu (it's all in Chinese!!) that says "enable/disable Dual WAN" at the latest build (1.25.0341?)
     
  58. Toastman

    Toastman Super Moderator Staff Member Member

  59. itanium

    itanium Addicted to LI Member

    Woww... nice link you gave me there...:eek:
    THanks!... :thumbup:
     
  60. ipse

    ipse LI Guru Member

    I'm sure you have seen this by now:

    http://www.linksysinfo.org/forums/showthread.php?t=63140 I actually installed this version (no, I don't read Chinese so that's why I was after the English version) and it has a ton of features.
    Looks like it's geared towrds sharing a connection with your neighbors (it even puts up a splash page for clients).

    Unfortunately, PPTP client to a free PPTP server does not work for me...I get errors that the Linux literature says are associated with the config... But since the PPTP client config is so simple...I'm lost.

    Oct 29 21:57:47 router daemon.notice pptp[3208]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 11136).
    Oct 29 21:57:49 router daemon.warn pptp[3212]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
    Oct 29 21:57:49 router daemon.warn pptp[3212]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
    Oct 29 21:57:49 router daemon.notice pptp[3208]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
    Oct 29 21:57:49 router daemon.notice pptp[3208]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
    Oct 29 21:57:49 router daemon.notice pptp[3208]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
    Oct 29 21:57:53 router daemon.notice pptp[3221]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
    Oct 29 21:57:53 router daemon.notice pptp[3224]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
     
  61. FDisk

    FDisk Addicted to LI Member

    Hi ipse, I'm glad I'm not the only one that was looking for this.
    So you already using this mod? I did not try it yet.

    Can you tell me if there is an option to use one cable connection and one wireless connection with this? Both connections are to a DHCP.
     
  62. itanium

    itanium Addicted to LI Member

    Another new thread about dualWAN...
    I haven't check new thread lately... more dualWAN user, eh?!...

    I am currently using the 0341, knowing that somebody also can't read chinese, but insist using the latest build, so I don't feel alone here.. :cool:.. At least I can rely on translate.googl and the URL of tomato web GUI which is still not in chinese

    I don't play PPTP yet :tongue:
     
  63. itanium

    itanium Addicted to LI Member

    I've tested running 1 ADSL and 1 HSDPA/3G(wireless broadband) connection...
    But, I need the PC with 3G modem plugged on its USB to deliver the internet via its RJ45/LAN connection, connected to WAN2 (LAN1 in my router)
    The ADSL itself has an output of RJ45/LAN, connected to WAN1 (WAN in my router)

    I have also tested running 1 ADSL and 1 Wifi Free Hotspot.
    But, again, I need a PC with Wifi and share its wifi connection to RJ45/LAN, then connect RJ45/LAN to the tomato router
    The ADSL, is as usual, same as above.

    I think of 1 simpler way, by replacing the PC&Wifi with a router. The router itself acting as a Wireless Bridge or Wireless Client, and one of its RJ45/LAN connected to the WAN2/WAN1 tomato router...
    Tests above due to I only have 1 router, and 2 laptops for the experiments

    Simply you need 2 routers and 1 cable modem.
    1 router act as the Dual WAN, 1 router act as Wifi Client, cable modem for the cable connection.

    The diagram looks like this:

    'the wifi' ((( (( ( ( [Router (wifi client)] -----+
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +----------+
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [Router (dualWAN)] -------- to Clients (through Wifi or LAN Cable)
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +----------+
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
    'the cable' -------- [Cable Modem] --------+
     
  64. ipse

    ipse LI Guru Member

    Ah...so WAN1=WAN and WAN2=LAN1 and cannot be changed to a virtual interface (like you can create one in DD=WRT - say vlanx)

    All I am looking for is a VPN solution to one of the free sites to tunnel my traffic...I have PPTP and OpenVPN working from PC but the router is a no-go for now :(
     
  65. itanium

    itanium Addicted to LI Member

    I think the LAN1 is becoming vlan2
    Here's the list of interfaces listed on the Bandwidth Monitor
    * WAN (vlan1)
    * WL (eth1)
    * br0
    * eth0
    * vlan0
    * vlan2

    The latest build has PPTP and VPN (under http://router/vpn-pptpsvr.asp and http://router/vpn-pptpclient.asp menu)
    I am not sure if that's your interest.
     
  66. ipse

    ipse LI Guru Member

    Yeah, I tried separately SgtPepper's OpenVPN mod (currently running) and DualWAN 1.23.0286EN...but I can't get ANY of the 2 to tunnel my traffic via OpenVPN (public server) or PPTP (same). So a load that had both is great, but still won't help me :)

    Bottom line: I want to tunnel ALL or ideally SOME of my Internet traffic using a PPTP or OpenVPN free server. All attempts have failed (PPTP expects a shared LAN at the remote end and OpenVPN - at least the ones I tried - do not give me a ca and secret key...just cert and username/pwd).
    SgtPapper said he will consider a change in his mod, but it's not yet available...

    I'm open to suggestions...thanks in advance.
     
  67. itanium

    itanium Addicted to LI Member

    I got an idea to manually update the english webGUI with a help from translate.goog...
    It requires the USB capable router, such as Asus WL520GU
    This is the idea:
    - insert any size USB (>128MB preferrable) to USB port, and format with ext2/ext3
    - install optware, and install the php & thttpd package
    - copy /www/*.* to /opt/share/www
    then, edit the files at opt/share/www by help of a translation (this should be easy by ftp to the windows/desktop)
    so, if you want to run in chinese version, just go to 192.168.1.1 which will access the /tmp/www
    while in translated version, go to 192.168.1.1:8080 which will access the /opt/share/www (assuming the thttpd is serving at port 8080)
    Is it a realistic idea?...

    I was able to run thttpd, able to go to 192.168.1.1:8080, but not the php... so it just open the content of the php files..
    can somebody help??...
     
  68. mstombs

    mstombs Network Guru Member

    You can also add web pages to wwwext, and link to /var or /jffs, but I had trouble running the standard web pages out of the main directory, because Tomato keeps picking up the original javascript files. I found editing the web pages offline with a 3-way diff easisest, and yes just used Google. Which version are you most interested in?
     
  69. itanium

    itanium Addicted to LI Member

    I just realize that the files are asp (not php)...
    I'm interested with the latest release for sure.. assuming more feature implemented on it... The latest should be 0341 (or 0388 as previous post? but i don't see the official release)

    Interesting what you have there.
    Can you guide me a step-by-step of how to change the file?
    Let say I want to change the status-overview.asp file, copy to ./user (tmp/var/wwwext) and then anything I should copy?...

    I'm currently using non-dual-wan f/w just to make things readable first. later when I successfully change the GUI I'll start to translate the DualWAN
     
  70. mstombs

    mstombs Network Guru Member

    I don't know why the files are called asp, there are not Microsoft Active Script files - I think they are html!

    The router web directory has a link from /www/ext to /tmp/var/wwwext so you can add extra web pages and use the built in webserver to navigate to your new pages using http:/192.168.1.1/ext/ etc

    You may need to "mkdir wwwext" in the right place if you don't have it. Teddy_bears mod that I am current using already has the destination dir. See also instructions on the polarcloud FAQ, extra custome themes can use the same mechanism.

    As I said I never got a second set fully working in dualwan firmware...
     
  71. Toastman

    Toastman Super Moderator Staff Member Member

  72. itanium

    itanium Addicted to LI Member

    Your idea is working for the web interfaces... It interpret the html/asp correctly..
    the problem came when we want to execute, let say Tool|Ping...
    If I see the source, it mention about "ping.cgi"... which is unknown somewhere... Many others also executing 'cgi's
    I tried to link cgi-bin directory or mount to the wwwext, but no good...

    I use an external custom theme, and it must be located at wwwext (equal to 192.168.1.1/ext). So when I copy all the asp files to wwwext, I also need to create wwwext/ext and copy the css and png files so that it will read the /wwwext/ext (equal to 192.168.1.1/ext/ext) (hopefully you got the idea...)

    Any clue how to patch the cgi?... (well, at least that's what I suspect so far..)
     
  73. itanium

    itanium Addicted to LI Member

    Never mind... I just manage to get it work!...
    I edit the tools-ping.asp file, change the 'ping.cgi' to '../ping.cgi' and the ping worked!!!...:wink:

    Now I am imagining that the whole modified asp (from Chinese to english) tar & gzip to jffs or USB (wherever available) and then extract it through init script..

    Shall we start the project?!...
    Or anybody sees that it won't work?..
    I am open for any input...
     
  74. itanium

    itanium Addicted to LI Member

    Here is the screenshot of translated realtime bandwidth... (192.168.1.1/ext/bwm-realtime.asp)
    the translation may not be smooth, as I barely just copy past the text to translate.goog

    [​IMG]

    The logo also edited...

    So, if 0341 is the latest one, i'll start working on it..
    But actually I'm looking for the 0388 that said to be the latest... Where can I get the f/w?
     
  75. Toastman

    Toastman Super Moderator Staff Member Member

    Latest 2 releases mirrored here - they are based on 1.23.

    I have not seen the 1.232.0388 version anywhere, though it is mentioned in the release notes, it was probably removed since it was updated after only 3 days.

    http://toastman.dyndns.org/DualWan/

    It's a home server on ADSL, so please be patient if it's slow.
     
  76. FDisk

    FDisk Addicted to LI Member

    You Sir. :rockon:

    :clap:
     
  77. Toastman

    Toastman Super Moderator Staff Member Member

    Last night, while relatively quiet, I set up dual-WAN v1.23 0409

    Owing to the lack of the English language on the GUI, it was rather slow work, and I am not yet familiar with all of the features of this firmware. The 2 PPPOE 5Mbps lines connected promptly and I used the first choice on the load balancing box, with a 1:1 ratio, both lines on the same ISP. No scripts were needed, as advised by kenyloveg.

    I set up my normal QOS rules on both WANs and operation appeared much the same as before. Ping times were the same. It isn't easy to determine a lot of things of interest, such as what WAN one is actually pinging out of!

    Next step is to set up my users Static DHCP data, which is time consuming. I need to sleep first!

    With a lot of movies downloading with utorrent, both lines are at maximum throughput and web browsing still fast and responsive. Pings to local gateway (one of them!) at around 30mS. CPU useage is rather higher than usual at .2 average, and memory is down to 488k. There is too much stuff in this compile which isn't really necessary or desirable on a 16MB router. I expect it to fail quite quickly under high load.

    I am waiting to see what happens when the network gets busy later.

    Thanks to kenyloveg for his help!
     
  78. kenyloveg

    kenyloveg LI Guru Member

    You're welcome.
    BTW, I don't think it's a good idea to run it on a Router with less than 32MB RAM.
    The original tomato build consumes almost 16MB ram of WRT54G V2 with common features enabled......
     
  79. Toastman

    Toastman Super Moderator Staff Member Member

    It is still working after 9 hours. Free memory is still hovering about 500k.

    Manually forwarding ports to a web server or other AP's on my LAN does not work. The entry page do not have a selection for which WAN is forwarded, I could not find out how to forward ports from both. UPNpP seems to work however - I wonder if this really operates on both WANs... so far I have seen no problems so I assume it does.

    The Access restrictions list only supports 50 entries, so zd did not implement the 100 or even 140 that others do - maybe there will also be a lower limit on the static DHCP.

    EDIT - I entered 75 into static DHCP with no trouble - expect the limit is probably 100. Adding 75 entries to static dhcp and access restrictions has not affected memory useage much.

    So for me, it will be necessary to recompile with mods for extra users as well as English GUI. But - no source code. However, due to a bug (?) in the firmware it is possible to add ONE more entry at a time, save, reload the page, and then add another. (It takes a long time!).

    The QOS differs from Tomato QOS in that the incoming bandwidth limiter has both a rate and a limit, just like the outgoing section. This is similar to Gargoyle, does Dual-WAN have an IMQ based ingress mechanism?

    I agree about the use on 16MB routers - however, this seems not inherently a problem with DUAL-WAN, it is probably more of a problem with too many (unnecessary?) functions added to this binary.

    The problem is that there is at the moment no 32MB router available to use in many countries. The rather sluggish ASUS WL500GP v2 has disappeared from sale and there isn't any alternative here. I really would like to get away from the old 16MB/32MB routers to something with a bit more under the hood !

    Regardless of the above comments, this is quite an achievement :clap2:
     
  80. Toastman

    Toastman Super Moderator Staff Member Member

    mstombs - is it no longer possible to use firmware mod kit ?
     
  81. kenyloveg

    kenyloveg LI Guru Member

    Well, you can replace both Flash and Memory with bigger one. Like one of my Belkin 8230 has 8MB Flash and 128MB RAM onboard. Many users around here (China) are purchasing these kind of stuffs. It won't be difficult for anyone who can solder chips also having JTAG/TTL cable for debugging.
     
  82. Toastman

    Toastman Super Moderator Staff Member Member

    Hmm. I am an engineer with considerable experience with soldering most SMT devices. But with the limited equipment most of us have available at home, I would expect the majority of attempts to add RAM to end up with destroyed routers. However, it is possible that most of us could find a friendly mobile phone repairman locally who has proper flow soldering tools and could do the job! I have a lot of RAM here ready - but knowing the local engineers abilities - I am still loathe to let them loose on a router. I will have to pluck up the courage to take one to the slaughterhouse...

    I'm very interested in your comments - I am aware of memory mods for the WRT54GL of course, generally 32MB is max. What other router models that can run Tomato do you know of that are available, which have address lines and support for more than that?
     
  83. mstombs

    mstombs Network Guru Member

    I am sure it is possible - or if not I will take it as a challenge to fix it! Just haven't got round to trying recently... I made a mistake trying to 'upgrade' my patched Ubuntu box, and even after a clean re-install lots of things that used to work no longer do...
     
  84. itanium

    itanium Addicted to LI Member

    I've downloaded the 1.23.0409, and currently editing the GUI...
    I'll let you know when the GUI mods are ready (??)...:jester:
     
  85. kenyloveg

    kenyloveg LI Guru Member

    The most powerful device for Tomato should be WZR-HP-G54, HighPower wireless amplifier module, 8M Flash 64M RAM, BCM4704 266MHz, all of these are default configuration. While it's impossible to get it in a low price outside of Japan.
    If you can get a WRTSL54GS, you may start to MOD it since 128MB RAM is supported by default cfe.
     
  86. Toastman

    Toastman Super Moderator Staff Member Member

    The 64M is good, but unfortunately never seen these routers here either! Same with the WRTSL54GS - I've never even seen one.

    mstombs - I see! Actually the same thing happened to me. It's been the same with every distro and every new release. I've got so tired of fighting with Linux I wiped all of the disk and burned it in the presence of several local monks.

    I have upgraded my PC and bought several 1TB disks, but the next step is a disk I can dedicate to Ubuntu. A small one. One that is easily exorcised :biggrin:

    It'd be great if the kit still works. I am just finishing of entering all my setup manually into dual-wan. No sign of any weird bugs yet.

    ADDIT: Dual-Wan QOS differs from Tomato QOS in that the incoming bandwidth limiter has both a rate and a limit, just like the outgoing section. This is similar to Gargoyle, does it have an IMQ-based ingress mechanism?
     
  87. Toastman

    Toastman Super Moderator Staff Member Member

    After being up about 20 hours, late evening when things got busy DUAL-WAn got very unstable. The WEB GUI was inaccessible and the router became unpredictable, some connections would fail while others went ahead normally. I believe this is due to memory issues. Looks like it really needs to run on a 32MB router.

    I've gone back to 2 routers, for the time being. It's interesting, but at the moment it's useless, it is less reliable than just running 2 gateways.
     
  88. itanium

    itanium Addicted to LI Member

    Here is the early translation for the tomato DUALWAN based on GUI of ver 1.23.409
    Forgive me for my poor english and translation
    I use the translate.goog for most of the translation

    Here's the link to the file (~250KB) (2 host, RS is non premium, max 10/day)

    http://uploading.com/files/c95mfc8e/DUALWAN_EN_LANG_1_23_0409.7Z
    http://rapidshare.com/files/303427417/DUALWAN_EN_LANG_1_23_0409.7Z.html

    To Install, enable ssh in the tomato, run "upload ROUTER_IP_ADDRESS" via Windows Command Prompt, and then after that, browse to
    http://192.168.1.1/ext/about.asp
    and then navigate anywhere else...
     
  89. FDisk

    FDisk Addicted to LI Member


    Links are down :frown:
     
  90. itanium

    itanium Addicted to LI Member

    WOww... you're quick..
    I've just revised the link..
    Sorry, but you're just way so quick that the link hasn't been revised :wink:
     
  91. mstombs

    mstombs Network Guru Member

    I have also built an English version of 1.23.409 which is clearly built on teddy_bears latest 1.4.36 kernel (mod kit still works...), Chinese status messages of the connections are now hard-coded in httpd, so they have to be patched before display.

    Unfortunately the dhcp option is useless for me, it has that bug where the WAN including miniupnp and dnsmasq) is restarted on every dhcp-renew (lease time 30 secs on my half-bridge modem!)

    Haven't looked at itanium's version yet....

    http://rapidshare.com/files/303465138/TomatoDualWanND1_23_0409EN.7z.html
     
  92. itanium

    itanium Addicted to LI Member

    Wow... this is is the one I am waiting for.. :eek: the hardcoded one...
    Some messages can't be translated, as you said... I've searched everywhere... I thought I missed...

    Btw, it is said to support 3G Modem... But I don't see it in any menu.
    Anybody test with any 3G USB modem?...
     
  93. Toastman

    Toastman Super Moderator Staff Member Member

    Hey, that was quick! Thank you mstombs!

    I will try this again sometime soon-ish. But my overall impression of this mod is that it really isn't very stable. While using it, you are so busy testing and messing about that the difference slips by without noticing. But, when I went back to using the RAF Tomato mod, it was just "instant pain relief" to see everything responding quickly and positively, as it should. When I went out today I met several residents who asked why their internet was so crap yesterday. While it appears to work well, obviously, it has problems that are not always apparent to just a single user.

    I think the present version has too many bells and whistles, and while running with full QOS and even a moderate amount of traffic, it seems to have almost no memory left to actually work properly. If anyone is seriously thinking of trying this Dual-WAN version, get a router with 32MB memory!

    I hope zd would think about this and release a version with just dual-wan capability and nothing else, to cater for the majority of users with 16MB routers.
     
  94. mstombs

    mstombs Network Guru Member

    Have a look in status-data.jsx, I added these 'on-the-fly' translations, probably more needed

    Code:
    if (stats.wanstatus == '已连接') stats.wanstatus = 'Connected';
    if (stats.wanstatus == '已断开') stats.wanstatus = 'Disconnected';
    if (stats.wanstatus == '重新获取IP中...') stats.wanstatus = 'Requesting IP...'
    If you "grep" the filesystem you find where the messages come from. No doubt more needed, plus lots of interpretation rather than straight translation I'm sure.

    plus note the usual BIG FAT WARNING, my version is just a repackage of the ND version, tested on WRT54G-TM with jtag and serial console. The mod author implemented a protection mechanism, using open-source tools, which bricks the router - needs tftp to recover if the code is wrong. Without the source code we don't know what other nasties have been embedded...
     
  95. Toastman

    Toastman Super Moderator Staff Member Member

    Flashed this English GUI version to WRT54GL, from the Tomato GUI, with no problems, if anyone wants to try it.

    I am using it with just one private ADSL line, with my normal config file from 1.23 RAF - just to try. Seems OK at the moment. I still cannot get basic port forwarding to work so my email and web servers are offline for now.

    Nice work, Michael!
     
  96. FDisk

    FDisk Addicted to LI Member

    :clap: As soon as I can get the link to download I will try this one.
    "There are no more download slots available for free users right now." :mad:
     
  97. Toastman

    Toastman Super Moderator Staff Member Member

    Michael, on my unconnected PPOE line, WAN2 Status box, I have a message still in chinese 连接中... if you need the feedback ... ?

    Fdisk - try this link:

    http://toastman.dyndns.org/DualWan/
     
  98. mstombs

    mstombs Network Guru Member

    What would you like it to say? Google says it just means "Connection"!
     
  99. Toastman

    Toastman Super Moderator Staff Member Member

    I guess it should say "unconnected". The working line says "connected" :biggrin:

    More info - on the bandwidth/IP Traffic page, "Refresh" and Auto-refresh does not work here (any browser). Browser page refresh updates the info correctly so it's not a big problem.
     
  100. FDisk

    FDisk Addicted to LI Member


    The connection has timed out
    The server at firmware.mooo.com is taking too long to respond. :frown:
     

Share This Page