Added IP check and auto IP find for Linux.