Rapustin Posted January 14, 2006 Report Share Posted January 14, 2006 This may be kind of out of the speed loop but I'm just curious if anybody has had any luck optimizing their connection over a wireless router using a custom startup script in the router's administration settings page? I was looking at the new tofu 12 firmware that came out a few days ago and I noticed that they also have a "standard" script that goes like this that supposedly works wells for BT transfers in general. echo 4096 > /proc/sys/net/ipv4/ip_conntrack_maxecho 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcastsecho 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responsesecho 512 > /proc/sys/net/ipv4/neigh/default/gc_thresh1echo 2048 > /proc/sys/net/ipv4/neigh/default/gc_thresh2echo 4096 > /proc/sys/net/ipv4/neigh/default/gc_thresh3echo "600 1800 120 60 120 120 10 60 30 120" > /proc/sys/net/ipv4/ip_conntrack_tcp_timeouts Now, has anybody else here made their BT connection even better by customizing their own script according to their connection just like we do with the "speed wizard" that we now have on 1.4? Just wondering what people here have done on the hardware end considering that we already discuss how to tweak our routers to the max with port forwarding and custom firmware and such. I have a 6000/384k up connection and I'm wondering what I can do for the router's startup script to make connections even better. Link to comment Share on other sites More sharing options...
Firon Posted January 14, 2006 Report Share Posted January 14, 2006 don't set any of the gc_thresh, those are NOT good tweaks Link to comment Share on other sites More sharing options...
Rapustin Posted January 15, 2006 Author Report Share Posted January 15, 2006 Thanks! I will be sure to never use them. I wonder if there any other people who have use startup scripts with successful results. Link to comment Share on other sites More sharing options...
ltsmash454 Posted January 16, 2006 Report Share Posted January 16, 2006 I have had speed increases using a custom startup script with my linksys wrt54g router running a wired line. My speed per torrent went from 3-10kb/s now averaging around 10kb/s reaching 30kb/s. I am on a 3500/512 cable connection. I also had frequent disconnecting problems, it seemed to solve the problem. I also re-enabled the windows softpub.dll file, helped immensly. Link to comment Share on other sites More sharing options...
Cydud3 Posted January 16, 2006 Report Share Posted January 16, 2006 Itsmash, could you post your custom startup script if possible. Currently, I have speeds of also 3-10kb/s per torrent as well and I'm hoping to increase that. I have Linksys WRT54GS with hyperwrt firmware and it currently has the startup script as suggested in the FAQ. Also, could you clarify what softpub.dll is for. Thanks. Link to comment Share on other sites More sharing options...
Firon Posted January 17, 2006 Report Share Posted January 17, 2006 ltsmash454: I do believe that shaw throttles BT, unfortunately... :/ Link to comment Share on other sites More sharing options...
Rapustin Posted January 17, 2006 Author Report Share Posted January 17, 2006 Itsmash, could you post your custom startup script if possible. Currently, I have speeds of also 3-10kb/s per torrent as well and I'm hoping to increase that. I have Linksys WRT54GS with hyperwrt firmware and it currently has the startup script as suggested in the FAQ. Also, could you clarify what softpub.dll is for. Thanks. I second this. Link to comment Share on other sites More sharing options...
ltsmash454 Posted January 18, 2006 Report Share Posted January 18, 2006 Yes, i have shaw, and you are right: they do throttle the downloads. My dad's place has telus adsl getting 160kb/s download speed.My startup script is:echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcastsecho 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responsesecho "600 1800 120 60 120 120 10 60 30 120" > /proc/sys/net/ipv4/ip_conntrack_tcp_timeoutsworking on tweaking the settings, apparently, so ive read the 1800 is the amount of seconds that the router dumps its buffer. It is set to 30 minutes. Also, apparently increasing the number of connections the router can handle will increase the speed.As for the softpub.dll file, it contains functions that support encyrption. Go into the command prompt and type these in in the c:\regsvr32 softpub.dllregsvr32 wintrust.dllregsvr32 initpki.dllregsvr32 dssenh.dllregsvr32 rsaenh.dllregsvr32 gpkcsp.dllregsvr32 sccbase.dllregsvr32 slbcsp.dllregsvr32 mssip32.dllregsvr32 cryptdlg.dllThat is for windows XP, 2000 doesnt have the sccbase.dll file, my computer hung for a minute doing the initpki.dll file. These are basic windows web files, networking etc. Occasionally they will become disabled, this will re-enable these files. Link to comment Share on other sites More sharing options...
Cydud3 Posted January 18, 2006 Report Share Posted January 18, 2006 I guess I'm screwed because I'm using exactly the same startup script right now but i'm still stuck with 3-10 kB/s speeds. Link to comment Share on other sites More sharing options...
ltsmash454 Posted January 19, 2006 Report Share Posted January 19, 2006 You can try however, it worked for me, to increase the amount of connected peers, i went from 60 up to 125, global 250, increased my speeds as well. They are now downloading around 20-30kb/s each, ive seen my total up to around 80-90kb/s. I am only running 2 downloads at once. i also increased my upload slots to 6, with the checked on less that 90%,as i wasnt reaching anywhere near my peak upload speed, i was getting maybe 5-9kb/s upload instead of 47 which is what mine is capped at. Link to comment Share on other sites More sharing options...
Cydud3 Posted January 19, 2006 Report Share Posted January 19, 2006 Thanks for your suggestion Itsmash but unfortunately I'm already using similar settings.On a slightly different topic, has anyone noticed performance differences between the various firmwares around? I'm currently using Hyperwrt 2.1b1 from the official website (not tofu or thibor) with the above startup script but I'm thinking of changing to dd-wrt quite soon. I tried dd-wrt once but it almost bricked my router so hopefully this time I'll do it right. Provided that the startup script is always used, does the base firmware matter? Link to comment Share on other sites More sharing options...
Firon Posted January 19, 2006 Report Share Posted January 19, 2006 Don't use such an old version of HyperWRT. I linked to it specifically for a reason, the one on the front page is years old. Link to comment Share on other sites More sharing options...
Cydud3 Posted January 20, 2006 Report Share Posted January 20, 2006 Well, I did it. I switched to dd-wrt today. So far, I haven't seen any performance differences though. There were a few minor glitches but I think it's working fine at the moment. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.