The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    WRT54GL and Tomato firmware

    Discussion in 'Networking and Wireless' started by arc_lite, Feb 26, 2012.

  1. arc_lite

    arc_lite Newbie

    Reputations:
    0
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    5
    I recently switched the firmware on my WRT54GL from DD-WRT to Tomato.
    I noticed that when I am running torrents, the router tends to lock up. I used to have this problem with DD-WRT but it could be remedied by changing the maximum number of connections and changing the timeouts.

    The problem is that the same settings in Tomato are more complicated. In DD-WRT I just needed to make changes to 3 values. In Tomato, I have 12 values to change.

    So I was wondering if anyone can provide stable values that will prevent my router from dying from torrents?

    I have max connections at 4096, just don't know what to set the other values to. When I drop idle connections, everything is much better.
     
  2. downloads

    downloads No, Dee Dee, no! Super Moderator

    Reputations:
    7,729
    Messages:
    8,722
    Likes Received:
    2,230
    Trophy Points:
    331
    What are the other values?
     
  3. arc_lite

    arc_lite Newbie

    Reputations:
    0
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    5
    These are my settings:

    TCP Timeout: (seconds)
    None: 512
    Established: 14400
    SYN Sent: 120
    SYN Received: 60
    FIN Wait: 120
    Time Wait: 120
    Close: 10
    Close Wait: 60
    Last ACK: 30
    Listen: 120

    UDP Timeout: (seconds)
    Unreplied: 300
    Assured: 180
     
  4. weinter

    weinter /dev/null

    Reputations:
    596
    Messages:
    2,798
    Likes Received:
    1
    Trophy Points:
    56
    You can decrease UDP timeouts. It is fine since UDP is stateless meaning that jobs done if it reaches the other end so you can dispose of it.
    I think maxconn at 4096 is a little low.
    If the max connection setting cannot be modified via GUI you can do it by modifying systctl values.
    Login via SSH
    then
    sysctl -a | grep maxcon
    find the sysctl variable then
    Change it with sysctl -w.