remove tmp file
remove unuse code
remove tmp files
fix bug, can't get ip for linux
fix bug, auth will fail sometime.
Merge branch 'macosx'
fix bug, auth will fail sometime.