Wrong temp sensor value when using Ethernet shield

Could you provide some more information, like what pins you're using.

If you're using A0 like in the tutorial: That pin is used by the ethernet shield.

Try changing the pin to A2-A5