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

    TexasFlood Network Guru Member

    I didn't really notice any wireless problems with Victek's new driver builds, Tomato RAF 1.20.8500ND or 1.20.8502ND.

    I did see a couple of weird issues on these ND builds.

    First issue. I have a wired desktop connected with an Ethernet cable which sometimes would not show up on the LAN although a router reboot always seemed to bring it back online.

    The second issue is that xcooling's ad blocking script quit working on the 1.20.8502ND build. When I logged into the router and manually ran the script_wanup.sh script, it seemed to run OK, but ads weren't getting blocked.

    As a test I went back to 1.20.8500ND and now the script is working again. I have not yet seen the wired server go offline since the change but will watch it and see it either reoccurs.
     
  2. Victek

    Victek Network Guru Member

    Welll.. you have to send someone a big present if you get the new release with Broadcom wireless driver ... soon? :biggrin:
     
  3. biatche

    biatche Network Guru Member

    I've finally switched to this mod, but there's something i dont understand about qos / ipqos

    Should I turn on both qos+ipqos ... or is it actually up to me?

    it sounds a bit weird to specify max download bandwidth in both qos and ipqos... its as if the rules are repeating themselves..
     
  4. Victek

    Victek Network Guru Member

    I don't use both.. for your health I suggest to use one of both or I think it will be worst to understand the behaviour of your router with both plugins active :biggrin:. I did and I can say you it works perfect with both systems but you have to introduce the same parameter twice (UP/DOWN bandwidth), is one mod, not the official release....
     
  5. Toastman

    Toastman Super Moderator Staff Member Member

    Texasflood, how long is your ethernet cable on that offending beast?
     
  6. TexasFlood

    TexasFlood Network Guru Member

    I had to go look, it's been connected and run behind stuff for so long I'd forgotten. Looks like it's about 13 feet, one of those old gray cables that came with Sun servers that have a Sun logo embossed on a supposedly snagless boot on either end. I say supposedly because I never thought they worked very well.

    I don't think it's the cable but guess I could swap it out and see. The main reason I don't think it's the cable is that normally I have no trouble accessing it.

    Once before, quite a while back, I had a similar problem but I can't remember which firmware or version it was. As a workaround, I put in a script to ping that server and reboot on failure. But that was a long time ago and I haven't seen the issue at all until this recent event.
     
  7. biatche

    biatche Network Guru Member

    ..... I'm lost, I didn't get your meaning at all. :(
     
  8. Victek

    Victek Network Guru Member

    1st. You can use both functions.
    2nd. First activate one function, check everythink is OK.
    3rd, Activate second function, and run.

    The behaviour of both functions (QoS & IP/MAC BWL) will be contradictory in some cases. Try it, you router will not brick.
     
  9. biatche

    biatche Network Guru Member

    ok, then if I understand correctly, you've been using only your ipqos and not the other
     
  10. Toastman

    Toastman Super Moderator Staff Member Member

    Tex

    OK, the cable probably isn't the answer. I know if you use a very long cable (or a faulty one) the ethernet port lights just begin to die and can be coaxed on, but disappear some time later.

    Red Herring...
     
  11. michse

    michse Addicted to LI Member

    Hi,
    can someone confirm, that the ND Version don't work on Channel 12 and 13 with WRT54GL 1.1?

    On DD-Wrt I got Problems with the new Driver and WRT54GL (COREREV 9) and Multi SSID with WPA encryption (If multissid is the right technology used) - so I mean that ND not realy works on WRT54GL. Or what?

    michse
     
  12. TexasFlood

    TexasFlood Network Guru Member

    Well, it was a good thought. Cables -can- be defective, I've had bad ones before. Also I do have -one- Ethernet cable that's around 300 meters so checked to make sure I wasn't using that one. Why do I have a cable that long? Well, because I can, why wouldn't I? :-D You never know when you might need a long home run, :biggrin:
     
  13. Victek

    Victek Network Guru Member

    Source code available, release 1.20.8002 :biggrin:
     
  14. Toastman

    Toastman Super Moderator Staff Member Member

    Michse

    Victek's ND works OK here, on a 54GL 1.1

    Bear in mind that the term "ND" means different things on different firmware. Developers are trying various wireless drivers to try to eliminate a known association problem with Intel 2200BG wireless cards.
     
  15. Toink

    Toink Network Guru Member

    Hmmm... Where did you get the .bin file for your 54GL v1.1? I only see the tomato-ND.trx inside the Toamto_RAF_1.20.8502.7z....
     
  16. rameshb_v

    rameshb_v LI Guru Member

    Reduced download speed

    Thanks for this release. I have installed successfully.. I have checked my internet speed with speakeasy.net and here it is:

    [​IMG]

    I directly connected the cable modem and here is the speed.

    [​IMG]


    There is almost 3 times speed difference between both of them. The upload speed remains the same. I know that wireless reduces the speed but not sure of this amount. Is it normal ???
     
  17. spishee

    spishee Addicted to LI Member

    How difference between ND with normal version?
     
  18. Victek

    Victek Network Guru Member

    rameshb_v , the test you did has been done using ethernet cable from the computer to the cable modem and to the Linksys? or you are showing the values by ethernet cable and by wireless?.. If the test is done using the second configuration then the results are pretty good (54mbps=5000kbps). Please confirm.
     
  19. Toastman

    Toastman Super Moderator Staff Member Member

    Toink

    Try loading the .trx...
     
  20. michse

    michse Addicted to LI Member

    @ Toastman

    ok, but I can chouse channel 12 or 13 and if I check it on the client wrt it uses the last channel that works e.g 11. can you check this not only in the gui?

    @Toink

    I toke the trx file. in wiki is a comment, that if you have tomato on the router, you can use the trx file for every router who is tomato ready. can you check my problem with the channels with a client who tells you the used channel please?

    And I did a 30/30/30 - push for 30 sec, put out powerc. for 30 sec put in the pow.cable for 30 sec and all without breaking the push on the reset button. my brain needs a cool down with that english I write down here :halo:

    did I something wrong again?
     
  21. Toastman

    Toastman Super Moderator Staff Member Member

    michse

    I can change it to any channel in the GUI OK.

    I did once have a problem like yours. I think It was because I did not clear NVRAM after loading new Tomato Mod. Anyway, it became OK after I cleared NVRAM and reconfigured everything by hand (don't reload your old config backup).

    Good luck!
     
  22. michse

    michse Addicted to LI Member

    I did this 30/30/30 I wrote - is that not enought? I thougt so. damn. nvrame erase or what is the right command?
     
  23. Victek

    Victek Network Guru Member

    Do it easy... and press OK after you select the option. :)

    [​IMG]

    :biggrin:
     
  24. michse

    michse Addicted to LI Member

    Thank you victek. for 2 or 3 years I manage up to 5 wrts (most time dd-wrt, but this is history :) ) and what I learnd is to do a reset after flashing. dont know why I'm not be able to do this right :)

    I try it. thanks
     
  25. Toastman

    Toastman Super Moderator Staff Member Member

    Actually, it is very hard to find the NVRAM ERASE function - unless you know where to look!
     
  26. LLigetfa

    LLigetfa LI Guru Member

    It's been said often that the 30 second reset is not the same as a NVRAM erase.
     
  27. Ropsoniq

    Ropsoniq Addicted to LI Member

    Hi Victek !
    Thanks for this mod is realy good!!!

    Can You add this and compile in next release

    static unsigned int numdevs = 15 ; in tomato/release/src/linux/linux/drivers/net/imq.c

    Because tomato have limit for only 2 IMQ interface used for show graphic statistics in bwm-realtime.asp

    For anyone who didn't know that - we can type in console or firewall script:
    modprobe imq
    modprobe ipt_IMQ
    ip link set imqX up
    iptables -t mangle -A POSTROUTING -d yy.yy.yy.yy -j IMQ --todev X
    ip link set imqX up
    iptables -t mangle -A PREROUTING -s yy.yy.yy.yy -j IMQ --todev X


    where X (from 0 to 15) is IMQ interface number and yy.yy.yy.yy IP address of host what we wan't monitor in bwm-realtime.asp
     
  28. Victek

    Victek Network Guru Member

    Try it .. Test version 1.20.8003 available in few minutes after servers propagation... :biggrin:
     
  29. tijaune

    tijaune LI Guru Member

    trx can be used for WRT54GL

    I was asking myself this question yesterday and found the following explanation from the tomato wiki http://en.wikibooks.org/wiki/Tomato_Firmware

    ...
    G\code.bin is for WRT54G v1-4 and WRT54GL v1, GS\code.bin is for WRT54GS v1-3, GSv4\code.bin is for WRT54GS v4, and TRX\code.trx is for the WHR-G54S/ WHR-HP-G54S. If you're just upgrading an existing Tomato firmware from the GUI, any of these will work.

    I'm now running Victek v1.20.8502 using the trx from the site.
     
  30. Toastman

    Toastman Super Moderator Staff Member Member

    Hey, that's nice... thanks ropsoniq/Victek, gave me a lot of new ideas...

    It would be nice to refine this - say to have a small utility in the gui that you could set to monitor a particular IP or MAC
     
  31. mstombs

    mstombs Network Guru Member

    Didn't work when I tried on my WRT54GSv1.1 in the past - wonder if the CFE is different in 8MB flash versions? Didn't have access to try tftp option.
     
  32. Thrasher

    Thrasher Network Guru Member

    v1.2.8000 is working fine on my WRT54GS v1.1

    Now if only it had stable SNMP ;)
     
  33. rameshb_v

    rameshb_v LI Guru Member

    I did using the second configuration but 5000Kbps = 5 Mbps.... Thank you..
     
  34. agentsky1919

    agentsky1919 LI Guru Member

    Hey guys which of the two version is newer and much stable the 1.20.8002 or the 1.20.8502..... Sorry im confuse
     
  35. PeterT

    PeterT Network Guru Member

    They're both the same vintage.

    The 8000 series uses the "classic" wireless driver; the 8500 series the "new" wireless driver.

    The 8500 series corresponds to the "ND" version of Tomato.
     
  36. phuklok1

    phuklok1 Network Guru Member

    8002 is the new release with the older wireless driver (which seems to work on more routers) 8502 is the same new release with the newer wireless driver.
     
  37. agentsky1919

    agentsky1919 LI Guru Member

    ok thanks for the info...
     
  38. tijaune

    tijaune LI Guru Member

    1.20.8502

    I used the old driver 1.20.8002 for 2 days where there was 1 occurence of losing dns (disconnect and reconnect to ISP to resolve). So far the new driver 1.20.8502 is doing great in it day 3.
     
  39. Boktai1000

    Boktai1000 Addicted to LI Member

    On polarcloud.com there newest firmware shows this -
    Uses dnsmasq 2.45 (DNS/DHCP; crash fix). Restarts dnsmasq if it dies (disable: debug_norestart=dnsmasq). Don't rewrite dnsmasq.conf option. Adds EveryDNS DDNS.

    Just wondering but does this newest Tomato Mod have EveryDNS? I couldn't find it in the DDNS options.
     
  40. Victek

    Victek Network Guru Member

    If you see the router log you can check the DNSmasq version used, yes, is 2.45 and BusyBox 1.11.1 and igmp_proxy changed also to test TVoIP, this last feature need feedback from you guys, please test.:biggrin:
     
  41. kripz

    kripz LI Guru Member

    How does the bandwidth limiting work?
     
  42. Victek

    Victek Network Guru Member

  43. peyton

    peyton LI Guru Member

    Hi,
    I want to thank Victor for that firmware mod which is great !
    I don't understand a think, when i put the router mode instead of gateway i'm unable to access the internet. All request times out and i don't know why.
    Do i have to put some extra static routing table though i already have all the current routing table ?
     
  44. Victek

    Victek Network Guru Member

  45. peyton

    peyton LI Guru Member

  46. Ropsoniq

    Ropsoniq Addicted to LI Member

    Yes, it's would be nice , I'm newbie but i try do this
    Victek please make "step by step" tutorial about compiling tomato from Your source i make litle change for me in GUI(and increase IMQ to max.16) but i don't know how to compile It.

    [​IMG]

    Somebody know whay i have TX=RX after type

    modprobe imq
    modprobe ipt_IMQ
    ip link set imq0 up
    iptables -t mangle -A PREROUTING -s 192.168.1.200 -j IMQ --todev 0
    iptables -t mangle -A POSTROUTING -d 192.168.1.200 -j IMQ --todev 0


    Victek in syslog i have lot's of this (tomato 1.20.803)
    speedmod do this ??

    Jul 27 17:12:56 tomato user.warn kernel: NET: 18 messages suppressed.
    Jul 27 17:12:56 tomato user.warn kernel: ip_conntrack: table full, dropping packet.
    Jul 27 17:13:01 tomato user.warn kernel: NET: 67 messages suppressed.
    Jul 27 17:13:01 tomato user.warn kernel: ip_conntrack: table full, dropping packet.
    Jul 27 17:13:06 tomato user.warn kernel: NET: 39 messages suppressed.
    Jul 27 17:13:06 tomato user.warn kernel: ip_conntrack: table full, dropping packet.
    Jul 27 17:13:11 tomato user.warn kernel: NET: 33 messages suppressed.


    what's it mean's?
     
  47. dumbfound

    dumbfound Addicted to LI Member

    Vic,
    I am currently running Tomato_RAF_1.20.8000 if i plan to update to the 1.21 build do i have to clear NVRam?
     
  48. Hypernova

    Hypernova LI Guru Member

    Got a strange problem once I upgraded to 1.20.8002 from 1.11.

    Code:
    ...
     30 23:43:11 Router daemon.info dnsmasq[18965]: started, version 2.45 cachesize 150
    Jul 30 23:43:11 Router daemon.info dnsmasq[18965]: compile time options: no-IPv6 GNU-getopt no-ISC-leasefile no-DBus no-I18N TFTP
    Jul 30 23:43:11 Router daemon.info dnsmasq[18965]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jul 30 23:43:11 Router daemon.info dnsmasq[18965]: reading /etc/resolv.dnsmasq
    Jul 30 23:43:11 Router daemon.info dnsmasq[18965]: using nameserver 202.180.64.11#53
    Jul 30 23:43:11 Router daemon.info dnsmasq[18965]: using nameserver 202.180.64.10#53
    Jul 30 23:43:11 Router daemon.info dnsmasq[18965]: read /etc/hosts - 0 addresses
    Jul 30 23:43:11 Router daemon.info dnsmasq[18965]: read /etc/hosts.dnsmasq - 11 addresses
    Jul 30 23:44:16 Router daemon.info dnsmasq[18965]: exiting on receipt of SIGTERM
    Jul 30 23:44:16 Router daemon.info dnsmasq[19199]: started, version 2.45 cachesize 150
    Jul 30 23:44:16 Router daemon.info dnsmasq[19199]: compile time options: no-IPv6 GNU-getopt no-ISC-leasefile no-DBus no-I18N TFTP
    Jul 30 23:44:16 Router daemon.info dnsmasq[19199]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jul 30 23:44:16 Router daemon.info dnsmasq[19199]: reading /etc/resolv.dnsmasq
    Jul 30 23:44:16 Router daemon.info dnsmasq[19199]: using nameserver 202.180.64.11#53
    Jul 30 23:44:16 Router daemon.info dnsmasq[19199]: using nameserver 202.180.64.10#53
    Jul 30 23:44:16 Router daemon.info dnsmasq[19199]: read /etc/hosts - 0 addresses
    Jul 30 23:44:16 Router daemon.info dnsmasq[19199]: read /etc/hosts.dnsmasq - 11 addresses
    Jul 30 23:45:20 Router daemon.info dnsmasq[19199]: exiting on receipt of SIGTERM
    Jul 30 23:45:20 Router daemon.info dnsmasq[19444]: started, version 2.45 cachesize 150
    Jul 30 23:45:20 Router daemon.info dnsmasq[19444]: compile time options: no-IPv6 GNU-getopt no-ISC-leasefile no-DBus no-I18N TFTP
    Jul 30 23:45:20 Router daemon.info dnsmasq[19444]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jul 30 23:45:20 Router daemon.info dnsmasq[19444]: reading /etc/resolv.dnsmasq
    Jul 30 23:45:20 Router daemon.info dnsmasq[19444]: using nameserver 202.180.64.11#53
    Jul 30 23:45:21 Router daemon.info dnsmasq[19444]: using nameserver 202.180.64.10#53
    Jul 30 23:45:21 Router daemon.info dnsmasq[19444]: read /etc/hosts - 0 addresses
    Jul 30 23:45:21 Router daemon.info dnsmasq[19444]: read /etc/hosts.dnsmasq - 11 addresses
    ...
    Basically that thing keeps going down every time WAN DHCP update is started (every 60s) so I'm getting a short disconnection every 60s.

    I'm also getting very high usage at idle. 60% with only 7xx connections and 12~KB/s traffic. TOP gives me " 3 1 root SWN 0 0% 11% [ksoftirqd_CPU0]" as highest running process. This is with IP QoS disabled and only 6 simple rule in the normal QoS.
     
  49. TexasFlood

    TexasFlood Network Guru Member

    Since Victek has said (multiple times) that there is enough difference to require an nvram clear when going from standard Tomato to his builds, I would assume that you also need to when going back.
     
  50. Toastman

    Toastman Super Moderator Staff Member Member

    Ropsoniq

    IP connection tracking has a full table and cannot process any more connections. It sent you many messages, some were suppressed because there are too many to display fully (see ADMIN, LOGGING - suppressed messages >"n" per second).

    Probably one or more of your clients is using bit torrent or other p2p and have exceeded the number of connections set in ip_conntrack. You may need to increase the setting, if this does not solve the problem, you may have to otherwise limit your users somehow - perhaps by clever use of QOS or IP/QOS.
     
  51. Rudi1

    Rudi1 Network Guru Member

    I try Victek Tomato RAF 1.21.8002 version in my WRT54GL and I have one guestion about port forward,becouse looks strange.My ip router address is 192.168.0.1,but defoult forward ports is set to 192.168.1.2.Is this o.k.

    [​IMG]
     
  52. bripab007

    bripab007 Network Guru Member

    Those are just examples that Jon puts in the port forward page to give you an idea of how the interface works. You'll notice that none of them are turned on, and they all have "ex." in the description.
     
  53. Rudi1

    Rudi1 Network Guru Member

    Yeah,you are right!I'am just look this site to fast.Thx for explanation :)
     
  54. Victek

    Victek Network Guru Member

    Please, look Tomato wikipedia, is very basic but you can learn basic settings with this firmware before posting questions answered multiple times.

    Thanks
     
  55. Hypernova

    Hypernova LI Guru Member

    Victek, any idea what's happening with my dnsmasq?

    If I can't get this fixed within the next day I'll have to change back to 1.11.
     
  56. Victek

    Victek Network Guru Member

    I can't tell you nothing about your dnsmasq issue, BTW, do you have the same behavior with the Official Tomato? I did'nt get any post about DNSmasq... strange..
     
  57. Hypernova

    Hypernova LI Guru Member

    Tried the normal version. Seems like it's all good. CPU load is back to normal too.
     
  58. Victek

    Victek Network Guru Member

    Great, then now you can change to the mod version, it confirms me that you did'nt make a nvram erase after the upgrade to the mod version. Now is up to you to stay with oficial or mod depending if you need the mod features. :biggrin:
     
  59. Hypernova

    Hypernova LI Guru Member

    Er actually:

    1) Change from 1.11 to 1.21 mod
    2) nvram clear
    3) Problems
    4) change to 1.21 official
    5) nvram clear
    6) 8 hours so far all good
     
  60. Victek

    Victek Network Guru Member

    Thanks for the workflow you showed, but I always suggest to make the nvram erase after the upgrade, not before (I really don't care what is happening before I plan to install a new firmware)... nevertheless I appreciate your information for this test release, as you know the stable release was the 1.20.8002 / 8502. Thanks for your outcome.
     
  61. TexasFlood

    TexasFlood Network Guru Member

    Isn't Victek's "Tomato RAF 1.21.8002" a test version for now? As it doesn't really sound like you want to test but looking for stability, have you tried "Tomato RAF 1.20.8002" or "Tomato RAF 1.20.8502ND" (depending on whether you want the new driver or not)?
     
  62. Hypernova

    Hypernova LI Guru Member

    I'll give the erase before upgrade to 1.20 mod a go in the weekend and see how it goes.

    Actually I just remembered that I first loaded with the 1.20 mod (non-ND) then loaded 1.21 mod hours later hoping it would fix things. Something was probably borked during the 1.11->1.20 step. We'll see in a few days after a 2nd try.
     
  63. duck35

    duck35 Addicted to LI Member

    Sorry, I'm a little confused. So we upgrade the firmware first, then do a nvram erase?
    How to do a nvram erase?
     
  64. ADOBO

    ADOBO Guest

    In tomato, go to =>Administration => Configuration then, click the "Restore Default Configuration" drop down menu select "Erase all data in NVRAM memory (thorough)", press ok.:)
     
  65. TexasFlood

    TexasFlood Network Guru Member

    That's what I did, and it worked but at the time I hadn't read the posts carefully enough to realize it required a reset. If I had it to do over again, I'd probably do a reset before and after as that is my SOP for major firmware switches. It might be overkill but when I started trying out 3rd party firmware, I had lots of weird **** happen which was sometimes challenging ot recover from. Since getting religious about resets, I rarely have problems. Actually I'm so paranoid that I really like to do an nvram erase after but don't always do this.
     
  66. duck35

    duck35 Addicted to LI Member

    Thank you for the useful info, ADOBO & TexasFlood!
     
  67. oboda

    oboda Addicted to LI Member

    hi Victek, aside from Jon's great firmware, thanks for your effort regarding to this mod, IP/MAC Bandwidth Limiter is working perfectly to me, it reminds me using Robson's WRT Script Generator for shaping bandwidth a year ago. is this bandwidth limiter can support 30 or more ip's?

    thank you again and more power to you.
     
  68. TexasFlood

    TexasFlood Network Guru Member

    Victek. I think I noticed a bug in your mod.
    It's nothing critical, in fact I've been working around it for some time.
    Wasn't sure it was real or my imagination & I haven't stopped to test it until now.

    Just ran a test on both regular Tomato and your builds and confirmed that I see it in your builds but not Jon's, at least on my routers. Shut and say what it is already?

    OK. It's "vi". When I edit a script and do my normal exit sequence of ":wq" , the file ends up 0 bytes long and I lose not only my edits but anything that was there before.

    I've been working around it by editing in Windows notepad and using cat from stdin to a file with a Windows clipboard paste. It's only when I'm playing with scripts and I have a workaround, but FYI.
     
  69. Majinken

    Majinken Addicted to LI Member

    Hi!

    I'm using Version 1.21.8002 and everything seems to be working with my WRT54GSv4. Free memory jumped from 2mb - 7mb :D

    Is it more stable to use the 1.20 mod update of Victek? :)

    Thanks for a wonderful mod! Definitely better than DD-WRT. :D
     
  70. oboda

    oboda Addicted to LI Member

    Hi Victek,

    Thanks for the amazing mod, i wish putting "IP Range" and "IP Group" in IP-MAC Bandwidth limiter is a plus. one reason why i used your mod is because of this plugin. imho.
     
  71. oboda

    oboda Addicted to LI Member

    indeed...i am former dd-wrt and sve*soft user but change to tomato.:biggrin:
     
  72. hogrod

    hogrod Network Guru Member

    Ive used tomato firmware forever(and prefer it to DD-wrt), anyway I really needed repeater mode(not WDS) for wireless but tomato doesn't support this as far as I can tell. on the same note I really like being able to setup a virtual access point with different security than the main connection I am repeating.
    Tomato is still better, but wish there was a few more features I need.
     
  73. Majinken

    Majinken Addicted to LI Member

    Ah yes... I'm also planning the same. Correct me if I'm wrong, you want to have another router connect as a repeater to extend your wireless signal. I was planning to do the same with my befws411 but saw that the router cannot handle being a repeater since it doesnt support cfw :frown: ... I thought this mod supported it, if not, hopefully soon :biggrin:
     
  74. Boktai1000

    Boktai1000 Addicted to LI Member

    Whats still left to test in the 1.21 mod? I'm going to wait till you drop 1.20 for 1.21 but I want to make sure its a bug free, stable update.
     
  75. duck35

    duck35 Addicted to LI Member

    Bandwidth graphs for each IP would be cool if added :)
     
  76. Toastman

    Toastman Super Moderator Staff Member Member

    graphs

    Not if you have 83 users :biggrin:

    I'd like to see an option to show a graph for one selectable user, hopefully this would be a very small mod.
     
  77. Victek

    Victek Network Guru Member

    Some changes are running, the most important is a new wireless driver that will make happy most of the Tomato users.. so in fact 1.21 Test version is stable but is not giving any new feature (as the original Tomato 1.21), all the features was implemented in 1.20 with the DNSmasq bug fixed in the RAF version. :biggrin:
     
  78. Victek

    Victek Network Guru Member

    Toastman, your 100 users UPnP ready, read the PM for the link to the test version. Xing fingers ... the nvram space is getting very busy and clouded. :rolleyes:
     
  79. Toastman

    Toastman Super Moderator Staff Member Member

    Thanks Victek. I have downloaded it and will try it out this evening on two different sites to see how quickly the 100 port forwards get filled. FYI it seems to be running perfectly so far.

    On the test v.1.21, from your website http://victek.is-a-geek.com, can you clarify for everybody what will be in the final release, it has normal driver at present? Will the release version contain an updated version of the wireless driver?

    Toast
     
  80. Victek

    Victek Network Guru Member

    Thanks Toastman,

    The test release 1.21 is the original tomato with SpeedMod 8502, modifications in functions by Victek, and IP/MAC limiter function, no new wireless driver.
     
  81. Victek

    Victek Network Guru Member

    Thanks Texasflood, I''l check and fix in my next mod. I appreciate it. :smile:
     
  82. Toastman

    Toastman Super Moderator Staff Member Member

    Victek

    The mod on UPnP is working fine. Currently averaging 40+ connections.

    Now there's room to investigate, I see that most of the P2P applications release their ports correctly after shutting down. But very few Messenger clients ever release the ports - they are still forwarded after the client has disconnected from the router. Why this is, I don't know.

    ** addit ... August 11

    This evening there are 63 UPnP forwards from 39 users online. I am not deleting any of them preferring to see how it sorts itself out, or will the numbers increase slowly until it goes over 100 ...

    time will tell... :)
     
  83. Victek

    Victek Network Guru Member

    Good, let's see how the router kicks out the connections, in any case is interesting to know what msn client is doing... I don't know if the port will keep alive until the dhcp is renewed?...

    To other people asking Toastman for this Test release link... it's a test release and I don't like to spread test release until bug free, then it will become a Mod version. Please understand.

    let's time tell us.. :biggrin:
     
  84. mstombs

    mstombs Network Guru Member

    miniupnpd has configurable options to clean out old upnp connections after a certain time. The upnp daemon in Tomato is just a patch on the original linksys one - but you can see in the sourcecode that Jon has experimented with miniupnpd - there's some #defined sections of code. Tarifa firmware, also based on similar Linksys source uses miniupnpd, and its also available in OpenWRT.
     
  85. guillaumy

    guillaumy LI Guru Member

    Something like miniupnpd would be most welcome!

    What I do now even for 20-user pools to clear the clutter is to schedule a daily reboot of the router at some unearthly hour, e.g. 4.30 am

    I mean, what mission-critical work could one be doing at that hour that absolutely couldn't wait for a 1-minute reboot!? :wink:

    Naturally all users have been informed about the scheduled reboot.

    All this could change with miniupnpd ...
     
  86. Toastman

    Toastman Super Moderator Staff Member Member

    List is hovering about 65 now, with many connections open a day after the clients have disconnected. I have experimented here with every application I can find which uses PnP and all of them disconnect nicely after I stop using them.

    I don't think the fault is in Tomato - maybe some of the users applications crash and leave the connection open. That certainly happens a lot on many of the badly set-up laptops I've seen in this apartment block. And I might add, two brand new Compaq's and a HP running Vista have crashed and had to be rebooted when I was trying to help people with wireless problems. (I am not impressed with Vista).

    Victek - I have lease at 2 hours, UPnP connections don't reset on lease renewal as far as I can see. However that might be a good time to trigger a reset.

    MStombs - thanks for your enlightenment about the miniUPnPd. Most interesting to hear that Jon's been playing with the code already, others must also have the same problems and mentioned it to him.
     
  87. Toastman

    Toastman Super Moderator Staff Member Member

    guillamy - agreed on the time! One comment - I have a lot of routers/AP's, and one thing that is clear is that for some reason which I am unable to fathom, they do not always reboot cleanly, or restart after power outages. Maybe one in twenty or thirty occasions. With a lot of routers set to reboot even once a day, that adds up to a lot of work just restarting dead AP's.
     
  88. Victek

    Victek Network Guru Member

    You're a lightbox mstombs :) I'll see what's in miniupnd. BTW .. are your interested to join WRT160N to the Tomato family? :rolleyes:
     
  89. mstombs

    mstombs Network Guru Member

    I have implemented miniupnpd on my adsl modems, and it works much better than the older Ti/Intel one we had. It seems as though Jon has tweaked the tomato one to have many of the benefits of minupnpd (separate chains for upnp etc). One feature that Tomato has which is not obviously available in miniupnpd is the option to not publish the Gateway "presentation url" which appears on PCs in "My network connections". Just displaying that ICON in the taskbar on my windows PCs generates a lot of router network/CPU activity - it seems windows continually polls for data and gets a whole XML webpage for every item!.

    Not too interested in WRT160N, it doesn't external antennae? Also it wouldn't look good alongside my ADSL2MUE!

    I could have a look at compiling and running miniupnpd from jffs under tomato though...
     
  90. Victek

    Victek Network Guru Member

    Thanks for your words.. it gives me some path to run. :rolleyes:
     
  91. Toastman

    Toastman Super Moderator Staff Member Member

    mstombs, you are a mine of welcome information, thanks!

    I'm thinking, some of the code in original Linksys router firmware seems unfinished and badly thought out. Two which spring to mind are this UPnP issue - no plan to expire old unused connections - and in conntrack, no plan to reset unused connections before conntrack limit is reached and kernel panic begins.

    I have a background in industrial control systems - where this kind of lack of thought gets people killed and would never be acceptable. And it spoils the product for the sake of a few lines of code.

    I wonder if it was deliberate?
     
  92. mstombs

    mstombs Network Guru Member

    So have I, but would never use such software for safety critical apps!

    If you look at different sources (ie recent Netgear ones) you can see that the original code is from a reference design by Broadcom, the main thing Linksys/CyberTan did was to add their own web gui, and code to serve/act on web requests (the bit replaced by Tomato!). They rely on the basic Linux kernel/apps working and you can guess at the time the code was created the volume of connections P2P apps etc can make was not considered. I'm surprised Linux routers keel over with memory issues when tracking large numbers of connections, but suspect memory supervision has been pruned for speed/size in these small embedded devices...
     
  93. Toastman

    Toastman Super Moderator Staff Member Member

    Yep...

    Unfortunately, I'm not a programmer and picking my way though code is great fun for me, and I'm delighted if I can alter something small, but more than that and I'm mystified :) So thanks for that info. Yes, I guess that at that time the priority was to get something out of the door, and not worry about the details. But that was long ago, and if I were managing that product I would have reviewed and updated it by now. Particularly the wireless driver issue, I might add!

    If the code was basically just Linux code, presumably the same UPnP code is still in Linux somewhere, or has it been replaced / changed?

    I have a problem with my toaster, a mission critical app. if ever there was one. My toast is burned...
     
  94. Toastman

    Toastman Super Moderator Staff Member Member

    Router rebooted a few hours ago - cause unknown, probably nothing to do with UPnP though. Last seen about 75 forwards - after reboot 20 have been opened.

    I ran uTorrent, got a port forward, then removed the network cable and stopped uTorrent. The port forward on the router stayed, of course. But next time I started uTorrent after plugging cable back in, it did not duplicate the original portforward. So simple ones are not duplicated. However, some Messenger ones are different next time it connects, since they are not the same - ports may be different each time - the list builds up in quantity.

    Because of that, it seems to me that Messenger is the biggest culprit for clogging up the list....
     
  95. guillaumy

    guillaumy LI Guru Member

    To Toastman:

    You mention trouble with reboots, are you rebooting multiple units simultaneously?

    If so, you could experiment with a setup similar to this:

    1. Reboot your main gateway at 0430 hours (with scheduler in normal web GUI)

    2. Reboot AP-1 at 0430 + 10 seconds (scheduler with custom script with "sleep 10")

    3. Reboot AP-2 at 0430 + 20 seconds (with "sleep 20")


    ... and so forth.


    This staggered rebooting may eliminate some possible factors ( I can think of NTP sync requests and electrical disturbances)



    An alternative is to set all units to reboot at, say 0430. BUT in AP-1 add "sleep 10" to init script, in AP-2 add "sleep 20" and so forth.

    This may be of help when the routers come out from electrical outages.
     
  96. Toastman

    Toastman Super Moderator Staff Member Member

    guillamy

    Thanks for the post

    The problems I mention are not to do with my deliberately rebooting routers. I prefer to keep them running! It's just that there are several reasons for routers rebooting, which are gradually being addressed by the developers.

    The worst is caused by association of PC's using various Intel wireless cards, (there's also the problem of reboots caused by too many connections in Conntrack - if not addressed by QoS and Conntrack adjustment). That's usually why people reboot with a script - in an attempt to recover from the situation.

    Is that what you do?
     
  97. guillaumy

    guillaumy LI Guru Member

    I make it a habit to stagger my reboots (which are scheduled) to avoid problems associated with several units starting simultaneously (e.g. with WDS setups).

    I just do it. I think it makes better sense.

    You mentioned electricity outages etc. So my suggestion was meant to address the issue of multiple units rebooting, whether scheduled or not.

    I have encountered one Intel 2915ABG user who at Tomato Ver. 1.17 or 1.18 (can't remember) could not connect. But that weird problem was an isolated case. So far I have not encountered reboots which were "caused" by Intel wireless chipsets attempting to connect. BTW I always make sure that users are using "drivers only"=no PROset and update to the latest available driver.

    I know some posters have reported such a rebooting problem, but I have not seen it in any of my setups. Naturally, I hope that this problem can be tracked down and solved.
     
  98. TexasFlood

    TexasFlood Network Guru Member

    I stagger my reboots now but don't remember any problems when I didn't. I use cron and reboot my cable modem, primary router one minute later, and WDS "extension" router one minute after that.
     
  99. oboda

    oboda Addicted to LI Member

    sorry for that Toast and Victek...thank you for your effort guys! i'll just wait for your test.
    more power.:wink:
     
  100. Toastman

    Toastman Super Moderator Staff Member Member

    Hi Oboda!

    The good news is that so far it's working perfectly normally ...

    guillamy, understood. I don't use WDS here.

    Routers here are on UPS. [=Uninterruptible Power Supply). [I've noticed that a quick brownout followed by another while the unit is rebooting, stops the router coming back up some of the time and can often brick it]. Reboots still happen, but in a set of buildings like this, with so many people fiddling with switches, pulling out plugs, playing with the breakers and phase protection in the switching room - so I have to be careful before making assumptions.

    I have a lot of Intel users, and they almost all have problems from time to time associating, usually worse when they are running on battery power. I've started to mod them if the owners will let me, like you. But AP's do still reboot when they associate, but not every time. Any AP or router that does not reboot correctly annoys residents, and we can of course do without the complaints. I have to make a daily round rebooting dead AP's. It is very frustrating :frown:

    Victek: info FYI

    At the moment I have restricted the whole network to "b" only, and still they reboot on association by Intel cards. EXCEPT for one Victek compile with ND driver which doesn't :smile: But it seems like Intel people can still connect to it using "b" mode at 11 Mbit/s. That may be the answer here until the problem is fixed.

    The problem is in the driver setup, that's obvious, it'll be fixed soon I'm sure.
     
Thread Status:
Not open for further replies.

Share This Page