Hrmm, I haven't tried the ifconfig part of yoru script yet.

But for some odd reason when i run my script via Microsoft Telnet it runs extremely slow, to the point where it'll eventually just stop.

However if i run the script through Hyperterminal with the Serial Port connected it runs extremely fast.