Just a small update. The ping script helps maintain connection, but since the new wireless stack was put in, its effect is rather minimal as any files bigger than few kb will stall during download.