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

Bittorrent problems

Discussion in 'Cisco/Linksys Wireless Routers' started by kop48, May 22, 2005.

  1. kop48

    kop48 Network Guru Member

    I have a WRT54G with the latest beta HyperWRT installed. Whenever I run bittorrents, I find that the router crashes and will not respond properly. HTTP traffic just stops, and to reboot the router I have to power-cycle it. Anybody else have this problem and how did you fix it?

    Cheers
     
  2. gotamd

    gotamd Network Guru Member

    Copy and paste the following lines of code into the "startup script" of HyperWRT and reboot the router:

    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
     
  3. kop48

    kop48 Network Guru Member

    What does it do and why does it fix it? :|
     
  4. gotamd

    gotamd Network Guru Member

    From what I understand, this makes your router not keep track of the connections as long which is why it has problems with BitTorrent (because P2P in general opens up a lot of connections).
     
  5. kop48

    kop48 Network Guru Member

    Ok, I thought it was somethign to do with the connections. Wasn't sure.
     
  6. gotamd

    gotamd Network Guru Member

    Did it work for you?
     
  7. kop48

    kop48 Network Guru Member

    I haven't found any bittorrents I want to download yet ;)
    I'm also almost at the end of my quota.
     

Share This Page