Slow Wireless Network Speed


i have just recntly bought a g4 powerbook, i've managed to network it to my pc running XP through a wireless router. Problem is it takes ages to copy file from 1 computer to the other. i've went in to "terminal" and changed the following settings after reading an article on a website.

sudo sysctl -w net.inet.tcp.delayed_ack=0
sudo sysctl -w net.inet.tcp.mssdflt=1460
sudo sysctl -w net.inet.tcp.sendspace=65535
sudo sysctl -w net.inet.tcp.recvspace=65535
sudo sysctl -w net.inet.tcp.newreno=1

this fixes the proble only thing is, when i reboot all these setting are lost so i have to input them all again. Can someone tell me how i can save these changes? I'm new to macs and will litery need spoon feeding through the process lol.
I'm new to UNIX, but I think you have to place these command into a script. I don't know how to make the script run automatically when you login. Maybe a UNIX GURU can help.