printf "%x.%x.%x.%x\n", unpack("C4",pack("N",hex $hexstr));