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

Tomato Mod 1.20.8000

Discussion in 'Tomato Firmware' started by Victek, Jul 17, 2008.

Thread Status:
Not open for further replies.
  1. jersully New Member

    That's an awful lot of bandwidth for VOIP isn't it? Are you using multiple lines? Wouldn't you want ul/dl to be equal regardless?
  2. jersully New Member

    I'm no bittorrent whiz, but it sounds like perhaps a connections issue - maybe you've got too many clients connections allowed. Have you looked through any bittorrent optimization guides? There are guidelines for how many connections, torrents, etc. to use given whatever your bandwidth is.

    I would definitely try uTorrent's Automatic feature for setting uploads. I've found it very effective in finding the optimal upload to keep my downloads flowing. You CAN kill d/l speeds by having your u/l speed too high.
  3. jnappert New Member

    You are right. I am using multiple lines. But nevertheless: Let's say i need a garanteed bandwith of 256/256, what is to do? And is the not needed bandwith freed for "normal" qos?
  4. zoz2000 New Member

    I allow 4096 connections in router's config and max 400 connections in Utorrent(40connections per torrent). Only I use P2p in the network and i run max 2-3 torrent at the same time. So this issue is impossible. I wrote that i use QOS and prioritize Ack packets so upload speed didn't slow down my download before this issue. And i wrote it affects not only P2P..http,Ftp too..
    I think it will be the cable modem. Router restart doesn't solve the problem but when i restart cable modem problem goes away.
    Sorry my english..
  5. Toastman Super Moderator

    jnappert

    You may find it difficult to do what you want by mixing the two QOS systems. That has never worked when I have attempted it, but has resulted in very unpredictable behaviour of the entire QOS system.

    BTW, there is no "guarantee" of download bandwidth, as the router's QOS does not work on downloads, only on uploads.

    In normal QOS, you should be able to set a port priority of HIGHEST, and assign that class Rate 512 - Limit NONE. That should do what you want. But whether it will produce the low latency that you require depends on your other QOS rules.
  6. ryanq New Member

    Last IP

    Hello to the board,

    thank you Victek for your mod

    I am using v1.21.8005 and I noticed a little bug.
    In the IP remember last IP feature:
    If using PPOE [Basic/Network/(WAN/Internet)Type:pPOE-Connect:Connect On Demand]
    the previous WAN IP shown in Status: Overview page is *always* 10.64.64.64
  7. Toastman Super Moderator

    **** CORRECTION ****

    Hmm. Second time I did this, I have the same thing with Connect on Demand. Same IP too. Few people will ever notice this as the whole point of ADSL usually is that it is always on!
  8. ryanq New Member

    Well *there are* people who consume bandwidth and pay by the hour (not flat subscription) so the modem/router may be always powered but the connection get interrupted as soon as the pc in the house disconnect: hey that is the reason for "connect on demand" :cool:

    So it is *necessary* to know the last IP, or it seems so
  9. Toastman Super Moderator

    Interesting! Anyway, the last IP was, I think, a mod of Victek's so I expect he'll be able to fix it with your help. Just hang in there, because he's tied up at the moment, but I'm sure he'll get back to you.
  10. Victek Network Guru

    Hi, sorry, it works. Could you tell us what is the configuration for your router (PPPoE, DHCP, static IP) ?
  11. ryanq New Member

    Hi victek as already posted before I am having this bug with PPPoE and 'connect on demand'

    even tried to manually reset the 2 nvram vars manually but as soon it gets disconnected/reconnected the previous IP is 10.64.64.64
    So it has to be something wrong in the source

    EDIT:
    I had a look into src from your website, victek

    And the only place where 10.64.64.64 is mentioned is in "/src/router/shared/utils.h" line #5:
    Code:
    #define PPP_PSEUDO_IP   "10.64.64.64"

    Which leads to "/src/router/rc/wan.c" line #112:
    Code:
      //43011: fprintf(fp, "%s:%s\n", PPP_PSEUDO_IP, PPP_PSEUDO_GW);  // <local IP>:<remote IP>
    
    and to line #426:
    Code:
       //fprintf(fp, "%s:%s\n",PPP_PSEUDO_IP,PPP_PSEUDO_GW);   // <local IP>:<remote IP>
    As yo can see they both are commented out, so it seems impossible that this IP, 10.46.46.46 comes out from nowhere... :hmm: unless you commented it out in your build and the source code available from your webpage dooes not correspond to the binary firmware code. :huh:
  12. Victek Network Guru

    Unfortunately the source you got is the same as the compiled firmware.. :frown: I don't play these cheats... Uhmmm, what's wrong here? :rolleyes: ; thanks for checking it but I think you missed something, here is the code for this display, nothing to do with the code you posted.

    status-overview.asp,

    line 99
    Code:
    c('wanprebuf',stats.wanprebuf) //Victek
    line 179
    Code:
    { title: 'Previous WAN IP', rid: 'wanprebuf',text:stats.wanprebuf }, //Victek
    status-data.js
    line 39
    Code:
    stats.wanprebuf = nvram.wan_ipaddr_buf;
    So.. I don't use these lines what you mention ... please check it in the source code. :knock: .. I think your IP is not changing while modem is always SYNC? Did you tried in keep alive and doing a Tomato reboot or Disconnect/Connect in the Overview menu?...
  13. ExZeRoEx New Member

    How does the ARP binding stuff work? I tried using the Limit unlisted machines but people can still come over to my apartment and just connect. I thought this option meant that people who I didn't give static IPs and add to the Bandwidth limiter list wouldn't be able to get online.
  14. ryanq New Member

    Of course I saw this code as first thing, but the root of the problem may not be in the code you wrote but in the original tomato code. Well indeed it would be a problem with your code because you did not make work the 'last IP' feature with the 'on demand' option.. Because you see, 10.64.64.64 in my network does mean nothing. So this value must have come from the router. The place where this address appears is pointed out in my preceding post. So maybe something has to be fixed because the 2 nvram vars that you added, seem not to get properly updated in the case of PPPoE with 'on demand' connection (which means that after the timeout set, it gets disconnected and in case it is neeeded it reconnects again...) So if you have some knowledge of C you could have a look.

    Well it does change :agree: test it for yourself if you have a dynamic IP. Whenever I disconnect (whether manually or automatically after timeout does not matter), next time it gets reconnected the IP is different.

    And yes I used to be with 'keep alive' and the previous Ip worked well. But I think the code could be corrected for working even with 'on demand'. I believe it is something that you are overseeing in the source code of PPPoE auto connect/disconnect.

    Cheers,:wink:
  15. Victek Network Guru

    ryanq,

    Your answer is more "objective" now, but as you saw, the display of the variable has no relation with the selected connection mode. I'll check it with my "limited knowledge of C" as you said .... :biggrin:

    Thanks
  16. sheerspt New Member

    Good!

    When I active the "Port Triggered" on my router Asus WL500GP anyone can access my DreamBox from the outside. But if I activate the "Port Forward Basic 'no longer. But I wanted to have the "Port Triggered" not be activated for the open TCP and UDP ports on hand when I use for example: Emule, Azureus, utorrent etc. ... ...
  17. webhdx Guest

    What filesystem is in this firmware? SquashFS?
    What about adding SD/MMC Support? It was in you previous modifications, Victek.
  18. Victek Network Guru

    1º The complete Linksys 4.30.12 sources + Oficial Tomato + Victek files.
    2º Yes, it was .. but I saw very few users of the SD/MMC card and the mod is out.
  19. gsan New Member

    Each time when I'm telnet my router 192.168.1.1, it keep on saying that the login is incorrect although I'm key in the right login and password?
  20. Victek Network Guru

    user: root
    password: your password
  21. gsan New Member

    How to modify the frequency? Wanna to run it @ 228mhz since running this speed at ddwrt 24/7 stable.
  22. acuschini Guest

  23. salle74 New Member

    Tc Tag

    Have a question about this great firmware. When i have added an ip adress to the IP/MAC BW Limiter and then delete it tc tag keeps counting up is it suposed to do that?
  24. Victek Network Guru

    Yes, the rules writen in the iptables are consecutive, it's just one counter.
  25. spicoli Networkin' Nut

    Can the IP/MAC Address Limiter go "hand in hand" with the regular Tomato QoS?
  26. Toastman Super Moderator

    In theory it is independant, in practice it doesn't work for me. Best try it and see what it does for you - you can't damage anything, let us know the result!
  27. ryanq New Member

    For what I have tried the bandwidth IP-mac limiter works good for limiting the number of TCP&UDP connections. To generally limit the bandwidth for one IP I would use a special entry in QOS instead, especially if already using QOS.

    One note: it seems that toggling b/w limiter takes effect only after a reboot.
  28. Slimey LI Guru

    Just wondering, are these the ND wireless drivers that your builds are using?
    3.90.38.0
  29. phykris Networkin' Nut

    I might be wrong but I don't think you can use the 2 kinds of QoS at the same time. I think 1 of the 2 systems is used a any specific moment. The system that is used is the last "saved" system.

    If you never did any "save" since reboot, I don't know which system is used. But I don't believe it's a combination of the two. It's one or the other.
  30. spicoli Networkin' Nut

    Ok well yeah tests showed nothing. I prefer the regular QoS though, cause my kind of throttling is just application specific. Anyways, thanks for the mod Viteck.:thumbup:
  31. Toastman Super Moderator

  32. salle74 New Member

    I have another question for Victec. When i have flashed my router with your mod, i can stream radio to my mobile but it sounds no good (sound like they are talking in a can), if i flash back to original tomato firmware it sounds good, am i missing some settings in the firmware?
  33. Victek Network Guru

    :huh::jester: Well, If you are using the regular version (no ND driver) I did not touch anything from the wireless drivers.. I stream video (higher bandwidth) and it work OK. I think the quality of the stream is related with the link speed and more data to evaluate it is needed, would you check the link synchronization speed is the same?

    Rgds :)
  34. salle74 New Member

    I only stream radio, i will reflash it again and see if it works.
  35. Victek Network Guru

    Remember to clear nvram...
  36. Slimey LI Guru

  37. SM188 New Member

    just upgraded to 1.21.8005 with WRT54GL v1.1. Just wondering if the speedmod feature is "on" by default or do I need to turn them on in the WEBGUI?
  38. Toastman Super Moderator

    It's already on, you don't need to do anything.
  39. wasp87 Addicted to LI

    Victec's website isnt working, can someone give me a working link to download it? Thanks

    EDIT: Nvm I found a place.

    Noob Question: What is speedmod, how's it work, and is it automatically enabled in this modded Tomato?
  40. DJB31st New Member

    Could you share this link please?

    Getting frustrated at the current trend of edited posts of people who have found the answer.. and not publishing it.

    Share ;-)
  41. wasp87 Addicted to LI

    http://gamerblog.us/tomato/

    Top file in that black-box
  42. DJB31st New Member

    Thanks wasp.

    Just incase anyone misses that black box.. i did the first time i passed over that site.

    www.djb31st.co.uk/uploads/Tomato_RAF_1.21.8005.7z (hope you don't mind the mirror victek)

    As for the speedmod wasp, it basically speeds up P2P transfer rates and increases stability under high p2p conditions as i understand it.

    Dave
  43. Toastman Super Moderator

  44. wasp87 Addicted to LI

    I did find it, but on some site I read there were some changes in the newer speed mod's so I thought maybe it's been updated since then.

    Thanks, so under normal browsing, not using P2P, there should be little/no difference?
  45. SM188 New Member

    I haven't really noticed any difference since I updated. But if it's good for P2P users like myself. I'll stick with it.
  46. Shmuck Guest

    So I found this thread after spending an awful lot of time searching for a solution to the Intel 2200 b/g problem. I couldn't connect using the official Tomato and Speedmod Tomato versions and the DD-WRT that Toastman suggested was giving me some other issues, so I thought I'd try Victek's mod and see if he had managed to get that resolved.

    Flash using Tomato_RAF_1.21.8005 and everything seemed to go smoothly until the router rebooted. Now I can't connect at all - it's pretty well completely unresponsive and I can't figure out what's going on or how to fix it, let alone connect wirelessly via my Intel 2200 b/g card.

    Router is a Buffalo WHR-G125. Let me know if you've got any ideas on either problem.
  47. kornaz Networkin' Nut

    I've just installed Tomato RAF 1.21.8005 because one of the mentioned changes was "IGMProxy for IPTV connection". But it seems that this is NOT igmpproxy (from http://sourceforge.net/project/showfiles.php?group_id=146332). It's just a renamed version of standart and buggy igmprt. And of course it's still not working correctly.

    Victek, how about adding REAL igmpproxy to your builds? I compiled igmpproxy for my Linksys WRT54GL, tested it in Tomato 1.19 - works just fine. There's just one problem - after router reboot, igmpproxy eats all the CPU (98-99%), so I've added a simple crontab script to kill and restart igmpproxy after 1 minute after reboot. By the way, this problem also exists in DD-WRT v24 SP1, but the same crontab workaround fixes it.

    In case you want to try it - download binary and config from http://user.lt/~kornaz/misc/igmpproxy_tomato/ . Just read the config comments for the instructions.
  48. Victek Network Guru

    Thanks kornaz, I'm just building a new release and will check what you posted. Now I'm focussed on wireless driver and ethernet driver due to the limitations of the available firmwares to handle connection speed up to 50 mb.

    Regards
  49. Dashiell LI Guru

    I'm REALLY looking forward to that, Vic! Excellent work!
  50. aeroseek New Member

    Did you ever perfect this? I'm very interested in utilizing this. Also, did you figure out why tx=rx? I'm having the same problem:cool:

    -aero
  51. Victek Network Guru

    Yes .. has been solved... waiting new oficial release .. ;)

    Cheers
  52. aeroseek New Member

    Sweet! Will be looking forward to it.
    Excellent mod btw:thumbup:
  53. GhaladReam Network Guru

    Can't wait for Victek's 1.22 mod!

    w00t ;)
  54. Victek Network Guru

    hehehehe.. Here I go!! .. under stress now ;) ..
  55. Dashiell LI Guru

    We have the utmost faith in you, Vic!
  56. spliff New Member

    Comon Vic, I been holding back on upgrading to your firmware but now I need it! My dad is letting his neighbor use his wireless and hes hogging all the downstream. I'm gonna throttle him to 512k :)
  57. GhaladReam Network Guru

    Vic,

    Correct me if I'm wrong, but I read in another thread that you might be implementing some new features in your 1.22 mod. I'm just curious, if any, what these might be?

    Thanks!
  58. Victek Network Guru

    You're correct, wait for a few hours, because if some of these features is not running correct then I will have some problems ... ;) .. but here is one capture.

    [IMG]
  59. Toastman Super Moderator

    Don't forget the remote control port for my toaster.....
  60. Dashiell LI Guru

    Mmmmm.... la tomatina de overclocking!
  61. kamatschka Addicted to LI

    Hi... Is there a working VPN Support integrated?
  62. luk-a-sz New Member

    Hi,

    How many user i can add to BW limit in new version (1.22)?
    More than 30 ?


    Greetings
  63. GhaladReam Network Guru

    Hey Vic,

    I noticed you released 1.22.8005 on your website. Is this the final stable build of your mod or is it a beta?

    Thanks!
  64. Victek Network Guru

    For me it's a Beta but after 120 downloads and feedback today it looks very, very , very stable, so, go for it ;)

    Thanks:)
  65. jdr_85 New Member

    Victek, will 1.22.8500ND work with Buffalo WHR-G125 and Intel 2200bg WLAN?

    Unfortunately, my father has this WLAN chipset in his notebook so we have to use DD-WRT at the moment. But I like tomato so much better...
  66. bgcngm New Member

    Hello, Victek!

    I'm still using Tomato RAF 1.21.8005, but I was trying to download the latest version... however I get the "404 - Not found". Could you fix the links?

    I take this opportunity to ask you what's the difference between the normal and the ND version.
  67. Victek Network Guru

    The behavior of these driver are described in the forum, so, the problems will be the same as noticed.
  68. Victek Network Guru

    Fixed. See polarcloud.com to read differences between both version.
  69. peyton Networkin' Nut

    Why don't you use the non ND version ? There's nothing to lose with the stock driver one.
  70. bgcngm New Member

    Thank you! The problem now is that the files can be downloaded, but are corrupted. :rolleyes: Tried to download with IE7, Firefox and even with Flashget (download manager).
  71. Victek Network Guru

    :eek::eek::eek:you are right, I go to pack it again.

    Ready, slow server.. but ready
  72. ziddey New Member

    that's lousy advice. g125 requires nd
  73. jdr_85 New Member

    According to some other forum posts, the compatibility issue with the "great" Intel 2200bg wireless chipset unfortunately is still present. So I hope it will be resolved in the next version ;).
  74. kornaz Networkin' Nut

    UPDATE: igmpproxy recompiled with config.c patch so altnet 0.0.0.0/0 can be used in configuration - no need to specify particular subnets anymore (of course, you can specify them if you want) - so theoretically default configuration should work with any IPTV provider without any specific changes. Try it and post your results here.
  75. Victek Network Guru

    I'm finishing the first test 1.23 version with a lot of new add's. I include it. I'll post when ready.
  76. dwatashi New Member

    Does new 1.23 mod have IP/MAC Bandwidth limiter?

    I download and install 1.23 mod, but this option didnt show at menu anymore.

    Thanks.
  77. Victek Network Guru

  78. bandyta New Member

    Sorry, wher is information about how make graphic bandwich per user (look for imq0, imq1, imq2, ... imq10, imq11 etc on this screen )
    [IMG]
  79. QSxx LI Guru

    Ok, i tried to get this per IP bandwidth monitoring stuff working using Tomato 1.23 on WRT54GL 1.1 and by modifying script Vic pointed me at.

    (here: http://www.linksysinfo.org/forums/showpost.php?p=329539&postcount=127 )

    I have 5 PC's at home, 3 are wired, 2 wireless. Ranging from 192.168.1.10 to *.15
    All of them have their static DHCP assigned.

    I tried modifying that script so i got something like this in Firewall script section:

    Code:
    modprobe imq
    modprobe ipt_IMQ
    ip link set imq10 up
    iptables -t mangle -A POSTROUTING -d 192.168.1.10 -j IMQ --todev 10
    ip link set imq10 up
    iptables -t mangle -A PREROUTING -s 192.168.1.10 -j IMQ --todev 10
    ip link set imq11 up
    iptables -t mangle -A POSTROUTING -d 192.168.1.11 -j IMQ --todev 11
    ip link set imq11 up
    iptables -t mangle -A PREROUTING -s 192.168.1.11 -j IMQ --todev 11
    .
    .
    .
    ip link set imq15 up
    iptables -t mangle -A POSTROUTING -d 192.168.1.15 -j IMQ --todev 15
    ip link set imq15 up
    iptables -t mangle -A PREROUTING -s 192.168.1.15 -j IMQ --todev 15
    
    Ofcourse after reboot, router stops responding, only thing I can do is factory reset (holding that nice little button on the back)

    WHAT AM I DOING WRONG :help: :wall: :help: :wall: :help: :wall: :help: :wall: :help: :wall: :help: :wall:

    pls, help...
  80. Toastman Super Moderator

    Qsxx - I just cut and pasted this from my WRT54GL - firewall script. It works perfectly, and it looks pretty much like yours! You didn't say what version of Tomato u use, just in case it doesn't have support for the extra IMQ's....

    modprobe ipt_IMQ

    ip link set imq0 up
    iptables -t mangle -A POSTROUTING -d 192.168.1.174 -j IMQ --todev 0
    ip link set imq0 up
    iptables -t mangle -A PREROUTING -s 192.168.1.174 -j IMQ --todev 0

    ip link set imq1 up
    iptables -t mangle -A POSTROUTING -d 192.168.1.100 -j IMQ --todev 1
    ip link set imq1 up
    iptables -t mangle -A PREROUTING -s 192.168.1.100 -j IMQ --todev 1
  81. QSxx LI Guru

    Well i'm on official Tomato 1.23 now - been using Victek's mod but went back to stock when Vic removed BW limiter. Using Robson's script generator for now - waiting for BW limter comeback :D

    Will try that now, i'll post results.
  82. Toastman Super Moderator

    That's the answer. Victek's mod supports the extra IMQ's - up to 16.
  83. QSxx LI Guru

    Hehehe, yup, that's the answer - back to VIC :D
  84. TVTV Networkin' Nut

    Howdy, guys.

    How can i assign a name to each IMQ?

    Thanks in advance. :)
  85. Victek Network Guru

    QSXX, do you know that offical Tomato does not support this feature?... What version are you using my dear?....

    Bandyta.. if you don't write the right IP for imq9,10,11 and save in the static DHCP the user is not shown..
  86. QSxx LI Guru

    Well here's the deal Vic:

    I am now using your TomatoRAF 1.23.8505ND on my WRT54GL 1.1

    I have two PCs (out of five) with static DHCP:
    - 192.168.1.77 for the hostname djuro
    - 192.168.1.55 for the hostname d-will

    DHCP server is active on range 192.168.1.2 to *.10 (9 leases)

    IP/MAC BW limiter is active on theese two IPs:
    - TC tag 10 for 192.168.1.77
    - TC tag 11 for 192.168.1.55
    I've setup ARP binding on both theese IPs for their MACs respectively, and i'm limiting unlisted machines.

    QoS and Vegas are both OFF

    in the Scripts/Firewall i have this:
    Code:
    modprobe ipt_IMQ
    
    ip link set imq10 up
    iptables -t mangle -A POSTROUTING -d 192.168.1.77 -j IMQ --todev 10
    ip link set imq10 up
    iptables -t mangle -A PREROUTING -s 192.168.1.77 -j IMQ --todev 10
    
    ip link set imq11 up
    iptables -t mangle -A POSTROUTING -d 192.168.1.55 -j IMQ --todev 11
    ip link set imq11 up
    iptables -t mangle -A PREROUTING -s 192.168.1.55 -j IMQ --todev 11
    
    and when i go for reboot (in order to get firewall script active) my router just stops responding - only fix is reset button.

    Any ideas?
  87. Victek Network Guru

    Yes, in 1.23.8505 extended IMQ is not implemented, limited to 2 IP's (WAN and LAN). You will have to wait for a new release or some of the test version, I'll let you know in the features list.
  88. TVTV Networkin' Nut

    Just in case i wasn't clear enough:

    I've managed to get the official version of Tomato to show two IMQs in the Bandwidth graphs, they work fine, but although i have them assigned to two computers which are assigned both static IPs and hostnames, no hostname is showing in the IMQ tab of either computer. Can i name the two IMQs via the script, or does that require a special tweak in the Tomato source before compiling?
  89. Victek Network Guru

    "Can i name the two IMQs via the script, or does that require a special tweak in the Tomato source before compiling?"

    Changes needed..
  90. TVTV Networkin' Nut

    I see.
    Thank you for the fast reply, Vic! ;)
  91. QSxx LI Guru

    Okay i'll go for 1.23.8025 then - thx
  92. Victek Network Guru

  93. QSxx LI Guru

    Naah... I'll stick to yours since IP/MAC BW limiter is back :D

    P.S. What does RAF stands for. It aint Royal Air Force afaik :D
  94. Victek Network Guru

  95. QSxx LI Guru

    Looks a lot like that one on default Tomato skin :D

    Thx, again. Back to topic.

    EDIT: Still not working...

    Anything i can provide you guys with (like NVRAM dump, screenshots....) to help me troubleshooting this one? Any particular configuration that i need to follow to get it working?

    I tried everything i could so far...
  96. Victek Network Guru

    QSxx, I checked imq in 1.23.8025, is not implemented... would you wait until next release?

    Thanks
  97. QSxx LI Guru

    Will do Vic, no worries...

    Other than that bw graphing that I couldn't get to work, everything works great.

    Thx for the great mod, can't wait for new rls :D

    Cheers! :D :D
  98. dwatashi New Member

    Vic,

    I try the overclock feature, but after nvram commit and reset, router boots in default speed.

    Do you know why?

    Thanks.
  99. Victek Network Guru

    Yes, this bug was solved in Tomato RAF release 1.23, upgrade please.
  100. dwatashi New Member

    Ops...
    The bus still exist... already with Tomato Firmware v1.23.8025

    Thanks for fast reply.
Thread Status:
Not open for further replies.

Share This Page