Check the network environment