Maximise your bandwidth performance
Today i am going to show you what settings i tweak on my system for bandwidth performance.
If you want to check your current bandwidth speed, i recommend going to
This is my results.
Click Singapore as the test location, don’t worry no need to register to anything, and watch the test.
This test will be useful for you to benchmark your improvements in after following the tips provided.
Check my future post for tricks or hacks that i use.
Ok, let’s get started.
If you are like me and using a linksys router, this is a tip that you might want to use.
I have upgraded my firmware to HyperWRT Firmware Version: v4.71.1, Hyperwrt 2.1b1 + Thibor15c
HyperWRT has these added features :
- Adjustable Transmit Power
- Antenna Select
- 13 Wireless Channels
- ’Boot Wait’ flash protection
- Increased Port Forwarding & Triggering Fields
- Increased Qos Device & Application Fields
- Increased Access Restrictions Policies & Blocked Services Fields
- Command Shell
- Telnet Daemon
- Startup & Firewall Scripts
- Uptime
- Reboot Button
- Hidden features in the Linksys firmware
confused?
I will explain step by step how i did mine.
You will need check what version you are using and which firmware to download.
How to know your WRT54G/GS Router Version by Serial number.
Known serial numbers (first few characters) vs versions:
CDF0 = WRT54G v1.0
CDF1 = WRT54G v1.0
CDF2 = WRT54G v1.1
CDF3 = WRT54G v1.1
CDF5 = WRT54G v2.0
CDF7 = WRT54G v2.2
CDF8 = WRT54G v3.0
CDF9 = WRT54G v3.1
CDFA = WRT54G v4.0
CDFB = WRT54G v5.0(VxWork)
CDFE = WRT54G v7.0(VxWork)
CL7A = WRT54GL
CGN0 = WRT54GS v1.0
CGN1 = WRT54GS v1.0
CGN2 = WRT54GS v1.1
CGN3 = WRT54GS v2.0
CGN4 = WRT54GS v2.1
CGN5 = WRT54GS v3.0
CGN6 = WRT54GS v4.0
CGN7 = WRT54GS v5.0(VxWork)
CL7A = WRT54GL
First i download this file firmware file
Thibor 15c WRT54G/GS/GL GSV4
Download Here (please note that this is not the official firmware, it is based on the official firmware with added features)
Once you saved the bin file,
Launch you browser, go to http://192.168.1.1
Login using blank userid and password: admin.
This will bring you to your router configuration page.
![]() |
Once you are logged in, go to the "Administration" tab.
![]() |
After you get there, click "Firmware Upgrade".
![]() |
Lastly, click "Browse" find the firmware file you just downloaded above and click Upgrade.
Do not shut off your computer or your router. If the connection is lost, the firmware will fail.
![]() |
If the upgrade was a success, it will say "Upgrades are complete".
Done! you have now upgraded you firmware!
How can you tell it is done? Look at your admin page, it should show,
![]() |
All done.
For those using p2p softwares, i know you are,
One more lil tweak you want to add.
Go to Administration, Edit Startup Script.
Cut the script in pink below and paste it into command box.
|
There are 3 script below and can only choose one of them, don’t ask me which one is the best for your configuration ![]()
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
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
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
Click only the Save Startup.
Reboot or restart your router. Using the reboot button in the web interface.
What the hell was that i just did ?
The default firmware for Linksys and most router track old connections for FIVE days then started to clear dead connection, which causes the router to hang when using P2P apps, or any software that generates a lot of connections which the router can’t take. DHT only aggravates the situation because of the number of connections it generates.
Linksys has yet to address this issue due to some reason, but there is a fix. If you use alternative WRT54G firmware, you can put in a start-up script to fix this problem.
Wokie! You have now upgraded your router firmware. Check out my future post where i will share with you more tweaks and tip.
Technorati Tags: Google, Tech tips, Bandwidth, Performance, Tweak, P2p, Router, Downloads



























[…] car.tech.tips.rants.glamboys.ricer.dumb.blogging // Submit your photos to adminsingaporeboyracer.comhttp://www.singaporeboyracer.com/2007/maximise-your-bandwidth-performance/NLANR/DAST : Iperf - The TCP/UDP Bandwidth Measurement ToolIperf was developed as a modern […]