nmap -O <ip> or nmap -P0 <ip>
that is almost everything you need
http://www.insecure.org/nmap/