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

Tomato ND USB Mod with kernel 2.6 (Tomato-RT)

Discussion in 'Tomato Firmware' started by teddy_bear, Jan 8, 2010.

  1. iloveramen

    iloveramen Networkin' Nut Member

    Have you erase nvram thoroughly? What are your wireless settings? My sister's Macbook connects just fine with Tomato on RT-N16.
     
  2. danimaltron

    danimaltron Networkin' Nut Member

    Yes, I have. Is she using N-only, auto or mixed? Does she have Leopard or Snow Leopard installed on her Mac?

    I just came home and the Macbook sets the country code properly right away. At my office however, it always goes to ZW. So unless a neighbor has a router from Zimbabwe, I think my tomato flashed router is incorrectly sending out 802.11d packets with the ZW country code.

    computers get 802.11d broadcasts from all surrounding routers, and the country code is set on a "whoever's first" basis and has nothing to do with the network you actually connect to. But as I said, I doubt I have a neighbor with a router configured for ZW that my Mac seems to ALWAYS get their beacons first.

    keep in mind this is NOT a problem for wireless-G, as I believe the country code thing is irrelevant in that case.

    My Settings are:

    Access Point
    N-Only
    WPA2 + AES
    20Mhz

    Advanced settings are either all default, or modified only slightly. I have changed the country in the advanced settings several times, between Canada and USA. Macbook still always thinks it's on a ZW network and messes up my wireless-N connection.
     
  3. teddy_bear

    teddy_bear Network Guru Member

    karog,
    Well, I thought the dropbear honors the shell settings (and the shell sets path to include /opt/bin and /opt/sbin) as the comment in the options.h says... Apparently, it doesn't. Too late for beta16 - but I'll make this change for the next update.

    danimaltron,
    The firmware sets the country correctly - you can validate it yourself by searching the nvram for "country", "US" and "ZW". If the beacon indeed has the wrong country code - then this is another problem with the new Broadcom wifi driver. One of the changes Broadcom made in this version was the updating the regional restrictions to adhere to 802.11n final standard. But forget about the new driver for now - I rolled it back in beta 16 (which is already out there on Sourceforge now) - it has too many other issues. If you didn't have the same problem with beta 11, you probably are not gonna have it with beta 16 either...
     
  4. danimaltron

    danimaltron Networkin' Nut Member

    I have only tried Beta15. So I'll try Beta16 and see what happens and report back.

    Do you know of any way of sniffing to see if the beacon I'm having problems with is indeed coming from my router? I suspect it is, but I can't be 100% positive as beacons can come from any wifi router within range.

    Thanks
     
  5. teddy_bear

    teddy_bear Network Guru Member

    Update - build 47, beta 16

    Another bug fix release. Updating the Broadcom wireless driver in the last 2 betas didn't go too well. Although some claimed improved connectivity and resolved WDS problems, others experienced intermittent problems with port forwarding and UPnP. Unfortunately, without the sources of the driver it is close to impossible to figure out what exactly causes these problems and resolve them (and to make it worse, Broadcom added another closed-source conntrack module required by the new driver), so for now I decided to roll back to the older version of the driver. But I tried to keep some of the improvements from the latest Broadcom SDK...

    ChangeLog

    Links to the firmware binaries and the git repository with sources.
     
  6. db3l

    db3l Networkin' Nut Member

    Just tried this out, and I can verify that this restores the performance on my RT-N16 I was getting with Beta14 but lost in Beta15 - I can saturate my 100Mbps WAN connection as a steady state with only about 70-80% sirq, and the unit remains responsive.

    -- David
     
  7. Sopmod

    Sopmod Network Guru Member

    Guys I have a WL-500g v2. Is there a benefit for me to flash the 2.6 version of Teddy's firmware?

    Thanks.
     
  8. bagu

    bagu Network Guru Member

    I can confirm that upnp work well with beta 16
     
  9. riley0

    riley0 Addicted to LI Member

    The QOS problem is back in beta 16. I am using a WRT54GL and flashed the tomato-K26-1.27.9047MIPSR1-beta16-Std.trx release.

    What appears to be happening is all traffic is flowing at the default class, however, the connections are listed as the correct class.

    For example, with my voip phone the connection is listed as "highest" (when you click the details on the graphs view), but the traffic is counting as "low" (in the bandwidth distribution table), therefore the call quality is choppy as it competes with everything else.

    This is the same problem that I experienced in beta14, but does not exist in beta15.

    teddy_bear thanks for the great mod!
     
  10. Catalin

    Catalin Addicted to LI Member

    Beta 16 working flawlessly for me. Thanks Fedor!

    Just a quick question: I configured the bandwidth monitoring log to be saved into the NVRAM. However the GUI warns that saving intro NVRAM very often (less than 24 hours) is not recommended. Why? What could happen?
     
  11. myersw

    myersw Network Guru Member

    One wireless observation. The default transmit power is 42. With this setting I get poorer speed on wireless then using DD-WRT which sets the transmit power to 17. When I dropped the transmit power to 21 my speed increased at the same location where it was poorer before. With the drop in power I get performance comparable to DD-WRT

    Environment. Asus RT-N16 with teddy_bear beta 16 build 47. HP laptop with Intel 82567LM wireless with latest drivers from Intel.

    One last thing. I installed DD-WRT and ran for 3 days just to get a feel for it. While nice I find Tomato nicer in many ways including how USB is supported in Tomato. DD-WRT does have more support for various configurations and does also support IPv6. Or at least they have a check box for it
    Bottom line been there do not need to go back to DD-WRT.
    --bill
     
  12. dbt78

    dbt78 Networkin' Nut Member

    I just upgrade with 9047-beta16-Std for the Linksys WRT320N
    and 9047 beta16-Ext for the Asus RT-N16.
    .Routers works fine. :smile:
     
  13. rhdcheme

    rhdcheme Addicted to LI Member

    I fully agree. TB's firmware is superior in that it is out of the box with, IMHO, superior throughput! TB -Thanks for making this available to all of us.
     
  14. spikes

    spikes Networkin' Nut Member

    I'd like to suggest having an option under USB Support next to each USB attached devices (for USB external hard drives) to enable/disable disk spin downs after x minutes. I'm having a hard time figuring out what and how to use the various scripts out there to spin down my external drive when it is idle.

    In the meantime, any help would be appreciated. I saw there was a couple post by Rasky on doing this but I could not follow. Thanks in advance for any help step-by-step or suggestions.
     
  15. bake73

    bake73 LI Guru Member

    The new beta is running great here :biggrin:

    Great work TB!
     
  16. supe

    supe Networkin' Nut Member

    Yeah, Thanks TB.
    Beta 16 plays nicer with upnp than beta 14, although not quite as fast wirelessly.

    I notice my WHS ports 80 and 443 are not going through, but i believe someone mention this was by design.

    Olegs derivative rtn firmware on my wl-500w allowed these ports by the way

    wnr3500l with beta 16
     
  17. danimaltron

    danimaltron Networkin' Nut Member

    I just brought my DIR-825 router from home, with manufacturers firmware of course, to the office. As suspected, all country code problems have been resolved.

    So the beacon being sent out must be wrong, and defaulting to ZW. You have done and are doing a great job with this. But if you have any time, I would really appreciate if you could check into this.

    I'll try the latest firmware when I bring it back and see if it's still doing this.
     
  18. depornage

    depornage Network Guru Member

    Can anyone confirm beta16 QOS not working properly on a RT-N16?? I also need it for VOIP.
     
  19. gingernut

    gingernut LI Guru Member

    It's not recommended because Nvram saves to the flash chip and flash chips have a supposed life span of 100.000 write cycles.
     
  20. Catalin

    Catalin Addicted to LI Member

    Ok, thanks for the reply. I'll leave it to save every 24 Hrs, should be ok.
     
  21. teddy_bear

    teddy_bear Network Guru Member

    I cannot confirm this. I just retested QOS in builds 11, 14, 15 and 16 - and all of them worked properly with my QOS settings, and absolutely the same way - all connections and traffic were prioritized as expected.

    Please post your detailed QOS configuration, and output of "iptables -t mangle -L -n" command.

    Yes, try the latest beta16 first. I hope the problem - if exists - is with the new driver only. If it indeed exists in other versions, I'll look into it.
     
  22. teddy_bear

    teddy_bear Network Guru Member

  23. arrmo

    arrmo Addicted to LI Member

    Hi,

    Does the MIPSR2 version support the Linksys WRT610N V2?

    Thanks!
     
  24. iloveramen

    iloveramen Networkin' Nut Member

    No, it doesn't.
     
  25. arrmo

    arrmo Addicted to LI Member

    OK, thanks! Do you know if it's coming any time soon? I like Tomato much better than DD-WRT, but it seems that DD-WRT may be my only option for now.

    Thanks again.
     
  26. x-demon

    x-demon Addicted to LI Member

    beta16 is extremely unstable for me on RT-N16
     
  27. teddy_bear

    teddy_bear Network Guru Member

    x-demon,
    Care to provide some details?
     
  28. x-demon

    x-demon Addicted to LI Member

    Yes. Sometimes under some load (for example when i starting my archlinux update) router goes partially offline. Basically it's powered on, but wifi led is not blinking and network does not work (even with ethernet connection)

    That thing happened for me around 5 times in ~10 hours

    Is that some sort of software reboot?

    BTW i have optware and swap partition, as well as VPN client which encrypts all my traffic.
     
  29. Guzel

    Guzel Network Guru Member

    Hi teddy
    Nice work :)
    The Gigabit is working in beta16 169/266mbits WAN to Lan :)
    Ther is a problem whit VPN server TAP/TUN, I can connect byt can surf
    VPN server works on beta15 whit no problem
    PPTP client it works about 45min then it gets this connectet, I tryd to change the keepalive does not help
    Thanks
    WNR3500L
     
  30. pkdick

    pkdick Addicted to LI Member

    Hello,

    Using your last beta 16 on my WNR3500 L, I noticed that scheduling my wifi access with the "access restriction" menu does not work anymore: when I select to shut off the wifi between 23:00 and 6:00, then the wifi becomes disabled all the time!

    Could you have a look at this issue ?

    Thank you in advance
     
  31. riley0

    riley0 Addicted to LI Member

    Thank you for your reply.

    Here are the outputs of iptables for each revision (which are the same):

    Beta 15:

    Code:
    root@tintin:/tmp/home/root# iptables -t mangle -L -n
    Chain PREROUTING (policy ACCEPT)
    target     prot opt source               destination         
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           CONNMARK restore mask 0xff
    
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    QOSO       all  --  0.0.0.0/0            0.0.0.0/0           
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    QOSO       all  --  0.0.0.0/0            0.0.0.0/0           
    
    Chain POSTROUTING (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain QOSO (2 references)
    target     prot opt source               destination         
    BCOUNT     all  --  0.0.0.0/0            0.0.0.0/0           
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           CONNMARK restore mask 0xff
    RETURN     all  --  0.0.0.0/0            0.0.0.0/0           CONNMARK match !0x0/0xff00 
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           MAC 00:17:9A:8F:70:2F CONNMARK set-return 0x101/0xff 
    CONNMARK   udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53 bcount --range 0:2047 CONNMARK set-return 0x2/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:53 bcount --range 0:2047 CONNMARK set-return 0x2/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           mport dports 22,4200,5000,6000 CONNMARK set-return 0x2/0xff 
    CONNMARK   udp  --  0.0.0.0/0            0.0.0.0/0           mport dports 80,443,20,21 bcount --range 0:262143 CONNMARK set-return 0x2/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           mport dports 80,443,20,21 bcount --range 0:262143 CONNMARK set-return 0x2/0xff 
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           MAC 00:19:1D:E6:A5:87 CONNMARK set-return 0x3/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           mport dports 80,443,20,21 bcount --range 262144+ CONNMARK set-return 0x3/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           mport dports 25,110,143,993,995 CONNMARK set-return 0x3/0xff 
    CONNMARK   udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53 bcount --range 2048+ CONNMARK set-return 0x4/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:53 bcount --range 2048+ CONNMARK set-return 0x4/0xff 
    CONNMARK   udp  --  0.0.0.0/0            0.0.0.0/0           udp dpts:1024:65535 CONNMARK set-return 0x5/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpts:1024:65535 CONNMARK set-return 0x5/0xff 
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           CONNMARK set-return 0x4 
    Beta 16:

    Code:
    root@tintin:/tmp/home/root# iptables -t mangle -L -n
    Chain PREROUTING (policy ACCEPT)
    target     prot opt source               destination         
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           CONNMARK restore mask 0xff
    
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    QOSO       all  --  0.0.0.0/0            0.0.0.0/0           
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    QOSO       all  --  0.0.0.0/0            0.0.0.0/0           
    
    Chain POSTROUTING (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain QOSO (2 references)
    target     prot opt source               destination         
    BCOUNT     all  --  0.0.0.0/0            0.0.0.0/0           
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           CONNMARK restore mask 0xff
    RETURN     all  --  0.0.0.0/0            0.0.0.0/0           CONNMARK match !0x0/0xff00 
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           MAC 00:17:9A:8F:70:2F CONNMARK set-return 0x101/0xff 
    CONNMARK   udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53 bcount --range 0:2047 CONNMARK set-return 0x2/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:53 bcount --range 0:2047 CONNMARK set-return 0x2/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           mport dports 22,4200,5000,6000 CONNMARK set-return 0x2/0xff 
    CONNMARK   udp  --  0.0.0.0/0            0.0.0.0/0           mport dports 80,443,20,21 bcount --range 0:262143 CONNMARK set-return 0x2/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           mport dports 80,443,20,21 bcount --range 0:262143 CONNMARK set-return 0x2/0xff 
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           MAC 00:19:1D:E6:A5:87 CONNMARK set-return 0x3/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           mport dports 80,443,20,21 bcount --range 262144+ CONNMARK set-return 0x3/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           mport dports 25,110,143,993,995 CONNMARK set-return 0x3/0xff 
    CONNMARK   udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53 bcount --range 2048+ CONNMARK set-return 0x4/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:53 bcount --range 2048+ CONNMARK set-return 0x4/0xff 
    CONNMARK   udp  --  0.0.0.0/0            0.0.0.0/0           udp dpts:1024:65535 CONNMARK set-return 0x5/0xff 
    CONNMARK   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpts:1024:65535 CONNMARK set-return 0x5/0xff 
    CONNMARK   all  --  0.0.0.0/0            0.0.0.0/0           CONNMARK set-return 0x4 
    Not sure if there is a better way for this, but here is the output of /etc/qos for each revision as well (again, which are the same):

    Beta 15:
    Code:
    root@tintin:/tmp/home/root# cat /etc/qos 
    #!/bin/sh
    I=vlan1
    TQA="tc qdisc add dev $I"
    TCA="tc class add dev $I"
    TFA="tc filter add dev $I"
    Q="sfq perturb 10"
    
    case "$1" in
    start)
            tc qdisc del dev $I root 2>/dev/null
            $TQA root handle 1: htb default 40
            $TCA parent 1: classid 1:1 htb rate 220kbit ceil 220kbit 
    # egress 0: 65-100%
            $TCA parent 1:1 classid 1:10 htb rate 143kbit ceil 220kbit   prio 1 quantum 1500
            $TQA parent 1:10 handle 10: $Q
            $TFA parent 1: prio 10 protocol ip handle 1 fw flowid 1:10
    # egress 1: 15-65%
            $TCA parent 1:1 classid 1:20 htb rate 33kbit ceil 143kbit   prio 2 quantum 1500
            $TQA parent 1:20 handle 20: $Q
            $TFA parent 1: prio 20 protocol ip handle 2 fw flowid 1:20
    # egress 2: 15-65%
            $TCA parent 1:1 classid 1:30 htb rate 33kbit ceil 143kbit   prio 3 quantum 1500
            $TQA parent 1:30 handle 30: $Q
            $TFA parent 1: prio 30 protocol ip handle 3 fw flowid 1:30
    # egress 3: 1-65%
            $TCA parent 1:1 classid 1:40 htb rate 2kbit ceil 143kbit   prio 4 quantum 1500
            $TQA parent 1:40 handle 40: $Q
            $TFA parent 1: prio 40 protocol ip handle 4 fw flowid 1:40
    # egress 4: 1-60%
            $TCA parent 1:1 classid 1:50 htb rate 2kbit ceil 132kbit   prio 5 quantum 1500
            $TQA parent 1:50 handle 50: $Q
            $TFA parent 1: prio 50 protocol ip handle 5 fw flowid 1:50
    
            $TFA parent 1: prio 13 protocol ip u32 match ip protocol 1 0xff flowid 1:10
    
            tc qdisc del dev $I ingress 2>/dev/null
            $TQA handle ffff: ingress
    # ingress 0: 100%
            $TFA parent ffff: prio 1 protocol ip handle 1 fw police rate 4500kbit burst 180kbit drop flowid ffff:1
    # ingress 1: 95%
            $TFA parent ffff: prio 2 protocol ip handle 2 fw police rate 4275kbit burst 171kbit drop flowid ffff:2
    # ingress 2: 95%
            $TFA parent ffff: prio 3 protocol ip handle 3 fw police rate 4275kbit burst 171kbit drop flowid ffff:3
    # ingress 3: 90%
            $TFA parent ffff: prio 4 protocol ip handle 4 fw police rate 4050kbit burst 162kbit drop flowid ffff:4
    # ingress 4: 85%
            $TFA parent ffff: prio 5 protocol ip handle 5 fw police rate 3825kbit burst 153kbit drop flowid ffff:5
            ;;
    stop)
            tc qdisc del dev $I root 2>/dev/null
            tc qdisc del dev $I ingress 2>/dev/null
            ;;
    *)
            tc -s -d qdisc ls dev $I
            echo
            tc -s -d class ls dev $I
    esac
    Beta 16:

    Code:
    root@tintin:/tmp/home/root# cat /etc/qos 
    #!/bin/sh
    I=vlan1
    TQA="tc qdisc add dev $I"
    TCA="tc class add dev $I"
    TFA="tc filter add dev $I"
    Q="sfq perturb 10"
    
    case "$1" in
    start)
            tc qdisc del dev $I root 2>/dev/null
            $TQA root handle 1: htb default 40
            $TCA parent 1: classid 1:1 htb rate 220kbit ceil 220kbit 
    # egress 0: 65-100%
            $TCA parent 1:1 classid 1:10 htb rate 143kbit ceil 220kbit   prio 1 quantum 1500
            $TQA parent 1:10 handle 10: $Q
            $TFA parent 1: prio 10 protocol ip handle 1 fw flowid 1:10
    # egress 1: 15-65%
            $TCA parent 1:1 classid 1:20 htb rate 33kbit ceil 143kbit   prio 2 quantum 1500
            $TQA parent 1:20 handle 20: $Q
            $TFA parent 1: prio 20 protocol ip handle 2 fw flowid 1:20
    # egress 2: 15-65%
            $TCA parent 1:1 classid 1:30 htb rate 33kbit ceil 143kbit   prio 3 quantum 1500
            $TQA parent 1:30 handle 30: $Q
            $TFA parent 1: prio 30 protocol ip handle 3 fw flowid 1:30
    # egress 3: 1-65%
            $TCA parent 1:1 classid 1:40 htb rate 2kbit ceil 143kbit   prio 4 quantum 1500
            $TQA parent 1:40 handle 40: $Q
            $TFA parent 1: prio 40 protocol ip handle 4 fw flowid 1:40
    # egress 4: 1-60%
            $TCA parent 1:1 classid 1:50 htb rate 2kbit ceil 132kbit   prio 5 quantum 1500
            $TQA parent 1:50 handle 50: $Q
            $TFA parent 1: prio 50 protocol ip handle 5 fw flowid 1:50
    
            $TFA parent 1: prio 13 protocol ip u32 match ip protocol 1 0xff flowid 1:10
    
            tc qdisc del dev $I ingress 2>/dev/null
            $TQA handle ffff: ingress
    # ingress 0: 100%
            $TFA parent ffff: prio 1 protocol ip handle 1 fw police rate 4500kbit burst 180kbit drop flowid ffff:1
    # ingress 1: 95%
            $TFA parent ffff: prio 2 protocol ip handle 2 fw police rate 4275kbit burst 171kbit drop flowid ffff:2
    # ingress 2: 95%
            $TFA parent ffff: prio 3 protocol ip handle 3 fw police rate 4275kbit burst 171kbit drop flowid ffff:3
    # ingress 3: 90%
            $TFA parent ffff: prio 4 protocol ip handle 4 fw police rate 4050kbit burst 162kbit drop flowid ffff:4
    # ingress 4: 85%
            $TFA parent ffff: prio 5 protocol ip handle 5 fw police rate 3825kbit burst 153kbit drop flowid ffff:5
            ;;
    stop)
            tc qdisc del dev $I root 2>/dev/null
            tc qdisc del dev $I ingress 2>/dev/null
            ;;
    *)
            tc -s -d qdisc ls dev $I
            echo
            tc -s -d class ls dev $I
    esac
    Attached are two example screen shots of QOS> View Graphs:

    They both have a phone call in progress which should be highest class. The first image is beta 15 where everything is swell. The second image is beta 16, with a similar traffic load, where most of the traffic is classed as "low" (the default class in this config).

    Did anything major change that requires an nvram reset or the like?

    I hope this is helpful, and again I thank you for your response. If there is anything else I can provide please ask.

    Riley
     

    Attached Files:

  32. teddy_bear

    teddy_bear Network Guru Member

    x-demon,
    More info is needed...

    How heavy is "some load"? What is the CPU load shown on the Overview page? After it happens, does the router come back by itself, or do you have to power-cycle it?

    What build are you comparing it with (i.e. what version did it work better for you)?

    Is the USB drive involved (i.e. it happens during reading/writing the attached USB drive)? If so, you can try to adjust the new usb_irq_thresh nvram parameter:
    Code:
    nvram set usb_irq_thresh=4; nvram commit; reboot
    (by default it's 0, increasing it may hurt the performance a little, but should improve stability for some drives).

    What's in the logs? The console output would be the best, but if that's not possible, try to see if there are any messages in the log before it crashes. You can set up "remote logging" - that may help to catch some of the messages right before the reboot (if it's indeed a reboot/kernel panic).

    Guzel,
    I'm not sure about the VPN issue - I don't use it, and have no knowledge of it. It would be better if you consult with SgtPepperKSU about what could cause this problem - at least he can tell you what debug information to obtain, and how. With some additional details I should be able to look further into the issue.

    In the meantime, you can test whether or not the new "fast NAT" solution from Broadcom is causing it - add the following line to your "Init" script, save and reboot:
    Code:
    echo "0" > /proc/sys/net/ipv4/netfilter/ip_conntrack_fastnat
    It won't mean anything if it doesn't solve the problem, as this setting doesn't turn off all the code added with this change, but if it solves the issue - then this is definitely the culprit.

    pkdick,
    Just tested a few access restrictions with beta 16, including disabling wireless - and all worked properly as expected. Maybe the cron process is dying on your router, or the clock is not set? Try resetting the router to default settings, and reconfigure manually - unless you can find another reason for this.

    riley0,
    First of all, the classification by MAC never worked reliably for me in any of the Tomato versions - try not using it. To prioritize your VoIP traffic, use other classifications - for example, I use 2 rules for VoIP that work very good for me:
    1. RTP Outbound: UDP Dst Port: 10000-20000 (same range as on your VoIP box) and L7: rtp (this is the only one L7 pattern I'm using)
    2. SIP Outbound: TCP/UDP Dst Port: 5060-5080
     
  33. pkdick

    pkdick Addicted to LI Member

    Hello Teddy_Bear,

    It was indeed the clock that was not set-up correctly ! Thank you for your support: everything is now running without problem!
     
  34. Guzel

    Guzel Network Guru Member

    Thanks teddy
    echo "0" > /proc/sys/net/ipv4/netfilter/ip_conntrack_fastnat
    disableding the fastNAT did work,VPN server/client it works now :)
    The internet speed gropdown to 101/144mbits, before it was 146/256mbits its ok :)
    thanks
     
  35. arrmo

    arrmo Addicted to LI Member

    Hi,

    A couple more findings from Beta 16 ...
    1) The button does not seem to turn the Wireless ON/OFF (but the GUI does, so pretty minor).
    2) The static route entries do not seem to make their way into the routing table, and as a result do not seem to work. Is this a known issue?

    Thanks!!!
     
  36. though

    though Network Guru Member

    hi TB-

    just wanted to let you know that both uPNP and Static DHCP seem to be working wired here on beta 16.

    thanks-
     
  37. d2globalinc

    d2globalinc Addicted to LI Member

    Might need to change that location in your profile here to Big 10 Country now? ;P

    To Everyone else:

    Does this firmware support DHCPFWD like dd-wrt? (DHCP Forward option, to foward all dhcp requests to another IP) - We use this to foward dhcp requests on the local lan over a OpenVPN connection to a main server at the datacenter. Last Tomato firmware I tried a few months back didn't have the feature so we were stuck with dd-wrt still.

    Thanks!

    - D2G
     
  38. Rasky

    Rasky Addicted to LI Member

    Isn't dhcp-fwd an user-space program? If so, it should be easy to recompile it for Tomato, I can do that if you need it.
     
  39. arrmo

    arrmo Addicted to LI Member

    Hi,

    Just to clarify - I wasn't referring to static DHCP, that works fine. Rather the issue is static routes - these don't seem to be working ... :-(.

    Thanks!
     
  40. bagu

    bagu Network Guru Member

    Since upgrade to v16, i have some random crash when launching rtp client (many connection/second)

    I'm not sure where the probleme come from.
    I try to revert back on v11 to test in same conditions.

    EDIT :
    Ok, same problem with v11, and i know what make it crash.
    I have an usb disk on the RT-N16.
    I can access it without problem, but, when i see the content of a folder witch have more than 850 pictures, memory usage grow...grow...
    The memory usage never get back to normal, even i close the folder.
    So, when i lauch my rtsp client, router run out of memory and crash.

    The only way i find to restore memory is to disable/enable usb on RT-N16.
    (shut down computers don't make anything)
     
  41. danimaltron

    danimaltron Networkin' Nut Member

    Just curious how one should go about reverting back to the original ASUS firmware on a RT-N16?

    The reason I ask is that I am still attempting to get my printer to work. It worked on the original firmware. I hope I won't revert back, but I want to make sure I have the option available.

    Could someone explain the process? Can I just "upgrade" to the latest ASUS firmware downloaded from their website?
     
  42. cariyawa

    cariyawa Addicted to LI Member

    Just download the zip file. Extract to get the trx file and use tomato GUI to flash it. Done.:biggrin:
     
  43. danimaltron

    danimaltron Networkin' Nut Member

    OK thanks. I just wanted to make sure I won't brick my router doing that. I know with DD-WRT it doesn't always work that way for example
     
  44. Catalin

    Catalin Addicted to LI Member

    Did anybody else experience USB devices dissapearing from the router's GUI after a few days use?

    I have 2 printers connected, after a few days they do not show anymore in the menus, and I cannot print anything. Rebooting the router seems to solve the problem for a day or two...
     
  45. teddy_bear

    teddy_bear Network Guru Member

    Catalin,
    After the printers disappear, are there any interesting messages in the log?
    What's the output of "cat /proc/bus/usb/devices" with the printers showing up normally, and after they are gone? Does it help to unplug/replug or power-cycle the printer, or do you have to reboot the roouter to get them back?
    Is this a new issues with the recent betas, or was it always there? If new - could you please try and find out what build did it start from?

    arrmo,
    1) Would be helpful to specify the router model, and whether or not the button worked for you in previous builds.
    2) I'm not aware about any problems with static routes. One other person reported similar issue in the past - however I couldn't reproduce it, and have not heard any more complaints about it. Have you already tried the nvram erase and manual reconfiguration?

    bagu,
    Do you share your folder with 800+ files via Samba or FTP? By "seeing the content of a folder" - do you mean browsing it in the Windows Explorer with thumbnails turned on?
    Do you have "Count cache memory and buffers as free memory" checked or not? If not, the memory growth is probably normal - but it should be released to other applications when needed.
     
  46. KyleChen

    KyleChen Addicted to LI Member

    Catalin, Next time ps to see if the p9100d is there or not. that may point out where the problem is. For me and most here i guess, the printer stays there forever.


    I got the RT-N16 and flashed tomato, use it in my workplace because of its better performance, But seems it become a nightmare during last many weeks.

    Main thing is the QOS will never make the job done.(I am not saying its malfunction).Now I have like 50+ QOS rules and spent me days to monitor the internet traffic and tune it up. But the "robbery downloaders" still easily walk around it by encrypted protocol on some low-end ports with crazy 1000+ connections per IP.

    All my mates complaint to me about the super slow and lagging internet everyday. Also the "downloaders" accused me try to control the internet unfairly and immorally.

    I wrote script to shape the traffic but it went wrong few times and I dare not to use them again.

    I am so tired to keep explaining to them that we are using a powerful router with a genius firmware.

    This morning I put back the "made in china" black box. It is a cheap router but has a beautiful bandwidth/connections Per IP limiter. Everyone is happy with their internet today. Now my friends consider getting the RT-N16 is a big ripoff although we need to turn on another PC for printer and storage sharing.

    Well now i am really believe all the tomato workers only test the program at their own house with their own computers or family's? Have they ever put TOMATO in a real field like school or internet cafe sharing the internet with 20 smart-ass kids? Why it is like some cars looks fancy but when you put it on a racetrack it drives like a joke?

    Sorry if my writing offence i dont mean it. just very depressed.
     
  47. teddy_bear

    teddy_bear Network Guru Member

    Guys, you all need to be more clear - I can't read your mind or see your router...
    Did you mean that recently everything just all of a sudden went down while using the same build as before, or is it the problem with newer builds? If it's a new build - have you tried to downgrade to see if previous versions still work fine for you? Or was it always the same, and you just recently began to notice the problems as your configuration got more complex?
    What do you need 50+ rules for - what kind of network are you trying to manage?? I think you really need to simplify things - at least for the sake of clarity and easy management.
    Of course! What else did you expect ;)? This is the home router for home users in the first place. I never planned to, and will not focus on using it to "share the internet with 20 smart-ass kids" at the internet cafe - if that's what you need, you have to do your own work/research, and figure out whether or not this box with Tomato is appropriate for you. It probably can be used on large networks as well, and I know people who happily use it as such - but of course every network and every situation is different...

    Also, you have to remember that the kernel 2.6-based firmwares are fairly new, and still based on the rather old and far-from-being-perfect kernel 2.6.22. Unfortunately, with binary drivers from Broadcom it's not possible to upgrade the kernel now - all I can do is to backport some of the important kernel changes from the upstream. And what Broadcom ans Asus should be doing - instead of coming up with crappy semi-solutions like their new proprietary conntrack or "fast nat" - is to upgrade the kernel to the recent versions - there were lots and lots of performance related changes in the kernel that just can't be ported back to the older version.
     
  48. bagu

    bagu Network Guru Member

    I use samba

    Yes

    No, it was unchecked.
    But when free memory shown reach less than 5-6% router crash.

    Since i browse my drive without thumbnails, the free memory stay at 78mb and never reset...But the router don't crash anymore...
     
  49. Toastman

    Toastman Super Moderator Staff Member Member

    Kylechen

    I'm surprised that you are having so many problems. I use Tomato on WRT54GL's ASUS WL500GPv2 and RT-N16's in many large condos. Average number of users in the blocks is about 80, some now have 120 - and depending on time of day and week there are usually at least 20 people online hammering the bandwidth with all manner of stuff. We rarely get complaints about slowness. Also, I have no knowledge whatsoever what they are using or what their PC's are. I just have to cater for anything they MIGHT use.

    I personally think MAC limiting users is restricting speeds unnecessarily - I came to that belief simply because I've never found the QOS to fail so badly - though it's not perfect by any means. When nobody is using the internet I can use all 16Mbps, and that's how I like it.

    Good luck with your problem ...
     
  50. teddy_bear

    teddy_bear Network Guru Member

    Samba (and any other applications working with files) allocates as much memory for the buffers as it can - that's expected. The buffers are still "available" memory, and should be released by kernel to other applications when needed. But unless this memory is requested by other apps, if will stay allocated for the buffers. That's why you see that the memory usage never goes back. To force releasing it you can kill the app that allocated the buffers (that's what it does when you restart usb, for example).

    That's all normal, and should not cause any crashes in most cases. But if a kernel proceess tries to allocate a large continuos chunk of memory, and the free/available memory is already fragmented too much, that is when system can go out of memory and reboot. I don't know what RTSP does exactly, but I suspect that is what happens. The console output would have helped to find out exactly what's going on...

    Could you run the "cat /proc/sys/vm/min_free_kbytes" command and post what it says? I think it's already 8192 on RT-N16, but you can try to increase the value to 16384 and see if it helps (by adding "echo "16384" > /proc/sys/vm/min_free_kbytes" command to the Init script). The larger value means that more memory will be wasted (unused) most of the time, but at the same time more memory will be available for "emergency" requests.
     
  51. bagu

    bagu Network Guru Member

    Yes, it's 8192...

    I'll try "echo "16384" > /proc/sys/vm/min_free_kbytes" and see what's happen

    EDIT :
    124.22 MB / 20.63 MB (16.61%) -> no crash for the moment...
     
  52. tsanga

    tsanga Networkin' Nut Member

    teddy_bear,

    After having the linux partition size issues with DD-WRT, I tried flashing the beta 16 mini build onto my WNR3500v2. No go...got a brick. :frown:

    Out comes the serial cable to the rescue....
     
  53. teddy_bear

    teddy_bear Network Guru Member

    tsanga,
    I was told that the beta 16 can take up to 3 minutes (!) to boot up on Netgear routers. I'm not yet sure why... But it's worth trying to wait a few minutes before using serial cable.
     
  54. tsanga

    tsanga Networkin' Nut Member

    Not so lucky. From the looks of it (based on my observation of the blinking LEDs), the flash was successful, but something got stuck during programming, since the router never rebooted (my PC never indicated it lost its network connection).

    Now, when I power it on, there are no ping replies.

    I'm still willing to give beta 16 a shot, but I'll have to go DD-WRT -> beta 14 (smaller build) -> beta 16 standard, and avoid the mini.
     
  55. bagu

    bagu Network Guru Member

    After many tests, i try "echo "32768" > /proc/sys/vm/min_free_kbytes" witch make the router stable again.

    But i can confirm memory used by samba is never release.
    The only way to prevent crash for me is your solution.
     
  56. rhdcheme

    rhdcheme Addicted to LI Member

    On a wnr3500l which I am testing, I observe two things with beta 16, 9047 (USB-ext):

    1. My USB hard drives are listed in the webgui USB support page, but are not accessible in Explorer (Explorer only shows the printer folder).

    2. 40 MHz wide channel is not available for N-only regardless of channel selection (but is available when "Auto" is selected).

    3. Signal and speeds seem slower compared to 9045.

    All of the above problems were fixed upon reverting to 9045.
     
  57. KyleChen

    KyleChen Addicted to LI Member

    Hi Toastman, thanks for your reply. I know you are absolutely right.

    I think for a good internet like yours 16Mbps from cable or sth, tomato QOS will work like a charm. Especially if most of ppl are light internet users.

    but for a poorer internet like mine, (a business ADSL, 8Mbps down 1Mbps up), once if the upload get 50+KB/s the whole internet speed drops down terribly. That what we called ADSL......
    Sum up, you use QOS for "a better life" and I use QOS for "Survive".


    So the conflict is here:

    1,If I limit the whole upload into 50KB/s for a bigger picture, the p2p user will take like 49KB/s, other users still feel difficult to browse website.

    2,They use some Chinese P2p programs, all have like "anti-limiter" functions, change ports often, cloak the p2p connections as ftp and http packages, no way to build a stable rule to limit them.

    3,Many of them take 1000+ TCP/UDP connections per person. The whole router undertake tens of thousands of connections at one time. Of course the powerful RT-N16 will survive, but the ADSL modem die very quickly.

    So if you were me, what you will do?

    I hear more than once ppl saying the tomato QOS is a wonderful solution, better than any IP/MAC bandwidth limiter. I do put my faith on it, and I do tried. But when confronting many unfriendly users, QOS is just too week.
     
  58. cr00kedview

    cr00kedview Network Guru Member

    Not sure if this is a bug or not -

    Using an Asus RT-N16, I mapped a local share on my PC to cifs1. I configured the media server to store the database on cifs1, and to index all files (the share consists of pictures and movies). When I selected to rescan at next start, I saw the database file created on the cifs share, but all files that it was supposed to index were deleted (over 3000 files).

    I was able to recover the files, but it doesn't seem that indexing should be deleting the files.
     
  59. HanzF

    HanzF Addicted to LI Member

    what is your printer issue with Tomato?
     
  60. Credo

    Credo Addicted to LI Member

    What command displays this string
    "Tomato v1.27.9047 MIPSR2-beta16 K26 USB Ext"
    in putty?
     
  61. tsanga

    tsanga Networkin' Nut Member

    Well I managed to flash beta 16 std using a serial connection. You're right, it takes forever to come back due to numerous reboots - see attached log. EDIT: Usually, between each reboot, there would be a long pause right after the CFE comes up, but before the checksum is calculated (mismatch) and linux boots.

    I don't know if I jumped the gun or not and pulled the power too early when I tried beta 16 mini since I didn't originally have serial attached. But I did wait quite a few minutes....if I did pull the plug too early I probably interrupted something and bricked it (it was definitely bricked by the time I attached the serial cable). But I'm not about to try again...recovery was a bit painful.

    EDIT 2: OK, I was curious. With serial attached, I tried beta 16 mini again. FAIL - confirmed bricking.

    EDIT 3: Same bricking symptoms happened when I went from beta 14 to beta 11 using the GUI. It's possible that my router is not handling something properly since I also brick it every time I try to go back to stock FW (but with different symptoms).

    EDIT 4: Beta 16 gives a new error after a power cycle but after a loooong wait finally carries on after this message:
    Code:
    CFE for WNR3500v2 version: v1.0.29
    Build Date: Fri Jun 12 11:11:15 CST 2009 
    Init Arena
    Init Devs.
    Boot partition size = 262144(0x40000)
    Found a 4MB ST compatible serial flash
    et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.28
    CPU type 0x19740: 453MHz
    Tot mem: 32768 KBytes
    
    Device eth0:  hwaddr 00-26-F2-14-58-54, ipaddr 192.168.1.1, mask 255.255.255.0
            gateway not set, nameserver not set
    Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.2:vmlinuz Options:(null)
    Loading: Failed.
    Could not load 192.168.1.2:vmlinuz: Timeout occured
     

    Attached Files:

  62. gingernut

    gingernut LI Guru Member

    If you have serial attached and a tftp program as soon as you turn on the router break the boot process with ctrl+c and type tftpd. Set your computer a static ip 192.168.1.2, a subnet and no need to set gateway. The router will sit there waiting for you to send a valid firmware .chk file over tftp.

    This is the easiest and quickest way I have found to unbrick these routers.

    I also bricked mine flashing from Tomato back to stock firmware using the web gui. Tomato accepts the flash fine and reboots but the router goes into tftp mode, power led flashing, reflashing the same file once again over tftp brings it back.
     
  63. tsanga

    tsanga Networkin' Nut Member

    Yeah this is what happened to me, power LED flashing. But no amount of flashing the same file repeatedly will get the router to do anything with it once the tftp successfully completes.
    Code:
    CFE> tftpd
    Start TFTP server
    Reading :: Done. 3461178 bytes read
    Reading :: Done. 3461178 bytes read
    Reading :: Done. 3461178 bytes read
    .
    .
    .
    .
    repeats
    
     
  64. gingernut

    gingernut LI Guru Member

    What firmware are you trying to flash?
     
  65. tsanga

    tsanga Networkin' Nut Member

    WNR3500v2-V1.0.0.64_11.0.51NA.chk or WNR3500v2-V1.0.2.14_24.0.74NA.chk

    stock FW from Netgear support site

    EDIT:
    If I force the issue by issuing CFE flash command, I get:
    Code:
    Checksum mismatch:
    Image chksum: 0x8074EE40
    Calc  chksum: 0x01B700CF
    Invalid boot block on disk
     
  66. teddy_bear

    teddy_bear Network Guru Member

    rhdcheme,
    1. What Windows version do you use? When you had beta 16 installed, did you notice if your drives were shown as "mounted" or not? If they were mounted, have you tried to access your shares by typing \\<router_host_name>\<share_name> in the Explorer address bar?
    Are you using the "No Authentication" access for shares? If so, and if you're running beta11 now, please try adding lines
    security = user
    map to guest = Bad User

    to the Samba Custom Configuration box, save, and see if you get the same problem (the way "No Authentication" shares are set up was one of the changes in beta 16).
    2. Yes - I'm aware of that issue (actually, it only disables 40MHz if there are any other wireless APs in the range - applies a "good neighbor" restriction). But I figured what causes it, and will remove the restriction in the next update.
    3. Wireless signal should be the same - 9045 (beta 11) and beta 16 are using exactly the same wifi driver...

    cr00kedview,
    Wow... It definitely should not do that. I'm sure MiniDLNA doesn't delete any files explicitly, and I haven't seen anything like that in my tests (but I only tested it with USB drives, and a lot less files). Maybe this is some kind of CIFS issue? I suggest you report your experience on MiniDLNA forum - the author probably will know better what to ask you to do to debug the problem. Just be aware that I made a little change to MiniDLNA code to output the log messages to syslog instead of a dedicated log file, so don't try to find a log file ;)...

    Credo,
    cat /etc/motd

    tsanga,
    Weird... Especially because it's supposed to be exactly the same as 3500L except the missing USB and less amount of memory and flash... Although gingernut experienced the similar symptoms with long boot time on WNR2000v2, your issue seems to be different... Are you saying that tftp no longer accepts any firmware flash - at all?
     
  67. tsanga

    tsanga Networkin' Nut Member

    The only tomato version that runs is beta 14 std. Otherwise, I can flash DD-WRT using serial connection and once I'm there, I can move between versions of DD-WRT.

    Like I said, my router is a bit funky as I cannot get it to take any of the factory firmware, whether from the tomato or DD-WRT GUI, or from CFE command line.
     
  68. rhdcheme

    rhdcheme Addicted to LI Member

     
  69. teddy_bear

    teddy_bear Network Guru Member

    Ok, thanks. And while you're at it with beta 16 running, please also include the output of "cat /etc/smb.conf" command, and check if smbd and nmbd processes are running. Also - does the workgroup name in the Samba settings on the router match the workgroup name of client computers on your network?
     
  70. kanstin

    kanstin Addicted to LI Member

    Would it be possible to make a no-USB with VPN that would work on a WHR-HP-G54? Or is the 2.6 kernel too big?
     
  71. akyboy

    akyboy Network Guru Member

    Hi
    Cpl Q from me.

    1. My USB is named UNKNOWN in My Network - can i rename it?
    2. I can access most of the files on USB all over network, but when i try to open my QuickBooks company (*.QBW - 8mb) - QuickBooks would freeze and then crash.
    That same file i can share with no problem regularly over network.

    Thank you
     
  72. KyleChen

    KyleChen Addicted to LI Member

    Akyboy,

    1,the usb partition label will be the name of network sharing if you use auto-mount. and your router's network name can be changed by put "net bios name = XXXXX" into Samba Custom Configuration.
    2,You'd better take a look at the tomato system log during quickbooks crash. see if anything about samba and usb driver.
     
  73. xorglub

    xorglub Addicted to LI Member

    The name that samba advertises is the router's hostname - change it in Basic-Identification
     
  74. illtww

    illtww Network Guru Member

    Anyone Running this on their RT-n12? I moved to this router over a WRT54GL v3.1

    My questions are:

    1. Will I notice faster Lan to Lan copy speeds with the rt-12N vs the WRT54GL? (I have a buffalo gigabit NAS)

    2. How about wireless performance? (HD stream xvid to my xbox on the other room)

    3. My router seemed to lockup over last night. (Would not respond to wired or wireless clients..)
     
  75. tsanga

    tsanga Networkin' Nut Member

    I take it back. Beta 16 works....I just have to wait extra long and the FW actually loads (a long time) after this
    Code:
    Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.2:vmlinuz Options:(null)
    Loading: Failed.
    Could not load 192.168.1.2:vmlinuz: Timeout occured
     
  76. Catalin

    Catalin Addicted to LI Member

    Sorry for the big delay untill I can finally answer.
    First of all it was a little bit difficult to investigate, as I am away from home and I can only remote access the router. The problem with the printers was that after someone has reversed the USB printers cables in the USB Hub that is connected to the router, the 2 printers were asociated to different lp ports. Before the Brother printer was seen as lp0, and the HP one as lp1. After switching the cables, the problem appeared. Now the cables are back in the original ports and the problem is gone.

    However, with Beta16 my router loses the WAN PPPoE connection when under heavy traffic ( BT downloads at 6-7MB/s). This thing does not happen when using Beta 11 version. I would like to give you more details but I do not know what exactly, as in the log nothing appears to be abnormal.

    For the moment I'm back to Beta 11.

    Thanks.
     
  77. akyboy

    akyboy Network Guru Member


    Renaming worked with no problems
    Just after rename, i did copy QB file again to USB, tried to open it again and same thing, freeze and crash. As i can see no errors are showing in log regarding that problem.

    Log:
    Jun 17 11:32:01 unknown daemon.err nmbd[10520]: Samba name server TOMATO N16 is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.1

    Thank you
     
  78. teddy_bear

    teddy_bear Network Guru Member

    akyboy,
    1. Unless you have a reason to have your shares named differently than the router hostname, just set the hostname as xorglub suggested above - no need to use Custom Configuration for that (although it works too).
    2. Googling shows that there are various incompatibility issues between Samba and QuickBooks:
    http://edoceo.com/liber/network-samba-quickbooks
    http://www.howtoforge.com/samba_quickbooks_incompatibility
    etc
    Workarounds described can be applied by specifying the share configuration at the end of the Custom Configuration box. Everything in the Custom Configuration box will be added to smb.conf at the end of the [global] section, and before all shares (automatic and specified in the GUI).
     
  79. akyboy

    akyboy Network Guru Member

    I guess i misunderstood xorglub , i got it now, good! That one is solved!

    As for the QB, i read cpl solutions, but i am not so advanced in this i am worried that ill messed up something so i guess ill pass that and host that file on one of the computers.

    Unless somebody dont mind login remotely and try to set it up ;) This would be appreciated a lot.
     
  80. gingernut

    gingernut LI Guru Member

    I get exactly the same symptoms with this version with a very long boot to useable firmware on my WNR2000V2.

    It seems to be something Netgear specific. I've sent what I can to TB regarding this problem, beta 16 serial output logs etc. It is indeed strange but I'm sure he'll find a solution ;).
     
  81. tsanga

    tsanga Networkin' Nut Member

    Just confirmed that beta 16 fixed the issue with Apple Bonjour/mDNSResponder broadcasts (probably tied to upnp getting fixed even though I don't think Bonjour goes outside of the subnet).

    So other than it pausing a long time during boot on the WNR3500, beta 16 std is good so far.
     
  82. rhdcheme

    rhdcheme Addicted to LI Member

    Teddy- I reflashed 9047 and reconfigured the USB. Samba seems to work fine and I can now access the shares. Sorry about the earlier report that it did not work.
     
  83. jnappert

    jnappert LI Guru Member

    I compiled some optware packages for my RT16N using ddwrt-target. Since the toolchain uses 2.4 kernel i wonder, if i should try another toolchain to fit better in 2.6. environement? (at the moment some checks e.g. for -fhuge_objects give errors).

    I didnt want to create another thread since this is 2.6. kernel relatet..
     
  84. mstombs

    mstombs Network Guru Member

    Why not use the toolchain from the Git, its newer than dd-wrt Tornado's one!

    It does appear you can often use same binary executable between 2.4 and 2.6 - the only issue compatability with the libraries, see Rodney's great utilities effort http://www.linksysinfo.org/forums/showthread.php?t=64245, where he also provides static linked images that should be library independent.
     
  85. achoi

    achoi Networkin' Nut Member

    internet connection - pppoe

    dear all,

    I am living in this part of the world where unlimited internet connection is still not affordable. I am using pppoe, and the best option for me is having a connect mode that allows users to issue a command to connect and disconnect internet when needed. The current 'connect on demand' mode does not work for me because many computer softwares now makes connection automatically to internet and thus internet is up much more often than I can afford. I am now using the 'keep alive' mode with a check interval of 86400 seconds (the max). This works for me until I realize that I have to be away from home for a few days. I don't want to power off the router because other people are using the router, but they are not using it very often.

    I think the solution appears to be a change in the firmware allowing me to put a value of zero in the check interval box. Can this be done in the next firmware update? Or actually there is other means that my concern can be addressed in the current firmware.

    I am using beta 11 in an ASUS-N16. Thanks.

    Alex
     
  86. charles850e

    charles850e LI Guru Member

    Dear all

    is it possible running on WRT610n V2?

    thanks all.

    Charles850e
     
  87. JonnyM

    JonnyM Networkin' Nut Member


    Old post of yours teddy_bear but I came across it now after having helped tsanga to fix his router.

    There is a special Netgear image checksum which is calculated before the cfe loads the image and the cfe compares the calculated checksum with the image checksum which is pre-stored at offset 0x34fff8 and 0x34fffc in the image. (edit: this equals 38fff8/38fffc from flash start)
    This position is hardcoded in the cfe :eek:
     
  88. hk5354

    hk5354 Addicted to LI Member

    Please support for the Wrt610N , Thank you
     
  89. tsanga

    tsanga Networkin' Nut Member

    Someone explain what this means in a practical sense to a noobie....?
     
  90. JonnyM

    JonnyM Networkin' Nut Member

    It means that Netgear has limited the size of the firmware image and made sure that 3rd party firmware can not take advantage of using the T-Meter1, T-Meter2, and POT partitions to load a bigger image.

    That is 320KByte wasted, one can possibly use them for a jffs2 file system but the space can't be used by a dd-wrt or Tomato firmware image.
     
  91. tsanga

    tsanga Networkin' Nut Member

    And I suppose you can't modify the CFE to do its thing at a different offset, otherwise you guys would have already figured out how to do this.....

    Also it appears to me that DD-WRT and Tomato are able to ignore or work around this checksum mismatch, because my logs all report the mismatch whenever either of these firmwares load.
     
  92. Catalin

    Catalin Addicted to LI Member

    Does anyone else experience WAN drop outs on PPPoE Dynamic IP with the latest beta16?
     
  93. x-demon

    x-demon Addicted to LI Member

    Yes, me. Also random software reboots.
     
  94. teddy_bear

    teddy_bear Network Guru Member

    Was beta 11 working better for you - without the same issues?
     
  95. myersw

    myersw Network Guru Member

    Beta 16 build 9047 runs fine for me. PPOE DHCP on Asus RT-N16. Up for 8 days and one hour as of now. That is when I loaded this version. One difference, if it matters, is I am not using the vpn build but just the ext version.
    --bill
     
  96. teddy_bear

    teddy_bear Network Guru Member

    You mentioned before that it happens under heavy BT traffic. Are you running BT client on the router, or on the computer? Can you post the log when the disconnect happens? Does it reconnect back by itself?
    Also - in case you run BT on the router with the USB drive involved - try various usb_irq_thresh values as described in this post (in beta 11 the default was 4, now it's 0).
     
  97. Catalin

    Catalin Addicted to LI Member

    Yes, it was happening while using torrent clients on the LAN computers. I do not use any torrent client on the router, nor any USB HDD, just 2 printers. I disconnected the 2 printers, removed the 2nd printer driver from the scripts menu, and it still drops the WAN connection at random, even without heavy traffic. It reconnects itself after a few seconds, exactly as it did before, I can't remember with which beta version, after you applied a PPPoE fix... I will try to put back beta16 and save the log, but it's nothing unusual there. It just says Receiving PADI termination request or something similar, and it disconnects.

    With Beta 11 that I am using now I do not have any similar problem. The WAN Uptime reaches a few weeks without problems, but with Beta 16 I hardly can get more than a few hours.

    Thanks.
     
  98. teddy_bear

    teddy_bear Network Guru Member

    Ok, thanks. There were some PPPoE-related changes in the kernel since beta 11 - probably one of them is the culprit. Please PM me if you're willing to test several builds to pinpoint the specific change that caused the issue.
     
  99. ladysman

    ladysman LI Guru Member

    I have no idea if this has been discussed and I’m sure I missed it as I haven’t followed this thread like I use too.

    To make a long story short, I’m on Beta 11 still and while looking at prices for the RT-N16 (to order another one as my parents router was hit by lighting), I found on a review that putting the wireless Transmitter power to 17 makes wireless and the router much more stable. I did this and now, none of the iphones will get disconnected. I’ve been using this for a little less than a week and I have had the best wireless since I’ve been using the RT-N16. The distance seems the same or possibly farther and better yet, no Iphone disconnects/dropouts.

    I apologize if this has been discussed, I just wanted to pass it along.

    Or am I crazy? :wink:
     
  100. myersw

    myersw Network Guru Member

    ladysman, yes this has been noted before. I have had the same experience with a RT-N16. Default setting, don't remember what it is but is higher then 17, seems to drive the N16 wireless into a distorted power. Dropping the power to 20, in my case, much improved my coverage and thruput.
    --bill
     

Share This Page