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

How to tell what is making my WRT54g reboot

Discussion in 'DD-WRT Firmware' started by wootwoot, Feb 24, 2006.

  1. wootwoot

    wootwoot Network Guru Member

    I fixed a lot of my random rebooting problems the other week by turning off QOS. it seems as though I was pushing too much bandwidth for the router to keep up with. Is there a way to diagnose why your router reboots itself at times? I want to tweak it so that I have no reboots period.
     
  2. sliderwkw

    sliderwkw Network Guru Member

    go to management and under IP Filter Change to the following

    Port Limit : 512 to 4096
    Time out settings change to 90

    also apply the bittorent startup script from here :

    A.Download Tofu or DD-WRT firmware from above(right on Top) and use one of the follwing script below..

    1. Go to Administration, Edit Startup Script.
    2. Cut the script in green below and paste it into command box.
    http://www.geocities.com/samuelgoh21/command.jpg

    There are 3 code(script) below and can only choose one of them..
    Not very sure which work best but all of them works..

    A)

    Code:

    echo 4096 > /proc/sys/net/ipv4/ip_conntrack_max
    echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
    echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
    echo 512 > /proc/sys/net/ipv4/neigh/default/gc_thresh1
    echo 2048 > /proc/sys/net/ipv4/neigh/default/gc_thresh2
    echo 4096 > /proc/sys/net/ipv4/neigh/default/gc_thresh3
    echo "600 1800 120 60 120 120 10 60 30 120" > /proc/sys/net/ipv4/ip_conntrack_tcp_timeouts

    B)

    Code:

    echo 2048 > /proc/sys/net/ipv4/ip_conntrack_max
    echo 2048 > /proc/sys/net/ipv4/tcp_max_orphans
    echo 512 > /proc/sys/kernel/threads-max
    echo 0 > /proc/sys/net/ipv4/tcp_orphan_retries
    echo 1 > /proc/sys/net/ipv4/tcp_abort_on_overflow
    echo "60 180" > /proc/sys/net/ipv4/ip_conntrack_udp_timeouts
    echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
    echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
    echo "300 1800 120 60 120 120 10 60 30 120" > /proc/sys/net/ipv4/ip_conntrack_tcp_timeouts

    C)

    Code:

    echo 2048 > /proc/sys/net/ipv4/ip_conntrack_max
    echo 2048 > /proc/sys/net/ipv4/tcp_max_orphans
    echo 512 > /proc/sys/kernel/threads-max
    echo 4096 > /proc/sys/fs/file-max
    echo 0 > /proc/sys/net/ipv4/tcp_orphan_retries
    echo 1 > /proc/sys/net/ipv4/tcp_abort_on_overflow
    echo "60 180" > /proc/sys/net/ipv4/ip_conntrack_udp_timeouts
    echo "300 2400 120 60 120 120 10 60 30 120" > /proc/sys/net/ipv4/ip_conntrack_tcp_timeouts
    echo "50 500 0 0 200 1000 60 20 0" > /proc/sys/vm/bdflush
    echo "0 0" > /proc/sys/vm/pagetable_cache

    3. Click only the Save Startup.

    4. Reboot or restart your router.

    -----------
     

Share This Page