check internet for all share function