[quote user="Hsiung Chia-Wei"]Then it shut down on the putty. I can not type any command on the putty.[/quote]
This means that there is some problem in sending the data.
Is the putty responding after sometime? or its hang forever (when it does not respond just wait for sometime without hitting any more keys and see if you it starts working).
Debug to see whats the return value of the send function also if you are getting the callback with any errors?
[quote user="Hsiung Chia-Wei"]I set my PC's default gateway also as 192.168.1.1.[/quote]
Hope you have set the default gateway of receiving computer and not the computer which you are using to communicate with cc3000 over putty.