use ip command instead read /proc for checking interface status