Soup-up your Linksys WRT54G – part 2

As you probably have read post Soup-up your Linksys WRT54G by JacobsCrack. The firmware is so cool. I’ve been using it for 6 months now and dont have any problem, UNTIL RECENTLY…

Problem
Let say your router is Linksys WRT54G and using dd-wrt firmware… OK what happen to me is that, I have to keep on resetting my router. Turn it on and off. You name it, I tried it all. What happen exactly? Well, my router keep on hang after few hours.

Cause
Apparently Linksys have this thing about keeping track of old connections for 5 days, which causes the router to hang when using P2P apps, or any software that generates a lot of connections. Sometimes bad phone line also cause this problem.

Good News
Linksys know about this issue and good thing about using dd-wrt firware is that we can tweak it and address this problem. phew… (I almost thinking to get Airport Extreme just like JacobsCrack… lol)

 

Solution*

  1. Connect to your Linksys router via cable – dont use wireless.
  2. Go to your Linksys Web Console.
  3. Go to Admin > Services and choose to enable SSHD. Save settings.
  4. Get putty, and start it.
  5. Connect to your router, provide your router ip at the hostname. Leave the port at 22, and make sure the protocol is SSH. Hit open.
  6. Login as root. Password is your password to your router.
  7. IMPORTANT
    At the ~ # prompt, enter the following (copy and paste one line at a time by copying a line below, then pasting it into putty by right clicking on putty’s screen, and hitting enter after each line):
    1. nvram set rc_startup=”
    2. echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
    3. echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
    4. echo ’600 1800 120 60 120 120 10 60 30 120′ > /proc/sys/net/ipv4/ip_conntrack_tcp_timeouts
    5. Then you’ll be back to the ~ # prompt. Type in
      1. nvram commit
      2. reboot
  8. Then the system will tell you The system is going down NOW !! Sending SIGTERM to all processes.That’s fine. Once it reboots, you can close putty and go to your web management console.

Tweak

  1. Go to your Management tab, and scroll down to IP Filter Settings. Change the Maximum Ports value to 4096 and the TCP and UDP to 300 each. Save settings.
  2. Go to the Setup tab, and under optional settings, the MTU size is set to auto. Change it to manual and enter 1392.
  3. Go to the Wireless tab, and then select the subheader Advanced Settings. Change the Xmit Power to 80.

Thats it!

* I will not take any responsibility if you accidentally destroy your router trying to update it.

Last 5 posts by Valiant

1 Comment(s)

  1. Thanks rim3y! GREAT HELP INDEED!!! =DDD

      Adi | Sep 20, 2008 | Reply

Post a Comment