Why dont you check out the pages for tools that do fingerprinting? there is a good bit at http://www.insecure.org/nmap/nmap-fingerprinting-article.html , you may want to check out the tutorials by...