network check and warning