So, it wasn’t that PC Financial’s online banking server was retardedly slow. It also wasn’t that my laptop was improperly configured. It was that PC Financial’s servers don’t properly handle TCP Window Scaling (at least the way that Linux follows the 1992 spec). So, after going through some Ubuntu posts from many others having the same difficulties, I put together my own solution for Mandriva that doesn’t break my laptop for all the rest of the (properly configured) Internet, plus it happily travels between networks and between interfaces. Anyhow, here’s my Bash code:
#!/bin/sh DEF_ROUTE=$(expr match "$(ip route show to 0.0.0.0/0)" 'default via \([0-9.]*\)') if [ -n "$DEF_ROUTE" ] then if [ -n "$(ip route show to 126.96.36.199)" ] then ip route del 188.8.131.52 fi ip route add 184.108.40.206 via "$DEF_ROUTE" window 65535 fi
I placed the above code in both
/etc/sysconfig/network-scripts/ifdown.d/pcfinancial, and things now work auto-magically.