Perhaps it is time for you to post the code you are using. The fact that you said the ethernet card will work as expected under a certain condition should eliminate a hardware issue with the ethernet card itself. The hardware part you control (wiring, type of connection, etc), what you are connecting the card to, and your code would be the suspect areas for issues.